Search Header Logo

Java Ch 3 TEST

Computers

University

Used 37+ times

Java Ch 3 TEST
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Use this method if you want to display unformatted content on the screen without terminating the line.

System.out.println()

System.out.printf()

System.out.print()

String.format()

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

USE THIS METHOD IF YOU WANT TO DISPLAY UNFORMATTED CONTENT THAT INCLUDES A LINE TERMINATION AT THE END OF THE OUTPUT.

System.out.println()

System.out.Print()

System.out.print()

String.format()

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

WHICH TYPE OF STATEMENT IS THE FOLLOWING:
double quiz1 = 0.0;

Variable Declaration
Variable Assignment
Variable Initialization
None of the above

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

BESIDES ARITHMETIC ADDITION, WHAT ELSE DO WE USE THE + SYMBOL FOR?

Unary Positive Operator
String Concatenation Operator
Both of these
Neither of these

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

WHICH OF THE FOLLOWING ARITHMETIC OPERATORS PERFORMS MODULUS CALCULATIONS TO GET THE REMAINDER OF A DIVISION?

*
/
-
%

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value ("Welcome")?

Text
Characters
String
Boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which type of data is used to enter the value (1234.5)?

Integer
Double 
Char
Void

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?