Which is the special symbol used in python to add comments?

Python KP 1-2

Quiz
•
Computers
•
12th Grade
•
Hard

J Gabe
Used 1+ times
FREE Resource
120 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
/*...*/
#
//
$
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
Similar Resources on Quizizz
118 questions
ความรู้เกี่ยวกับกราฟิก

Quiz
•
12th Grade
116 questions
Cấu trúc dữ liệu và giải thuật

Quiz
•
12th Grade
118 questions
AM v2

Quiz
•
9th - 12th Grade
118 questions
Bài 1 Làm quen với Trí tuệ nhân tạo

Quiz
•
12th Grade
125 questions
M2 R5 Chapter 6

Quiz
•
12th Grade
120 questions
1st Spelling Words

Quiz
•
1st Grade - University
123 questions
IGCSE Unit 3 Hardware

Quiz
•
10th - 12th Grade
119 questions
ENT Combined Quiz

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University