[go: up one dir, main page]

0% found this document useful (2 votes)
8K views2 pages

Test: Jfo Section 2 Quiz

This document appears to be a quiz on concepts from Section 2 of a Java programming course. It contains 10 multiple choice questions testing understanding of whitespace, breakpoints, blocks of code, and how Java reads code. The key points are that indentation, space between brackets and words, and blank lines are considered whitespace; breakpoints can be set by clicking in the left margin of the IDE; whitespace helps organize and make code more readable; code within curly braces is called a block of code; and Java mostly reads code line-by-line.

Uploaded by

UPKM FT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (2 votes)
8K views2 pages

Test: Jfo Section 2 Quiz

This document appears to be a quiz on concepts from Section 2 of a Java programming course. It contains 10 multiple choice questions testing understanding of whitespace, breakpoints, blocks of code, and how Java reads code. The key points are that indentation, space between brackets and words, and blank lines are considered whitespace; breakpoints can be set by clicking in the left margin of the IDE; whitespace helps organize and make code more readable; code within curly braces is called a block of code; and Java mostly reads code line-by-line.

Uploaded by

UPKM FT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

4/25/2021 JFo Section 2 Quiz

Test: JFo Section 2 Quiz


Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2 Quiz
(Answer all questions in this section)

6. Which of the following are considered Whitespace? Mark for Review

(1) Points
Indentation before the code. (*)

Space between the [ ] braces.

Space between words. (*)

Blank lines in the code. (*)

Space in the print statements.

Correct

7. A breakpoint can be set by clicking a number in the left margin of the IDE. Clicking again removes the Mark for Review
breakpoint.

(1) Points
True (*)
False

Correct

8. Which of the following 2 statements are true about whitespace? Mark for Review

(1) Points
Whitespace increases execution time of your program.

Whitespace helps to keep your code organized. (*)


Whitespace makes your code more readable. (*)

Whitespace eliminates typing mistakes while programming.


Whitespace reduces the performance of the program.

Correct

9. Code within curly braces is called a “Block of code”. Mark for Review

(1) Points
True (*)
False

Correct

10. Java mostly reads code line-by-line. Mark for Review

https://myacademy.oracle.com/player/play?in_sessionid=28539411210A51AJ&classroom_id=74941470 1/2
4/25/2021 JFo Section 2 Quiz

(1) Points
True (*)
False

Correct

Previous Page 2 of 3 Next Summary

https://myacademy.oracle.com/player/play?in_sessionid=28539411210A51AJ&classroom_id=74941470 2/2

You might also like