
Arrays and Control Structures
Quiz
•
Computers
•
Professional Development
•
Medium
Sumea Qadraku
Used 2+ times
FREE Resource
Student preview

7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çfarë bën metoda append në Python?
Heq elementin e fundit nga lista
Shton një element në fund të listës
Shton një element në fillim të listës
Heq elementin e parë nga lista
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cili nga më poshtë është mënyra e saktë për të krijuar një array ne Python?
my_list = (1, 2, 3)
my_list = {1, 2, 3}
my_list = 1, 2, 3
my_list = [1, 2, 3]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cili nga më poshtë është përdorimi i saktë i strukturës for për të iteruar nëpër një listë?
for i in range:
for i in range(len(product_array)):
for i in [product_array]
for in in[list()]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cili nga deklaratat më poshtë përdoret për të shtuar elemente të reja në një listë ekzistuese?
list.append()
list.insert()
list.add()
list.extend()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çfarë është output-i i kodit të mëposhtëm?
["hello" "world"]
hello, world
["hello world"]
{"hello" , "world"}
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çfarë do të printojë kodi i mëposhtëm?
apple
banana
cherry
apple banana cherry
[apple, banana, cherry]
"apple, banana, cherry"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Çfarë do të printojë kodi i mëposhtëm në Python?
[0, 1, 2]
[1, 4, 9]
[0, 2, 4]
[1, 2, 3]
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