
Python 2
Quiz
•
Computers
•
9th Grade
•
Easy
Ayorinde Omojuwa
Used 1+ times
FREE Resource
Enhance your content in a minute
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
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
23 questions
Dasar Komputer
Quiz
•
10th Grade
18 questions
tableur
Quiz
•
University
22 questions
Text and Image representation
Quiz
•
11th Grade
20 questions
Validasi Sumber Data dan Komputasi
Quiz
•
10th Grade
20 questions
Intoduccion a Excel
Quiz
•
University
20 questions
Chapter 1: Testing Fundamentals
Quiz
•
University
19 questions
Getting Started with MS Office
Quiz
•
7th - 12th Grade
20 questions
Q1 M 5 POST TEST
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
