This site requires JavaScript, please enable it in your browser!
Greenfoot back

Comments for Java Online Quiz

Return to Java Online Quiz

A new version of this scenario was uploaded on 2022-02-17 10:33:05 UTC
A new version of this scenario was uploaded on 2022-02-17 10:50:47 UTC
A new version of this scenario was uploaded on 2022-02-17 10:52:32 UTC
A new version of this scenario was uploaded on 2022-02-17 16:16:48 UTC
danpostdanpost

2022/2/17

Q 1: Questionable. Cannot go into details without ruining the question for everyone. Q 9: Comment at end of switch statement is not correct. Q 11: There is a typo in one of the options. Q 23: Reason given for correct answer is not accurate. Integer ranges from -2^31 to 2^31-1. Again, cannot go into details without ruining question for everyone.
RcCookieRcCookie

2022/2/17

Q9 is correct (unless you assume that the output is additional to the ones in the switch). But the explaination for [23] should be improved, that's true. The range -128 to 127 is cached by the jvm.
A new version of this scenario was uploaded on 2022-02-18 03:25:35 UTC
A new version of this scenario was uploaded on 2022-02-18 03:32:09 UTC removed some blunders
A new version of this scenario was uploaded on 2022-02-18 03:44:41 UTC
A new version of this scenario was uploaded on 2022-02-18 03:48:41 UTC
A new version of this scenario was uploaded on 2022-02-18 03:52:45 UTC
A new version of this scenario was uploaded on 2022-02-18 03:58:08 UTC
Roshan123Roshan123

2022/2/18

@danpsot & @RcCookie, I hope now it doesn't contain any mistake. I have updated it and now you both can play the quiz n number of time since you got some answers wrong due to my mistakes. Especially RcCoookie deserves more than 28, since he played it when you can't give answers to some questions even if you want to(it was just a mistake by my side)
Roshan123Roshan123

2022/2/18

And thanks a lot to both of you for reporting my mistakes!
RcCookieRcCookie

2022/2/18

10: Remove ln from println so that the output would really be in one line. 23: To make it more readably, you could write Integer num1 = 100, num2 = 100, num3 = 500, num4 = 500;
A new version of this scenario was uploaded on 2022-02-18 16:02:37 UTC
Roshan123Roshan123

2022/2/18

@RcCookie, thanks for the suggestion!
Nice questions, especially that "Integer" one.
Roshan123Roshan123

2022/3/3

Lol, admin of greenfoot playing my scenario....Nice name though
A new version of this scenario was uploaded on 2022-03-09 15:52:57 UTC
A new version of this scenario was uploaded on 2022-03-09 15:55:43 UTC
A new version of this scenario was uploaded on 2022-03-09 16:04:03 UTC
A new version of this scenario was uploaded on 2022-03-09 16:10:47 UTC
porcamado3porcamado3

2022/4/13

Are you barbo
Roshan123Roshan123

2022/4/14

@porcamdo3, sorry, I don't understand the phrase(if its not a name/compliment)