Lesson 10 - Decision control statements

Lesson 10 - Decision control statements

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Lesson 12 - Transfer statements

Lesson 12 - Transfer statements

5th - 8th Grade

10 Qs

Lesson 42 - file related functions

Lesson 42 - file related functions

5th Grade

10 Qs

Lesson 33 - Collection module

Lesson 33 - Collection module

5th - 8th Grade

10 Qs

Lesson 27 – Concept of arguments

Lesson 27 – Concept of arguments

5th - 8th Grade

10 Qs

Lesson 34 - Math & OS module

Lesson 34 - Math & OS module

5th - 8th Grade

12 Qs

Lesson 22 - Test-3

Lesson 22 - Test-3

5th - 8th Grade

15 Qs

Lesson 28 - Recursive and anonymous function

Lesson 28 - Recursive and anonymous function

5th - 8th Grade

10 Qs

Lesson 43 - Dictionary Datatype 1

Lesson 43 - Dictionary Datatype 1

5th - 8th Grade

10 Qs

Lesson 10 - Decision control statements

Lesson 10 - Decision control statements

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Medium

Created by

NotchUp .co

Used 108+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of following code ?

perfect

imperfect

12

none

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the following code ?

26

25

50

none

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the maximum choices will we have in 2 level nested if else hierarchy ?

3

4

5

6

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

From the code below write for what condition else block will be executed ?

never execute

when a<18

when a=18

when a>=18

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of the following code ?

True

False

both True and false

none

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will be the output of following code ?

False

True

True

False

True

Error

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

what will be the output of the following statement ?

print(str(int(float(int(5.6)))))

'5'

5

'5.6'

5.6

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?