Exam question wrong answer choices

297 views
Skip to first unread message

Stachys Thangapapa

unread,
May 4, 2025, 11:36:17 AM5/4/25
to Discussion forum for Programming In Java
In afternoon session of this exam conducted today, the question 4 in section 2 did not have the correct answer in the options.

The questions asked was:

What will be the output of the following Java program?

interface Calculator {
void calculate(int value);
}
class Square implements Calculator {
int result;
public void calculate(int value) {
result = value + value;
System.out.print("Square: " + result + " ");
}
}
class Cube extends Square {
public void calculate(int value) {
result = value + value + value;
super.calculate(value);
System.out.print("Cube: " + result + " ");
}
}
public class Main {
public static void main(String[] args) {
Calculator obj = new Cube();
obj.calculate(3);
}
}


The output is "Square: 6 Cube: 6"

But this answer was not there. Will marks be given for this question?

Chethan A

unread,
May 4, 2025, 11:47:16 AM5/4/25
to Stachys Thangapapa, Discussion forum for Programming In Java

It was there


--
You received this message because you are subscribed to the Google Groups "Discussion forum for Programming In Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to noc25-cs57-disc...@nptel.iitm.ac.in.
To view this discussion visit https://groups.google.com/a/nptel.iitm.ac.in/d/msgid/noc25-cs57-discuss/7b11b4a5-d586-4ba7-b735-4f15ae4d59d6n%40nptel.iitm.ac.in.
For more options, visit https://groups.google.com/a/nptel.iitm.ac.in/d/optout.

Stachys Thangapapa

unread,
May 4, 2025, 11:55:27 AM5/4/25
to Discussion forum for Programming In Java, Chethan A, Discussion forum for Programming In Java, Stachys Thangapapa
The options that were there are

Square:9 Cube:9
Cube: 6 Square: 6
And two others

Manish Gupta [90]

unread,
May 4, 2025, 11:56:32 AM5/4/25
to Discussion forum for Programming In Java, Chethan A, Discussion forum for Programming In Java, Stachys Thangapapa
WhatsApp Image 2025-05-04 at 21.23.08_44955116.jpg
These question was from section 2 and the options were a> cube : 6 square : 6 b> square: 6 cube: 9 square:27 c> square:9 cube: 9 d> square:9 cube:9. Though i cant surely recall exact b & c options but the answer Square: 6 Cube: 6 wasn't given. I have given my exam in shift 2. 

Kindly verify ...

Ravi kurane

unread,
May 4, 2025, 11:57:14 AM5/4/25
to Manish Gupta [90], Discussion forum for Programming In Java, Chethan A, Stachys Thangapapa

2K22SE53 DEEPAK KUMAR

unread,
May 4, 2025, 2:20:52 PM5/4/25
to Discussion forum for Programming In Java, Stachys Thangapapa
yes this was the issue there i have marked Cube 6, Square 6 option because atleast values were right but wrong order 

Arpit Singh

unread,
May 4, 2025, 2:27:19 PM5/4/25
to 2K22SE53 DEEPAK KUMAR, Discussion forum for Programming In Java, Stachys Thangapapa

Same here I also marked cube 6, square 6


--
You received this message because you are subscribed to the Google Groups "Discussion forum for Programming In Java" group.
To unsubscribe from this group and stop receiving emails from it, send an email to noc25-cs57-disc...@nptel.iitm.ac.in.

Stachys Thangapapa

unread,
May 5, 2025, 1:21:54 AM5/5/25
to Discussion forum for Programming In Java, Arpit Singh, Discussion forum for Programming In Java, Stachys Thangapapa, 2K22SE53 DEEPAK KUMAR
I marked Square:9 Cube: 9 because I thought the value+value could be a mistake :(

Devendra Gurjar

unread,
May 6, 2025, 8:24:58 AM5/6/25
to Discussion forum for Programming In Java, Stachys Thangapapa, Arpit Singh, Discussion forum for Programming In Java, 2K22SE53 DEEPAK KUMAR
I mailed them to review the wrong question, but instead, they just sent links for the scorecard and feedback form i filled feedback form but nothing was there in regarding to report or to mention my issue. I expected a response about grace marks or rechecking, but NPTEL SWAYAM didn’t take it seriously—even after my mail.NOC java wrong mcq options 1 privacy.JPGNOC java wrong mcq options 2 privacy.JPGNOC java wrong mcq options 3.jpg

Stachys Thangapapa

unread,
May 21, 2025, 9:58:31 AM5/21/25
to Discussion forum for Programming In Java, Devendra Gurjar, Stachys Thangapapa, Arpit Singh, Discussion forum for Programming In Java, 2K22SE53 DEEPAK KUMAR
😐 Result will be published soon. Let's see🤞🏻

Nilesh Choudhary

unread,
May 21, 2025, 10:06:39 AM5/21/25
to Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR

Ans is Square 9 cube 9 only i checked by executing in question they gave

result as
result = value*value only
Not
result=value+value


Puli Amrutha Reddy

unread,
May 22, 2025, 12:06:46 AM5/22/25
to Nilesh Choudhary, Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR

Nilesh Choudhary

unread,
May 22, 2025, 12:24:35 AM5/22/25
to Puli Amrutha Reddy, Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR

No

Puli Amrutha Reddy

unread,
May 22, 2025, 12:28:06 AM5/22/25
to Nilesh Choudhary, Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR

Reply please


On Thu, May 22, 2025, 9:57 AM Puli Amrutha Reddy <puliamru...@gmail.com> wrote:

Results released or not

Puli Amrutha Reddy

unread,
May 22, 2025, 12:28:12 AM5/22/25
to Nilesh Choudhary, Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR

Results released or not


On Thu, May 22, 2025, 9:54 AM Nilesh Choudhary <choudharyn...@gmail.com> wrote:

RAHUL KUMAR

unread,
May 22, 2025, 4:13:50 AM5/22/25
to Discussion forum for Programming In Java, Puli Amrutha Reddy, Stachys Thangapapa, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR, Nilesh Choudhary
Results hasn't come yet. 

Chethana J R

unread,
May 22, 2025, 5:53:20 AM5/22/25
to RAHUL KUMAR, Discussion forum for Programming In Java, Puli Amrutha Reddy, Stachys Thangapapa, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR, Nilesh Choudhary

Puli Amrutha Reddy

unread,
May 22, 2025, 7:28:11 AM5/22/25
to Chethana J R, RAHUL KUMAR, Discussion forum for Programming In Java, Stachys Thangapapa, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR, Nilesh Choudhary

Y

Stachys Thangapapa

unread,
May 22, 2025, 9:18:47 AM5/22/25
to Discussion forum for Programming In Java, Puli Amrutha Reddy, RAHUL KUMAR, Discussion forum for Programming In Java, Stachys Thangapapa, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR, Nilesh Choudhary, Chethana J R

shivam agrawal

unread,
May 23, 2025, 1:11:31 AM5/23/25
to Discussion forum for Programming In Java, Stachys Thangapapa, Puli Amrutha Reddy, RAHUL KUMAR, Discussion forum for Programming In Java, Devendra Gurjar, Arpit Singh, 2K22SE53 DEEPAK KUMAR, Nilesh Choudhary, Chethana J R
Dear Candidate,

Greetings from NPTEL!

Results will be made available to download within  3 to 4 weeks from the day of the exam.

Please note that the results of only those courses given in this link are announced.We are in the process of announcing the results.

We request you to please wait.Go to the link below to check for exam results.http://internalapp.nptel.ac.in/  

Open the link in incognito mode and log in using the email Id used for exam registration and date of birth(YYYY-MM-DD).

Kindly wait, You will be getting the mail regarding the results.



Thank you

Warm Regards

Yuvaraj

NPTEL

IC & SR, 3rd floor, IIT Madras
Chennai - 600036, PH (044) 2257 5905/08, 
9363218521

nptel.ac.in | onlinecourses.nptel.ac.in

Reply all
Reply to author
Forward
0 new messages