
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 Wayground
20 questions
Python

Quiz
•
12th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Basic Python

Quiz
•
University
18 questions
Foundations of Programming

Quiz
•
9th - 10th Grade
20 questions
Python Basics ;)

Quiz
•
11th Grade
20 questions
Procedures and Functions

Quiz
•
10th Grade
20 questions
Introduction to Python

Quiz
•
University
25 questions
Data Types- Python

Quiz
•
7th - 11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

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

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

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

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
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
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade