
KP1-PyBasic
Quiz
•
Arts
•
2nd Grade
•
Medium
MrsT Voci
Used 3+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following is used to define a block of code in Python?
Brackets
Indentation
Key
All the above
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
An operation that modifies a variable without making a copy is known as ....
in-place operation
mutability operation
constant time operation
static typed operation
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which one of the following is the correct extension of the Python file?
.python
None of these
.p
.py
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A data structure where the type or the class is less important than the methods it defines is known as what?
mutable
duck-typed
strongly-typed
immutable
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following characters is used for single-line comments in Python?
//
#
/*
!
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following lines represents a valid comment?
fibbonacci_code = //[1, 1, 2, 3, 5, 8]
x,y, z, number = 10, 15, 16, 21 "" More Content ""
# print('Content')
print /*('Hello World')*/
7.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Identify the Python docstring comment.
` First Comment `
" "Second Comment" "
" " "Third Comment" " "
// Last Comment
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Lion King Trivia
Quiz
•
KG - University
13 questions
Notes and Rests (Intro)
Quiz
•
KG - 2nd Grade
11 questions
Photographie Social (Rep.2)
Quiz
•
2nd Grade
13 questions
Video Game Unit
Quiz
•
1st - 5th Grade
18 questions
URI
Quiz
•
1st Grade - University
12 questions
Théâtre
Quiz
•
1st - 12th Grade
20 questions
Note names Treble and Bass (No ledger lines)
Quiz
•
2nd - 12th Grade
18 questions
D string notes: violin
Quiz
•
2nd - 8th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade