
MW CodeHS Basic Java Review for test
Flashcard
•
Computers
•
8th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
Used 1+ times
FREE Resource
Student preview

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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?