MW CodeHS Basic Java Review for test

MW CodeHS Basic Java Review for test

Assessment

Flashcard

Computers

8th - 12th Grade

Hard

Created by

Quizizz Content

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

25 questions

Show all answers

1.

FLASHCARD QUESTION

Front

His name is Fred and he is less than 16 years old. Options: if (name = "fred" && age < 16 ), if (name == "fred" && age < 16 ), if (name = "fred" || age < 16 ), if (name == "fred" || age < 16 )

Back

if (name == "fred" && age < 16 )

2.

FLASHCARD QUESTION

Front

Repeat something 10 times: repeat 10 , for (var i=0; i<10; i++), repeat { } until 10;, while (i = 10)

Back

for (var i=0; i<10; i++)

3.

FLASHCARD QUESTION

Front

When we are done with a line what do we put at the end?

Back

a semi-colon ;

4.

FLASHCARD QUESTION

Front

When we surround a word with quotes "David" it's called ?

Back

a string

5.

FLASHCARD QUESTION

Front

What is a variable?

Back

Store values in containers so we can use them later.

6.

FLASHCARD QUESTION

Front

A short form writing the word variable is

Back

var

7.

FLASHCARD QUESTION

Front

What is the symbol used for the INCREMENT operator in Java?

Back

++

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?