
B4 - The Single Branch if Statement
Quiz
•
Other
•
University
•
Easy

Ahmetcan türk
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
valuate the following expression:
1 + 2 == 3
true
false
unpredictable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression:
25 < 5 * 5
true
false
unpredictable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression:
8 + 1 >= 3 * 3
true
false
unpredictable
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code fragment write to the monitor?
int height = 10;
if ( height <= 12 )
System.out.print("Low bridge: ");
System.out.println("proceed with caution.");
Nothing is written.
Low bridge:
proceed with caution.
Low bridge: proceed with caution.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code fragment write to the monitor?
int height = 13;
if ( height <= 12 )
System.out.print("Low bridge: ");
System.out.println("proceed with caution.");
Nothing is written.
Low bridge:
proceed with caution.
Low bridge: proceed with caution.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the following code fragment write to the monitor?
int depth = 8 ;
if ( depth >= 8 )
{
System.out.print("Danger: ");
System.out.print("deep water. ");
}
System.out.println("No swimming allowed.");
Danger:
Danger: deep water.
Danger: deep water. No swimming allowed.
deep water. No swimming allowed.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expression:
10.0 + 0.10 < 11.0
true
false
unpredictable
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?
Similar Resources on Wayground
15 questions
Kuis Accounting Study Club
Quiz
•
University
10 questions
Quiz Pengaduan_Part 1
Quiz
•
University - Professi...
13 questions
Customer Service at Chester Zoo
Quiz
•
6th Grade - University
15 questions
Kuiz Webinar Safety 101: Taklimat Pematuhan HSE (Sesi 3)
Quiz
•
KG - University
7 questions
Minecraft Bedwars Hypixel
Quiz
•
4th Grade - Professio...
10 questions
Sistem Informasi dan Pengendalian Internal
Quiz
•
University
10 questions
Hypersonic Missiles and Directed Energy Weapons
Quiz
•
University
10 questions
Leadership
Quiz
•
University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University
