Lesson 33 - Collection module

Quiz
•
Professional Development, Education
•
5th - 8th Grade
•
Medium
NotchUp .co
Used 20+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Common Coding Vocabulary

Quiz
•
2nd - 8th Grade
15 questions
Programming - Screening Test

Quiz
•
3rd Grade - Professio...
15 questions
Lesson 7 - Test 1

Quiz
•
5th - 8th Grade
10 questions
Lesson 12 - Transfer statements

Quiz
•
5th - 8th Grade
10 questions
PYTHON ISHAAN2412

Quiz
•
6th - 9th Grade
15 questions
Django #1 (basic)

Quiz
•
1st Grade - Professio...
15 questions
Cunoștințele Acumulate

Quiz
•
7th Grade
15 questions
Python Basics Quiz

Quiz
•
8th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Professional Development
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
30 questions
Teacher Facts

Quiz
•
6th Grade
10 questions
Common Denominators

Quiz
•
5th Grade