Conditionals

Quiz
•
Computers
•
10th Grade
•
Medium
Rebecca Lee
Used 27+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a test statement?
color = sprite.ask("What's your favorite color?")
sprite.say("So your favorite color is " + color.")
if color == "red":
color = "red"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes what a test statement is?
This part is the code that runs in a conditional if the condition is true
This is the part of the code that checks whether a condition is true or false
This is a code that shows how many times a loop should run
This is a code that saves multiple pieces of information in one place
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes what the nested code part of a conditional is?
This part is the code that runs in a conditional if the condition is true
This is the part of the code that checks whether a condition is true or false
This is a code that shows how many times a loop should run
This is a code that saves multiple pieces of information in one place
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many test statements does this program have?
1
2
3
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens if the user inputs "winter" into the first question in this program?
The background changes to a winter background
The user is asked another question
The sprites says "Sad..."
The sprite says "Me too!"
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes what a flowchart is?
A diagram that shows each step of a process or algorithm
Conventions for making code easier for people to read
The line of code in a conditional that checks if something is true or false.
The line of code in a conditional that's indented over
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following symbols compares two values to see if they are the same?
=
[ ]
==
""
Create a free account and access millions of resources
Similar Resources on Wayground
17 questions
GCSE Computer Science - Python Programming Concepts

Quiz
•
9th - 11th Grade
18 questions
Python basics

Quiz
•
7th - 10th Grade
14 questions
GCSE Computing - Subprograms

Quiz
•
9th - 10th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12

Quiz
•
3rd - 12th Grade
16 questions
Code.org Discoveries Unit 3

Quiz
•
7th - 10th Grade
20 questions
iGCSE Computer Science: Problem Solving

Quiz
•
9th - 12th Grade
20 questions
Python variables and operators quiz

Quiz
•
9th - 12th Grade
14 questions
Python - MP2 Test

Quiz
•
10th Grade
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
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade