Conditional Statements Quiz

Quiz
•
Computers
•
12th Grade
•
Medium

Sample Student
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How do we check to see if our condition in coding is true?
we use comparison operators like < or >
we need to test our true and false statements with a test
we use a random sorter to decide
we evaluate the condition using algebra
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can I test 2 conditions are true in the same if statement?
combine if statements with a logical operator
break them into 2 if statements in sequence
embed the conditions inside an if statement
this is not possible in coding
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How can we check to see if 1 condition is true in a 2 condition statement?
Use the AND operator
Use the OR operator
Use the NOT operator
This is not possible in code
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What do If statements do?
check to see if something is TRUE
check to see if 2 things are equal
checks to see if 2 things are NOT equal
Checks to see if flow charts are valid
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What do Else statements do?
Allow us to change the outcome based on the statement being false
Allow us to have 2 true statements at the same time
Allow us to skip over the conditional if something is false
There is no ELSE statements in code
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What do we use to help us plan our outcomes?
a flowchart
a coding map
an outline
a code plan
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What do nested if statements do?
Help us get more specific about our classification
Give a command if something evaluates to false
Give a command if something evaluates to true
Help us be more broad with our request.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python elif and Nested if

Quiz
•
12th Grade
15 questions
Quiz - 7 on Bitwise Operators in C

Quiz
•
12th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
15 questions
Quiz -2 Arithmetic Expressions Evaluation in C

Quiz
•
12th Grade
8 questions
Random Numbers + Review

Quiz
•
12th Grade - University
15 questions
AP Computer Science A Review 1

Quiz
•
10th - 12th Grade
8 questions
1.1.3 CSE Conditionals and Event-driven Programming

Quiz
•
9th - 12th Grade
15 questions
If-Statement and Relational Operators Quiz

Quiz
•
6th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade