
CS1 AA2 Part 2 (Multiple Choice)
Authored by CSU 2021
Computers
7th Grade
Used 8+ 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
Which operator is used for exponentiation in Python?
%
**
^
//
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which method is used to read input from the keyboard in Python?
read(input)
input()
getInput()
read()
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data type would be best for storing a person's age in Python?
String
Float
Integer
Character
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a valid variable name in Python?
first_name
1stName
name_1
_name
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will the following code print? print(8/4)
2
2.0
2.00
'2'
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the result of 9%2 in Python?
4.5
1
0
4
7.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
How is a string displayed in Python?
Using single quotes on new lines
Using double quotes on new lines
Enclosed between single quotes('')
Enclosed between double quotes("")
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?