
Python Basics: IDLE and Variables Quiz

Quiz
•
Information Technology (IT)
•
7th Grade
•
Hard

John Heatley
Used 2+ times
FREE Resource
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
Similar Resources on Wayground
16 questions
4.1 Kod Arahan

Quiz
•
1st Grade - University
17 questions
Introduction to Computer Coding

Quiz
•
7th Grade
25 questions
ULANGAN ALGORITMA PEMROGRAMAN KELAS 7 SEMESTER GENAP

Quiz
•
7th Grade
21 questions
Scratch level 1

Quiz
•
7th Grade
20 questions
quiz1B1

Quiz
•
7th Grade - University
22 questions
Internet and App script

Quiz
•
5th Grade - University
15 questions
Translation Quiz Instructions

Quiz
•
7th Grade
20 questions
Thử thách 7 - đường đua lập trình

Quiz
•
7th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade