Python Basics Quiz
Quiz
•
Computers
•
10th Grade
•
Practice Problem
•
Medium
Carven Mark Viado
Used 10+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main role of the print() function in Python?
To create a new file
To check variable type
To display output
To define a loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid reason to use print()?
To delete data
To format output
To open images
To save memory
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the print() function send output to?
The memory drive
The input box
The computer’s RAM
The screen display
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a variable store in a Python program?
A loop only
A condition
A single value
A random guess
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a valid purpose for using variables?
To repeat loops
To create errors
To hold data
To end tasks
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key rule when naming variables in Python?
Use capital symbols
Start with a number
Avoid special characters
End with commas
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a legal Python variable name?
2value
value_1
value-1
value.1
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
25 questions
Creación de Tablas en MS Word
Quiz
•
10th - 12th Grade
25 questions
Evaluación Correo Electrónico
Quiz
•
9th - 12th Grade
25 questions
PAS Kelas 7 Ganjil
Quiz
•
7th Grade - University
25 questions
HTML 5 (Parte 1)
Quiz
•
10th Grade
25 questions
latihan soal informatika SMALSA
Quiz
•
10th Grade
25 questions
Informatika X
Quiz
•
10th Grade
25 questions
TRẮC NGHIỆM TIN 4 BÀI 2: GÕ PHÍM ĐÚNG CÁCH
Quiz
•
5th Grade - University
25 questions
Mikrowave Link
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
