Mastering Review 1: Loops in Python: Unlock the Secrets of range()! 🚀

Mastering Review 1: Loops in Python: Unlock the Secrets of range()! 🚀

Assessment

Interactive Video

•

10th Grade

•

Hard

Created by

Catherine L Hulcher

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(2,10):

starts at 2 goes up to but does not include 10

starts at 0 goes up to but does not include 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(2,10,2):

start at 2 go up to but do not include 10 and count by 2

start at 0 go up to but do not include 10 and count by 2

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(1,11,3)

start at 1 go up to but do not include 11 and count by 3

start at 0 go up to but do not include 11 and count by 3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in range(10,0,-1)

start with 0; go down to 1 0 but do not include 0; count down by -1

start with 10; go down to 0 but do not include 0; count down by -1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen

This will not work

This will work