
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
54 questions
Grade 6 ICT Review - Noah

Quiz
•
8th Grade - University
55 questions
Python Basics Quiz

Quiz
•
9th Grade
59 questions
HTML, CSS, and Design

Quiz
•
6th - 12th Grade
57 questions
PCSE

Quiz
•
9th - 12th Grade
60 questions
Programming Basics Quiz

Quiz
•
9th Grade
55 questions
2.2 Programming

Quiz
•
9th - 11th Grade
52 questions
ICT CBP Q3 Periodical Test

Quiz
•
9th Grade - University
57 questions
Cybersecurity Unit 4

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade