
Java CH4 - Control Statements EXIT
Flashcard
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

8 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Boolean values are: True / False, Yes / No, Right / Wrong
Back
True / False
2.
FLASHCARD QUESTION
Front
If you are checking the equality of two values, you should use:
Back
==
3.
FLASHCARD QUESTION
Front
How would you check for inequality? Options: =!, !=
Back
!=
4.
FLASHCARD QUESTION
Front
Java supports six relational operators that are used to make comparisons: ==, <, >, <=, >=, !=. True or False?
Back
True
5.
FLASHCARD QUESTION
Front
Is this code segment correct?
if(quizScore == 10);
System.out.println("Perfect score");
Back
No
6.
FLASHCARD QUESTION
Front
You should use the "if, else" when you want to do one thing or nothing.
Back
False
7.
FLASHCARD QUESTION
Front
In a for loop, the change is stated in the for loop. The loop variable is then updated at the beginning (top) of the loop before any statements are executed.
Back
False
8.
FLASHCARD QUESTION
Front
Which for loop would print out (exactly):
1 2 3 4 5 6 7 8 9
Options:
int n = 10;
for(int i; i < n; i=i+1)
{
System.out.print(i + " ");
}
,
int n = 11;
for(int i=1; i < n; i=i+1)
{
System.out.print(i + " ");
}
,
int n = 10;
for(int i=1; i < n; i=i+1)
{
System.out.print(i + " ");
}
,
int n = 11;
for(int i = 1; i < n; i=i+1)
{
System.out.print("i");
}
Back
int n = 10;
for(int i=1; i < n; i=i+1)
{
System.out.print(i + " ");
}
Similar Resources on Wayground
12 questions
Fragments, Run-ons, Complete Sentences
Flashcard
•
KG - University
15 questions
The Sieve and the Sand Reading Flashcard
Flashcard
•
10th Grade - University
15 questions
Parts of Speech Check
Flashcard
•
10th Grade - University
12 questions
Chủ đề 1: Marketing (Tiếp thị)
Flashcard
•
KG
7 questions
Verbals Flashcard #1
Flashcard
•
KG - University
7 questions
Vocabulario Eugenio Pereira
Flashcard
•
University
10 questions
Flashcard Base Online Essentials Versione 1
Flashcard
•
KG - University
2 questions
food willll
Flashcard
•
7th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Thanksgiving Trivia Challenge: Test Your Knowledge!
Interactive video
•
6th - 10th Grade
36 questions
Benchmark 2 Review (LEAP)
Quiz
•
11th Grade