
Python KP 1-2
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
J Gabe
Used 1+ times
FREE Resource
Enhance your content in a minute
120 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the special symbol used in python to add comments?
/*...*/
#
//
$
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Please select the valid single line comment in Python.
# comment
"comment"
'comment'
/* comment */
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following statements are true?
A compiler scans the entire source code file and translates the whole of it into machine code at once
Compiled code tends to execute faster than interpreted code
An interpreter translates one statement of the source code at a time into machine code
None of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A data structure that can't be changed after its creation is known as _____?
immutable
mutable
duck-typed
strongly-typed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to output the string "Hello" in Python?
System.out("Hello")
printf("Hello")
print("Hello")
echo("Hello")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the following is the correct extension of the Python file?
.p
.pyt
.python
.py
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify the Python docstring comment.
Comment 1
Comment 2
Comment 3
Comment 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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
Discover more resources for Computers
15 questions
Internet Vocabulary Notebook Check #2 - CTEA(2024)
Quiz
•
12th Grade
11 questions
Internet Terms Vocabulary- Notebook Check #1- CTEA
Quiz
•
12th Grade
50 questions
Money Matters Fall 2025 Final Exam — Worksheet Questions
Quiz
•
12th Grade
47 questions
CSF Final Exam Practice
Quiz
•
9th - 12th Grade
