What are relational operators in Java?
AP COMP SCI A - CodeHs Unit 3 Vocab

Quiz
•
Instructional Technology
•
12th Grade
•
Hard
Kelsey Borys
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
a) ==, !=, <, >, <=, >=
b) +, -, *, /
c) &&, ||, !
2.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Fill in the blank: An if statement lets you ask a question to the program and only run code if the answer is ____.
true
false
maybe
unknown
3.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is a control structure?
A way to store data
A method to change the flow of the code
A type of variable
4.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Fill in the blank: A conditional statement evaluates to ____ or ____.
true, false
yes, no
1, 0
positive, negative
5.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What does an if-else statement do?
Executes code only if all conditions are false
Lets us run either one section of code or another depending on a test
Stores data in a variable
6.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
Fill in the blank: An else statement executes code only if all conditions are ____.
false
true
met
checked
7.
MULTIPLE CHOICE QUESTION
30 sec • 3 pts
What is a condition in programming?
A type of loop
Code inside an if statement or while-loop
A method to store data
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
Ultimate Quiziz Pt 2

Quiz
•
9th - 12th Grade
15 questions
JavaScript Quiz

Quiz
•
12th Grade
15 questions
Simulasi dan Komunikasi Digital

Quiz
•
1st Grade - University
11 questions
Sphero Block Coding

Quiz
•
KG - 12th Grade
15 questions
Quiz de Programação Front End

Quiz
•
12th Grade - University
20 questions
Technology pop quiz

Quiz
•
9th Grade - Professio...
15 questions
R6 3.TEC_BACK END_103 A0 114 Aplicações Java

Quiz
•
9th Grade - University
20 questions
Comandos Básicos de MongoDB

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Instructional Technology
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University