Chapter 2: Nested Loops

Chapter 2: Nested Loops

11th Grade

20 Qs

quiz-placeholder

Similar activities

Iteration

Iteration

11th Grade

20 Qs

Functions in Python

Functions in Python

9th - 12th Grade

16 Qs

Code org 1

Code org 1

5th - 12th Grade

21 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Loops

Loops

1st - 12th Grade

20 Qs

Unit 5 Quiz - Loops & Lists (code.org)

Unit 5 Quiz - Loops & Lists (code.org)

10th - 12th Grade

20 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

Grade 12-Python selection&iteration

Grade 12-Python selection&iteration

11th - 12th Grade

15 Qs

Chapter 2: Nested Loops

Chapter 2: Nested Loops

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Tsepo Mabesa

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of the variable "i" at the start of the code?

1

2

3

6

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. What is the value of j after running the code?

1

2

3

6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of iAnswer after running the code for the first iteration of the outer loop?

1

2

3

6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of iAnswer after running the code for the second iteration of the outer loop?

1

2

3

6

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times does the outer loop execute?

1

2

3

6

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How many times does the inner loop execute?

1

2

3

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the value of i in the second iteration of the inner loop?

1

2

3

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?