
Python Chapter 2 Quiz
Authored by Anthony R
Computers
8th Grade
Used 37+ 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
1 min • 1 pt
Which of the following statement is correct?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type represents a whole number?
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What data type is a in this code : a = "5"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What command do we use to tell Python to accept user input from the console?
read()
input()
scanf()
open()
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does the statement 'print' do?
Output a hard copy of a program to a printer
Output a message to the console
Print a hard copy of a flowchart to a computer
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable?
A number
A message input by the user
A location in memory used to store data
A string with variable length
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is correct?
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?