Module 06 - Advanced Ifs

Module 06 - Advanced Ifs

10th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Components

Computer Components

7th - 11th Grade

13 Qs

Python Training Module Quiz

Python Training Module Quiz

KG - University

6 Qs

ბონუს ქვიზი

ბონუს ქვიზი

9th - 12th Grade

15 Qs

ICT

ICT

4th - 11th Grade

10 Qs

Asas Sains Komputer Tingkatan 1

Asas Sains Komputer Tingkatan 1

KG - 12th Grade

14 Qs

Алгоритми пошуку елементів в масиві

Алгоритми пошуку елементів в масиві

1st - 11th Grade

9 Qs

Викторина по игре Змейка

Викторина по игре Змейка

9th - 12th Grade

9 Qs

Programming Subset - Library modules

Programming Subset - Library modules

10th Grade

15 Qs

Module 06 - Advanced Ifs

Module 06 - Advanced Ifs

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Casey Devet

FREE Resource

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)

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?