
Python Basics: IDLE and Variables Quiz
Authored by John Heatley
Information Technology (IT)
7th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
20 questions
Câu hỏi về PowerPoint
Quiz
•
4th Grade - University
22 questions
Unit-8 (QB64) Year-6
Quiz
•
6th Grade - University
21 questions
YEAR 3 ICT LENT TERM ASSESSMENT
Quiz
•
3rd Grade - University
20 questions
Computer Basics Quiz
Quiz
•
7th Grade
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
20 questions
ICT G 7 Chapter 2.1 Input and Output Devices
Quiz
•
7th Grade - University
15 questions
Understanding Loops in C Programming
Quiz
•
1st Grade - University
15 questions
Python Data Structures
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
22 questions
distributive property
Quiz
•
7th Grade
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Ethos, Pathos, Logos Practice
Quiz
•
6th - 7th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade