
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
WJEC ICT Unit 3 Mock Revision
Quiz
•
10th - 11th Grade
40 questions
ปลายภาค-2/2563-sketchup
Quiz
•
7th - 12th Grade
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
40 questions
COMPUTER HARDWARE
Quiz
•
9th - 12th Grade
40 questions
SketchUp 2016
Quiz
•
10th Grade
40 questions
مراجعة مادة الفصل الأول الصف العاشر
Quiz
•
10th Grade
40 questions
ÔN TẬP BÀI THÔNG TIN VÀ DỮ LIỆU
Quiz
•
10th Grade
35 questions
CompTIA ITF+ Test 2-2
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade