
Basic Programming
Authored by Duong Trinh
Information Technology (IT)
9th Grade
Used 1+ 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
20 sec • 1 pt
IDLE has two main windows. What are their names?
A. Browser and Shell
B. Program editor and Python shell
C. File explorer and Editor
D. Terminal and Compiler
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a string in Python?
A. A number inside brackets
B. A series of characters inside quote marks
C. A function used for calculations
D. A saved file in Python
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is a variable in Python?
A fixed storage location that cannot change
A named memory location that stores values
A type of function
A Python keyword
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What happens to the values stored in variables when a program stops running?
They are permanently saved
They are stored in a file
They are lost from memory
They are converted to strings
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What goes inside the brackets of a print command?
C. File names
A. Only numbers
B. The content you want displayed
D. Variable assignments
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these is the correct way to assign the number 29.99 to a variable?
19.99 = TicketCost
TicketCost = 29.99
TicketCost : 19.99
TicketCost = 19.99
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a valid rule for naming variables in Python?
Must start with a letter or underscore
Must not contain spaces
Can use letters, digits, and underscores
Must always start with a capital letter
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?