
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
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
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
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
12 questions
Digital Citizenship BSMS
Quiz
•
6th - 8th Grade
15 questions
Prefixes: pro- and trans- Assessment
Quiz
•
7th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween History Trivia
Quiz
•
7th - 8th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
