for loop python

for loop python

9th Grade

10 Qs

quiz-placeholder

Similar activities

PTS  genap kelas 9

PTS genap kelas 9

9th Grade

10 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

G7 - Ôn tập C1,2

G7 - Ôn tập C1,2

KG - University

10 Qs

TIK KLS 7-8 PAS Genap 2022-2023

TIK KLS 7-8 PAS Genap 2022-2023

9th - 12th Grade

15 Qs

Scratch_CB8

Scratch_CB8

9th Grade

13 Qs

for loop python

for loop python

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Manju Vishnu Sankar

Used 58+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers