Midterm Exam Attempt review.pdf - 3/17/23 9:11 PM Midterm...

Doc Preview
Pages 17
Identified Q&As 40
Solutions available
Total views 3
3/17/23, 9:11 PMMidterm Exam: Attempt review trimestralexam.amaesonline.com/2223/mod/quiz/review.php?attempt=126419&cmid=61511/17Home/My courses/UGRD-ITE6201F-2223T/Midterm Examination/Midterm Exam Started onFriday, 17 March 2023, 7:44 PM StateFinished Completed onFriday, 17 March 2023, 8:27 PM Time taken43 mins 8 secs Marks49.00/50.00 Grade98.00out of 100.00 Question 1 Correct Mark 2.00 out of 2.00 Question 2 Correct Mark 2.00 out of 2.00 What will happen if you use JOptionPane. showInputDialog statement in your program? Select one: a.The program will display message dialog box. b.The program will display an input dialog box that allows the user to input text and returns the correct type value. c.None of these d.The program will display an input dialog box that allows the user to input text and returns String value. e.The program will display message dialog box returns String value. What will be the output if you execute this code? do{System.out.println("Hello World!");}while(true); Select one: a.print "Hello World" infinitely b.None of these c.Do nothing d.The code will not run because of syntax error e.print "Hello World" Your answer is correct.
3/17/23, 9:11 PMMidterm Exam: Attempt review trimestralexam.amaesonline.com/2223/mod/quiz/review.php?attempt=126419&cmid=61512/17Question 3 Correct Mark 1.00 out of 1.00 Question 4 Correct Mark 1.00 out of 1.00 Question 5 Correct Mark 2.00 out of 2.00 What is the index number of the last element of an array with 30 elements? Select one: a.31 b.29 c.30 d.None of these e.0 Which is not a repetition control structure? Select one: a.do while b.None of these c.while d.for e.switch Which of the following does not return numeric value? Select one: a.nextDouble() b.nextShort() c.nextInt() d.nextLong() e.None of these
Course Hero Badge

Want to read all 17 pages?

Previewing 2 of 17 pages Upload your study docs or become a member.
Course Hero Badge

End of preview

Want to read all 17 pages? Upload your study docs or become a member.