More Python Conditionals

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

6 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which of the following is the correct way to check if x is even? if x / 2 == 0:, if x / 2 == 0:, if x % 2 == 0:, if x % 2 = 0:
Back
if x % 2 == 0:
2.
FLASHCARD QUESTION
Front
Which of the following is the correct way to check if x is divisible by 10? if x / 10 == 0:, if x // 10 = 0:, if x % 10 == 0:, if x % 10 = 0:
Back
if x % 10 == 0:
3.
FLASHCARD QUESTION
Front
Which of the following is the correct way to check if x and y are both positive? Options: if x and y > 0:, if x, y > 0:, if x > 0 and y > 0:, if x > 0, y > 0:
Back
if x > 0 and y > 0:
4.
FLASHCARD QUESTION
Front
Which of the following is the correct way to check if the variable choice is the string "yes"? Options: if choice == "yes":, if choice == yes:, if choice = "yes":, if choice == yes:
Back
if choice == "yes":
5.
FLASHCARD QUESTION
Front
What is output when the code runs? Options: C, B, A, C, B, C, D, C, B
Back
C, B
6.
FLASHCARD QUESTION
Front
What is output when the code runs? Options: B, A, C, D
Back
B
Similar Resources on Wayground
11 questions
Linear Inequalities Review

Flashcard
•
9th - 11th Grade
6 questions
3.5 Boolean Expressions

Flashcard
•
10th - 12th Grade
8 questions
Linear Inequalities

Flashcard
•
9th - 12th Grade
9 questions
Translations

Flashcard
•
9th - 12th Grade
11 questions
Dilations

Flashcard
•
9th - 12th Grade
9 questions
CSA Semester 2 Final

Flashcard
•
11th - 12th Grade
10 questions
Quadratic Inequalities

Flashcard
•
9th - 12th Grade
10 questions
Absolute Value Equations and Inequalities

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade