
Quiz 1: Basic Python and Arithmetic (Codehs)
Authored by Bryan Campbell
Computers
10th Grade
Used 10+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
On which line will this program call an error in the console?
Line 1
Line 2
Line 3
Line 4
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be printed to the screen when the following code snippet is run?
<class str>
120
1210
<class int>
An error will occur
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In Python, what is the data type of the literal value 'Hello'?
int
float
string
None
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol is used in python to assign values to a variable?
=
+
/
*
==
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
On which line will this program call an error in the console?
Line 1
Line 2
Line 3
Line 4
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What Python function lets the user enter an response to a question via the keyboard?
answer()
open()
print()
input()
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
On which line will this program call an error in the console?
Line 1
Line 2
Line 3
Line 4
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?
Similar Resources on Wayground
40 questions
PERAKITAN KOMPUTER
Quiz
•
10th Grade
40 questions
Kuiz Komputer Online
Quiz
•
6th - 10th Grade
35 questions
Microsoft Word
Quiz
•
6th - 12th Grade
42 questions
ภาษาซี
Quiz
•
9th - 12th Grade
45 questions
Computer memory
Quiz
•
10th Grade
40 questions
KUIS BIOS
Quiz
•
10th Grade
42 questions
How the Internet Works
Quiz
•
9th - 12th Grade
40 questions
PAS SIMKOMDIG SEMESTER GENAP
Quiz
•
10th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade