
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
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
Similar Resources on Wayground
119 questions
ĐỀ CƯƠNG GIỮA KÌ II - TIN HỌC 11

Quiz
•
11th Grade - University
115 questions
Tin 12 kì 1

Quiz
•
12th Grade
121 questions
nghề

Quiz
•
12th Grade
124 questions
Quiz về thuốc tác dụng trên hệ thần kinh

Quiz
•
12th Grade
118 questions
IT Fundamentals Fall 2021 (Broughton)

Quiz
•
8th - 12th Grade
120 questions
A2 CS P2 - Knowledge check mmd

Quiz
•
12th Grade
116 questions
Compia A+ core 2

Quiz
•
12th Grade
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