Search Header Logo

Java - Ch. 1 - 6 Review

Authored by Colleen Chattaway

Computers

9th - 12th Grade

Used 30+ times

Java - Ch. 1 - 6 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

95 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

If a program “Tester” is run from the command line as shown below, what is the value of args[0]?
java Tester sing a song

"sing a song"
"sing a song"
"song"
 "song"
"a "
"sing"

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Logic errors are easily identified when a program is compiled.

True
False

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Although not a requirement, it is Java standard that class identifiers begin with an uppercase letter and use other uppercase letters to improve readability. 

True
False

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Dots (or periods) in a Java statement are used to separate the names of the components that make up the statement.

True
False

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

A compiler ignores whitespace between words and lines. 

True
False

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

You must use the Java interpreter to translate the bytecode into executable statements before running a Java application.

True
False

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Using the void keywords in the main( ) method header indicates that a value will be returned by the main( ) method is called. 

True
False

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?