• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 10 pages
Exam (elaborations)

Computer Programming 2 Final Exam

Document preview thumbnail
Preview 2 out of 10 pages

Computer Programming 2 Final Exam

Content preview

10/29/2020
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

Document information

Uploaded on
December 13, 2024
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
660
Followers
115
Items
6126
Last sold
7 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions