You are on page 1of 2

1/16/24, 4:15 PM SECOND QUARTER EXAM: Attempt review (page 1 of 50)

Home / My courses / BAED-PROG3112-2312S / SECOND QUARTER EXAM / SECOND QUARTER EXAM

Started on Monday, 15 January 2024, 2:39 PM


State Finished
Completed on Monday, 15 January 2024, 2:55 PM
Time taken 15 mins 34 secs
Marks 47.00/50.00
Grade 94.00 out of 100.00

Question 1
Correct

Mark 1.00 out of 1.00

The following code displays ___________.

double temperature = 50;

if (temperature >= 100)


System.out.println("too hot");

else if (temperature <= 40)

System.out.println("too cold");

else

System.out.println("just right");

a. just right

b. too hot too cold just right

c. too cold

d. too hot

Your answer is correct.

◄ FIRST QUARTER EXAM

Jump to...

https://shsexam.amaesonline.com/2312/mod/quiz/review.php?attempt=59474&cmid=268 1/2
1/16/24, 4:15 PM SECOND QUARTER EXAM: Attempt review (page 1 of 50)

https://shsexam.amaesonline.com/2312/mod/quiz/review.php?attempt=59474&cmid=268 2/2

You might also like