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
Variables, Inputs and Concatenation

Quiz
•
9th Grade
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
Python Quiz

Quiz
•
9th Grade
20 questions
Conditionals Quiz

Quiz
•
9th - 12th Grade
20 questions
Excel - Formulas, Functions & Formatting

Quiz
•
10th - 12th Grade
16 questions
QUIZ #1 JAVASCRIPT

Quiz
•
11th Grade
15 questions
Section 3D: Collect and process data using dictionaries

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade