Conditional Statements

Flashcard
•
Computers
•
9th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

15 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the output? Options: more than 7, more than 23, spam, 7
Back
more than 7
2.
FLASHCARD QUESTION
Front
What part of an if statement should be indented? Options: All of it, The statements within it, the first line, the lines within the brackets
Back
The statements within it
3.
FLASHCARD QUESTION
Front
An if statement must evaluate to:
Back
True or False
4.
FLASHCARD QUESTION
Front
This operator means that one value is the same as the other value: ==, !=, >, <
Back
==
5.
FLASHCARD QUESTION
Front
What is the result of the code: team = ("Cowboys") if team == "Cowboys": print("Dallas is #1")
Back
Dallas is #1
6.
FLASHCARD QUESTION
Front
IF statement in Python
Back
An IF statement checks to see if a statement is true or false and then does one of two things depending on the result.
7.
FLASHCARD QUESTION
Front
What will happen when this program is run?
Back
Zero will be displayed
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Variables Warm up Code.org CSP Unit 4

Flashcard
•
9th Grade
10 questions
Python Lesson 4 : if-elif-else conditionals

Flashcard
•
8th Grade
8 questions
Python

Flashcard
•
KG - 9th Grade
11 questions
Python Variables

Flashcard
•
9th Grade
11 questions
CMU CS Academy Unit 3.2.1 Boolean Expressions

Flashcard
•
9th Grade
12 questions
Basics Python

Flashcard
•
8th - 10th Grade
10 questions
Python

Flashcard
•
7th - 8th Grade
8 questions
Variables Warm up Code.org CSP Unit 4

Flashcard
•
9th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade