

If statements
Presentation
•
Computers
•
9th Grade - University
•
Medium
Brian Ciavarella
Used 37+ times
FREE Resource
3 Slides • 9 Questions
1
If statements

2
Multiple Choice
Given a = true and b = false, what is the truth value of:
a == b
true
false
3
Multiple Choice
Given a = true and b = false, what is the truth value of:
a != b
true
false
4
Multiple Choice
Given a = 7and b = 8, what is the truth value of:
a != b
true
false
5
Multiple Choice
Given a = 7and b = 8, what is the truth value of:
a <= b
true
false
6
Multiple Choice
Given a = 7and b = 8, what is the truth value of:
a >= b
true
false
7
Multiple Choice
Given a = 7and b = 8, what is the output of :
if(a >= b){
System.out.println("true");
}
else{
System.out.println("false");
}
true
false
8
Multiple Choice
Given a = 7and b = 8, what is the output of :
if(a == b){
System.out.println("true");
}
else{
if(a < b){
System.out.println("false");
}
else{
System.out.println("true");
}
}
true
false
9
Multiple Choice
Given a = 17and b = 8, what is the output of :
if(a == b){
System.out.println("true");
}
else{
if(a < b){
System.out.println("false");
}
else{
System.out.println("true");
}
}
true
false
10
Multiple Choice
Given a = 17and b = 8, what is the output of :
if(a > b && a != b){
System.out.println("true");
}
else{
System.out.println("false");
}
true
false
11
AND OR NOT
12
If statements

Show answer
Auto Play
Slide 1 / 12
SLIDE
Similar Resources on Wayground
10 questions
Writing Equations for Exponential Functions
Presentation
•
9th - 12th Grade
11 questions
Revisiting Properties of Exponents
Presentation
•
9th Grade - University
8 questions
Text Formatting
Presentation
•
9th - 12th Grade
11 questions
Chinese New Year
Presentation
•
9th - 12th Grade
10 questions
ICT Grade 11 Final Exam Practice
Presentation
•
9th - 12th Grade
7 questions
Unplugged Activity: Binary Beads
Presentation
•
9th - 12th Grade
10 questions
Combustion Reactions
Presentation
•
9th - 12th Grade
9 questions
Fallacy of the Day: False Dilemma/Black-or-White
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade