
Python 2

Quiz
•
Computers
•
9th Grade
•
Easy
Ayorinde Omojuwa
Used 1+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The correct way to convert user input is:
birth_year = number(input())
birth_year = int(input())
birth_year = (input(int))
birth_year = int(input)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the following code?
100
50
20
130
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of variables in Python?
Variables in Python are used to store data values for later use.
Variables in Python are used for decoration purposes only.
Variables in Python are used to perform mathematical operations.
Variables in Python are used to confuse the programmer.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in Python?
variable_name = value
variable_name : value
variable_name = value =
value = variable_name
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different types of conditional statements in Python?
when
unless
otherwise
if, elif, else
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for an if statement in Python?
if (condition) then
if condition:
if (condition):
if condition then:
Create a free account and access millions of resources
Similar Resources on Quizizz
22 questions
EXCEPTION HANDLING IN PYTHON

Quiz
•
University
20 questions
Basic Python

Quiz
•
University
20 questions
Python Basics ;)

Quiz
•
11th Grade
20 questions
Python turtle

Quiz
•
8th - 9th Grade
20 questions
Introduction to Python

Quiz
•
University
20 questions
Python Programming - Test 1

Quiz
•
University - Professi...
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
GCSE Computer Science: Programming (Data Structures)

Quiz
•
9th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade