
PP FINAL V2

Passage
•
Special Education
•
University
•
Easy
Динара Альменбетова
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What arithmetic operators cannot be used with strings ?
A)*
B)+
C)-
D)All of the mentioned
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet ?
d = {"john":40, "peter":45}
"john" in d
a) True
b) False
c) None
d) Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code ?
import random
random.choice([10.4, 56.99, 76])
a) Error
b) Either 10.4, 56.99 or 76
c) Any number other than 10.4, 56.99 and 76
d) 56.99 only
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function re.search do?
a) matches a pattern at the start of the string
b) matches a pattern at any position in the string
c) such a function does not exist
d) none of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code snippet ?
d = {"john":40, "peter":45}
print(list(d.keys()))
a) ["john", "peter"]
b) ["john": 40, "peter": 45]
c) {"john", "peter"}
d) ("john": 40, "peter": 45)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the ‘return’ keyword do in a function ?
a) Terminates the function
b) Returns a value from the function
c) Skips the function
d) Declares a variable
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet ?
def multiply(a, b=2):
return a * b
result = multiply(5)
print(result)
a) 5
b) 10
c) 2
d) 7
Create a free account and access millions of resources
Similar Resources on Wayground
21 questions
Discapacidad auditiva

Quiz
•
University
30 questions
tâm lý y học

Quiz
•
University
30 questions
PRE-POST TEST OF INTERNAL SEMINAR 1 (DM+PPL+FS)

Quiz
•
KG - Professional Dev...
30 questions
MID PKK Sem 5 22-23

Quiz
•
2nd Grade - University
22 questions
Topik 3 - mendesain penilaian hasil belajar peserta didik dengan

Quiz
•
University
23 questions
examen campos intervención

Quiz
•
University
23 questions
A+ CompTia (Part one)

Quiz
•
University
30 questions
ПЗ Проезд перекрестков, остановок и ж/д переездов

Quiz
•
University - Professi...
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
Discover more resources for Special Education
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University