Python Boolean and If

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

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A variable that can only have two values, True or False.
Back
Boolean
2.
FLASHCARD QUESTION
Front
Which is the correct syntax? Options: has_dog = true, has_dog = True, has_dog = Treu, HAS_DOG = tRue
Back
has_dog = True
3.
FLASHCARD QUESTION
Front
What is syntax?
Back
It's a structure.
4.
FLASHCARD QUESTION
Front
Which passes a Boolean to a String? Options: print "has_dog", str(has_dog), print "has_dog" str, (input)(has_dog)
Back
str(has_dog)
5.
FLASHCARD QUESTION
Front
The choices of an if statement are called: twigs, branches, leaves, trees
Back
branches
6.
FLASHCARD QUESTION
Front
An if statement must evaluate to: True or False
Back
True or False
7.
FLASHCARD QUESTION
Front
This operator means that one value is the same as the other value
Back
==
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Java Basics #2

Flashcard
•
10th - 12th Grade
5 questions
AP Computer Science A: <= Unit 4

Flashcard
•
10th - 12th Grade
10 questions
Arrays

Flashcard
•
10th - 12th Grade
8 questions
Unit #4- Loops and Nested Loops

Flashcard
•
9th - 12th Grade
11 questions
2832 and 6861 Programming Flashcard

Flashcard
•
9th - 12th Grade
12 questions
CSP-A114 Flashcard

Flashcard
•
9th - 12th Grade
13 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
9 questions
PYTHON -- Lists (short)

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade