
Quiz 1: Basic Python and Arithmetic (Codehs)
Quiz
•
Computers
•
10th Grade
•
Hard
Bryan Campbell
Used 10+ times
FREE Resource
Enhance your content in a minute
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
Create a free account and access millions of resources
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
43 questions
Bài 4, 6 chủ đề F tin 10
Quiz
•
10th Grade
40 questions
Entrepreneurship/Business Plan/College Practice Test
Quiz
•
9th - 12th Grade
35 questions
Excel 2016 Introduction
Quiz
•
10th - 12th Grade
36 questions
Computer Hardware and Networking Quiz
Quiz
•
10th Grade
40 questions
Latihan ganjil
Quiz
•
9th Grade - University
35 questions
Remedial PH Berpikir Komputasional Kelas VIII
Quiz
•
8th Grade - University
40 questions
SOAL SUMATIF 2
Quiz
•
9th - 12th Grade
40 questions
PRESAF MATPIL XI TKJ
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
