Conditionals

Conditionals

10th Grade

18 Qs

quiz-placeholder

Similar activities

Control structures

Control structures

10th Grade

18 Qs

Apple Swift Playgrounds: Learn to Code 1 Vocabulary (Lessons 0 - 6)

Apple Swift Playgrounds: Learn to Code 1 Vocabulary (Lessons 0 - 6)

9th - 12th Grade

20 Qs

Javascript Conditional Statements

Javascript Conditional Statements

9th - 12th Grade

20 Qs

Express Course: Unit Two

Express Course: Unit Two

5th - 12th Grade

18 Qs

ORION ACADEMY CODING AND ROBOTICS EXAMINATION(SENIOR SCHOOL)

ORION ACADEMY CODING AND ROBOTICS EXAMINATION(SENIOR SCHOOL)

10th - 12th Grade

20 Qs

Programming Basics: Statements & Functions

Programming Basics: Statements & Functions

9th - 12th Grade

21 Qs

Python Conditionals Practice

Python Conditionals Practice

9th - 12th Grade

20 Qs

Csd Iii Unit

Csd Iii Unit

3rd - 12th Grade

20 Qs

Conditionals

Conditionals

Assessment

Quiz

Computers

10th Grade

Medium

Created by

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

Media Image

How many test statements does this program have?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?