Day 24 SQ: Java Basics Review

Day 24 SQ: Java Basics Review

Assessment

Flashcard

Computers

10th - 12th Grade

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

13 questions

Show all answers

1.

FLASHCARD QUESTION

Front

The arithmetic operator '==' is used to...

Back

Test to see if equal

2.

FLASHCARD QUESTION

Front

What is the Java shorthand for the following line of code:
mBalance = mBalance + 1;

Back

mBalance++;

3.

FLASHCARD QUESTION

Front

The concatenation symbol in Java is...

Back

+.

4.

FLASHCARD QUESTION

Front

What is the type and value of the following expression? (Notice the integer division) -4 + 1/2 + 2*-3 + 5.0

Back

double -5.0

5.

FLASHCARD QUESTION

Front

What is the output of the following:
for(int x=1 ; x<5 ; x++){
System.out.print(x);
}

Back

1234

6.

FLASHCARD QUESTION

Front

What is the output?
Options: 6 3 0, 3 0, 3 0 -3, 6 3

Back

3 0

7.

FLASHCARD QUESTION

Front

What is the output? Options: 1 2 3 4 5 6 7 8 9 10, 1 2 3 4 5, 1 3 5 7 9, 2 4 6 8 10

Back

1 3 5 7 9

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?