
day 2

Quiz
•
Computers
•
University
•
Hard
yousof diaa
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
1. What is the correct way to declare an empty list in Python?
my_list = list[]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. In Python, how do you access the value associated with the key 'age' in the dictionary person?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = "moyo"
for( i in x) :
print(i)
predict output ?
moyo
m
o
y
o
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
my_dict = {'apple': 3, 'banana': 2, 'orange': 5}
result = len(my_dict.keys())
result2 = len(my_dict)
print(result, result2)
3,6
6,3
3,3
error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5.how to print a dictionary in Python?
print(dictionary_name{})
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
n = 1
while(n>0) :
n = n+1
what happens ?
infinite loop
the loop doesnt start
n reaches 1000 and stops
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What does the append function do with a list in Python?
it adds an element into the beginning of the list
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Intro to Programming Quiz

Quiz
•
University
15 questions
Module 1.4 Questions

Quiz
•
12th Grade - University
15 questions
ICTLecture#2

Quiz
•
University
9 questions
PreTest

Quiz
•
University
15 questions
Python Language Programming

Quiz
•
University
15 questions
Quiz 2

Quiz
•
University
9 questions
OCR A Level Computer Science (H446) - Component 1.3.1 - Compression, Encryption and Hashing

Quiz
•
11th Grade - University
9 questions
AI Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University