Python Loops

Python Loops

Professional Development

15 Qs

quiz-placeholder

Similar activities

Targeted Probe & Educate (TPE)

Targeted Probe & Educate (TPE)

12th Grade - Professional Development

10 Qs

Python Basics

Python Basics

Professional Development

10 Qs

Medicare Diabetes Prevention Program (MDPP)

Medicare Diabetes Prevention Program (MDPP)

12th Grade - Professional Development

10 Qs

Chapter 3: Institutional Fixtures and Equipment

Chapter 3: Institutional Fixtures and Equipment

Professional Development

16 Qs

MOL Public Finance and Budgeting

MOL Public Finance and Budgeting

Professional Development

17 Qs

BCLP 8 Commitment Night

BCLP 8 Commitment Night

Professional Development

10 Qs

Python Week 3

Python Week 3

Professional Development

18 Qs

SJIT ECE PLACEMENT PRACTICE TEST-9

SJIT ECE PLACEMENT PRACTICE TEST-9

Professional Development

20 Qs

Python Loops

Python Loops

Assessment

Quiz

Other

Professional Development

Hard

Created by

Ajay Tech

Used 1K+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program above

prints all the odd numbers between 1 and 20

prints all even numbers between 1 and 20

print all the odd numbers between 1 and 21

prints all the even numbers between 1 and 21

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The equivalent of the above for loop using the while syntax would be

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The above program prints

Numbers 1 to 10 in reverse order

Numbers 1 to 11 in reverse order

Numbers 1 to 10

Numbers 1 to 11

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Media Image

The program above prints

Numbers between 1 and 100 that are multiples of 5

Numbers between 1 and 100

Numbers between 1 and 100 divisible by 5

Numbers between 1 and 101 that are multiples of 5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The code above prints all numbers between 1 and 30 that are

not divisible by 5

divisible by 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program above prints the sum of

all odd numbers less than 100

all even numbers less than 100

all numbers less than 100

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The program above prints the sum of all the numbers between 0 and 101 that are

alternate odd numbers

alternate even numbers

alternate numbers

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?