Computer Programming 2 Final Exam
Home / My courses / UGRD-ITE6104-2013T / Week 14: Final Exam / Final Exam
Started on Friday, 16 October 2020, 12:17 PM
State Finished
Completed on Friday, 16 October 2020, 12:44 PM
Time taken 26 mins 27 secs
Marks 44.00/50.00
Grade 88.00 out of 100.00
Question 1 What is the length of the array: int[] intArray = { 1, 2, 3, 5, 6, 7 };
Complete
Mark 1.00 out of Select one:
1.00
a. 4
b. 6
c. 5
d. 7
Question 2 Which of the following is true about Runtime errors
Complete
Mark 1.00 out of Select one:
1.00
a. All of the choices
b. Runtime errors occur during run-time.
c. Runtime errors occur after compilation.
d. Runtime errors occur when there is a design flaw in your program
Question 3 From the array int[] intArray = { 1, 2, 3, 5, 6, 7 };, what is the value of intArray[2
Complete
Mark 0.00 out of Select one:
1.00
a. 2
b. 4
c. 3
, 10/29/2020
Computer Programming 2 Final Exam
Question 5 What will be the value of x after executing this code for(int x=0; x<=11; x++) {
Complete
Mark 1.00 out of Select one:
1.00
a. 10
b. 11
c. 1
d. 12
Question 6 The feature of Java which makes it possible to execute several tasks simultane
Complete
Mark 1.00 out of Select one:
1.00
a. None of the choices
b. Code Security
c. Platform independent
d. Robust
e. Multithreaded
Question 7 Which of the following does not return numeric value?
Complete
Mark 1.00 out of Select one:
1.00
a. nextDouble()
b. None of the choices
c. nextShort()
d. nextInt()
e. nextLong()
Question 8 What is the function of JVM?
Complete
Mark 1.00 out of Select one:
1.00
a. Generating bytecode
b. Interpreting bytecode
c. Reading bytecode