
Python Beginner Midterm

Quiz
•
Computers
•
9th Grade
•
Medium
Strem Coaches
Used 1+ times
FREE Resource
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"
Create a free account and access millions of resources
Similar Resources on Wayground
59 questions
S3 Python to Arrays

Quiz
•
9th Grade
56 questions
CS Semester Test Review 1st semester

Quiz
•
9th - 12th Grade
61 questions
APCSA Semester Review

Quiz
•
9th - 12th Grade
56 questions
Ôn tập kiểm tra giữa học kỳ 2

Quiz
•
9th - 12th Grade
53 questions
Scratch Programming

Quiz
•
9th Grade - University
52 questions
Ulangkaji ASK Ting 2 Bab 3.1 Persekitaran Kod Arahan

Quiz
•
1st - 12th Grade
56 questions
Getting to know Python Programming :Quiz

Quiz
•
8th - 12th Grade
51 questions
EINSTEIN 2ND PERIODICAL TEST

Quiz
•
9th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade