Lesson 33 - Collection module

Lesson 33 - Collection module

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

MAKANAN HALAL DAN HARAM KLS 6

MAKANAN HALAL DAN HARAM KLS 6

6th Grade

10 Qs

OSIS SMPIT ULUL ALBAB

OSIS SMPIT ULUL ALBAB

7th Grade - University

10 Qs

Викторина «В мире шахмат»

Викторина «В мире шахмат»

1st Grade - University

15 Qs

KUIZ KBS TAHUN 2

KUIZ KBS TAHUN 2

7th - 12th Grade

10 Qs

Quiz Kurikulum Merdeka

Quiz Kurikulum Merdeka

6th - 8th Grade

10 Qs

Reka Bentuk Fesyen

Reka Bentuk Fesyen

1st - 12th Grade

15 Qs

Un poco de Deporte

Un poco de Deporte

7th - 11th Grade

10 Qs

Cuestionario de baloncesto

Cuestionario de baloncesto

5th Grade

15 Qs

Lesson 33 - Collection module

Lesson 33 - Collection module

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Practice Problem

Medium

Created by

NotchUp .co

Used 20+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?