Python Programming Quiz

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Standards-aligned
CRYSTAL DEMOURA
Used 7+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Can a number be a string? True or False.
True
False
Tags
CSTA
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
_______ is the process of reducing complexity by hiding unnecessary information and focusing on what is needed to make it work.
Loop
Formality
Abstraction
Function
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the % operator do in Python?
Calculates the leftovers
Calculates the dividend
Calculates the product
Calculates the remainder
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of print("hello" + 1 + 2 + 3)?
Error
hello123
hello6
"hello"123
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following checks if x is equal to y?
if x = y:
if x == y:
if x != y:
if x >= y:
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command will correctly ask the user for their age and save it as an integer?
age = input("What is your age?")
age = int(input("What is your age?"))
age = float(input("What is your age?"))
age = int(input("What is your age?"))
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following checks if x is not equal to y?
if x not = y:
if x == y:
if x =! y:
if x != y:
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Javascript Basics

Quiz
•
9th - 12th Grade
20 questions
CodeHS - Intro to Python - Basics and Console Interaction

Quiz
•
9th Grade - Professio...
16 questions
C-Programming Basics

Quiz
•
12th Grade
21 questions
Basic Python Console Operations

Quiz
•
10th Grade - University
20 questions
Python Basic 1

Quiz
•
12th Grade
20 questions
Python Basics ;)

Quiz
•
11th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Javascript Conditional Statements

Quiz
•
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