
Python Basics: IDLE and Variables Quiz
Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard
John Heatley
Used 2+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the Python program where you can write and run code interactively, line by line?
IDLE
Word
Excel
Paint
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which mode in IDLE lets you type one line at a time and see the result straight away?
Script mode
Interactive mode
Sleep mode
Print mode
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in Python?
A type of fruit
A place to store information
A kind of computer
A colour
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to assign a value to a variable in Python?
+
=
$
&
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print in interactive mode? ```python x = 5 print(x) ```
x
5
print(x)
Nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a valid variable name in Python?
2cats
cat_2
cat-2
cat 2
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between interactive mode and script mode in IDLE?
Interactive mode runs one line at a time, script mode runs a whole file
Script mode is only for drawing
Interactive mode is for emails
There is no difference
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
20 questions
EVALUACIÓN: TERCER BIMESTRE CONFIGURACION DE REDES LAN
Quiz
•
6th - 8th Grade
25 questions
KELAS 6 Analisis Data B. Langkah-Langkah Analisis Data
Quiz
•
6th Grade - University
20 questions
Thử thách 8 - đường đua lập trình lớp 7
Quiz
•
7th Grade
20 questions
Thử thách 9 - đường đua lập trình - tin 7
Quiz
•
7th Grade
20 questions
Worksheet 4
Quiz
•
6th - 8th Grade
15 questions
Scratch Programming: Loops and Logic
Quiz
•
7th Grade
20 questions
soal informatika bab 3 kelas 7
Quiz
•
7th Grade - University
15 questions
Excel 7-klass 01.02.2025
Quiz
•
7th 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 Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
16 questions
Adding and Subtracting Integers
Quiz
•
7th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
