MW CodeHS Basic Java Review for test

MW CodeHS Basic Java Review for test

Assessment

Flashcard

Computers

8th - 12th Grade

Practice Problem

Hard

Created by

Wayground 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

++

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?