
Python Beginner Midterm
Authored by Strem Coaches
Computers
9th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
56 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to add comments in Python?
//
#
%
@
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable declaration in Python?
var name = "John"
name: "John"
name = "John"
string name = "John"
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? print("Hello, World!")
Hello World
"Hello, World!"
Hello, World!
print("Hello, World!")
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of error is present in the following line of code? print("Hello, World!)
Syntax Error
Runtime Error
Logical Error
Name Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 10 / 2?
6
5.0
10
10.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3 ** 2?
6
9
8
27
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code output? print("Hello" + " " + "World")
HelloWorld
Hello World
"Hello World"
"Hello" + " " + "World"
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
55 questions
PAS TIK KELAS 6
Quiz
•
6th Grade - University
59 questions
grade 10 1st exam
Quiz
•
1st Grade - University
51 questions
Information Technology Quiz 1 of 3
Quiz
•
9th - 12th Grade
51 questions
Soal Ujian PAT Tahun 2023/2024
Quiz
•
9th Grade
60 questions
Programación
Quiz
•
KG - Professional Dev...
54 questions
Đề cương ôn tập Cuối kỳ 2 - Tin học 9
Quiz
•
9th Grade
55 questions
DDPTJKT - Penilaian Individual
Quiz
•
4th Grade - University
55 questions
AutoCAD Certification Quizziz
Quiz
•
9th - 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