Module 06 - Advanced Ifs

Module 06 - Advanced Ifs

10th Grade

10 Qs

Similar activities

PS libs and func

PS libs and func

9th - 12th Grade

6 Qs

quizz 2 info3

quizz 2 info3

3rd Grade - University

10 Qs

Tkinter 2.0

Tkinter 2.0

7th - 11th Grade

12 Qs

Python Projects Quiz

Python Projects Quiz

6th Grade - University

11 Qs

Обработка массивов в Python

Обработка массивов в Python

10th Grade

6 Qs

9.1.5 - Starter Quiz

9.1.5 - Starter Quiz

7th - 11th Grade

14 Qs

Python Unit 2 Quiz 2

Python Unit 2 Quiz 2

9th - 12th Grade

12 Qs

مراجعة

مراجعة

10th Grade

7 Qs

Module 06 - Advanced Ifs

Module 06 - Advanced Ifs

Assessment

Quiz

Created by

Casey Devet

Computers

10th Grade

Hard

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is it called when we put an if statement inside of another if statement's body?

grouping

looping

nesting

iterating

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will this code snippet print if the value of num is 12?

A

B

C

D

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

If age has the value 32, what will be printed?

GROUP 1

GROUP 2

GROUP 3

GROUP 4

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

If age has the value 14, what will be printed?

GROUP 1

GROUP 2

GROUP 3

GROUP 4

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

If age has the value 18, what will be printed?

GROUP 1

GROUP 2

GROUP 3

GROUP 4

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What will this code snippet print if the value of num is 5?

A

B

C

D

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which command will generate a random integer between 1 and 100?

random.uniform(100)

random.uniform(1, 100)

random.randint(100)

random.randint(1, 100)

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?