for loop python

for loop python

9th Grade

10 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Introduction to Python

Introduction to Python

9th Grade

10 Qs

PYTHON

PYTHON

9th Grade

14 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

Guided Notes 5.2 Python For Loop

Guided Notes 5.2 Python For Loop

9th Grade

10 Qs

Python Loops

Python Loops

9th - 11th Grade

12 Qs

10 CS // Pseudocode

10 CS // Pseudocode

9th - 11th Grade

10 Qs

for loop python

for loop python

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Manju Vishnu Sankar

Used 55+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will this code do?

Print Numbers 1-11

Print Numbers 1-10

Print Numbers 2-10

Print Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

what will this display?

0,1,2,3,4,5

0,1,2,3,4

1,2,3,4,5

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

For i in range(6):

print('Happy Python'). How many times Happy Python will be printed?

4

5

6

7

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What are the syntax errors in this code?

:

Not indented

Both options

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image
What will print?
1
2
11
1
2
21
1
2
3
11
1
2
3
21

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of range(1,10)

0123456789

123456789

1 to 10

012345

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

In a Python program, what would be the increment value for the looping variable in the FOR LOOP code?

15

7

10

1

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?