Lesson 33 - Collection module
Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Practice Problem
•
Medium
NotchUp .co
Used 20+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the “hello” +1+2+3?
hello123
hello
hello6
Error
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Given a string example=”hello” what is the output of example.count(‘l’)?
0
1
2
none
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is displayed on executing print(math.fabs(-3.4))?
-3.4
3.4
3
-3
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the value returned by math.fact(6)?
720
6
[1,2,3,6]
Error
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Python function if the random module has already been imported?
random.randint(3.5,7)
Error
Any integer between 3.5 and 7, including 7
Any integer between 3.5 and 7, excluding 7
The integer closest to the mean of 3.5 and 7
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output of the following Python code?
random.randrange(0,91,5)
10
18
79
95
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of these is not true about recursion?
Making the code look clean
A complex task can be broken into sub-problems
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
PENILAIAN HARIAN KELAS 6 TEMA 9 PPKn
Quiz
•
6th Grade
11 questions
Người thầy đầu tiên
Quiz
•
7th Grade
11 questions
Bài 8: Lắp ráp mô hình xe điện chạy bằng pin
Quiz
•
5th Grade
10 questions
MMA
Quiz
•
1st - 12th Grade
13 questions
Lekcja14 7-8
Quiz
•
7th - 8th Grade
10 questions
PRETEST ANBK 2024
Quiz
•
8th Grade
13 questions
Natural hazards
Quiz
•
6th Grade
10 questions
Welcome Quiz
Quiz
•
6th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Professional Development
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
