Python Loop

Python Loop

University

15 Qs

quiz-placeholder

Similar activities

NET102:  Quiz No. 1

NET102: Quiz No. 1

University

20 Qs

IT for Managers M1

IT for Managers M1

University

20 Qs

học Quản Trị Tri Thức chưa người đẹp??

học Quản Trị Tri Thức chưa người đẹp??

University

10 Qs

Quizziz Vue.js

Quizziz Vue.js

University

18 Qs

TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

University

11 Qs

MongoDB Concepts 2

MongoDB Concepts 2

University

10 Qs

QUIZ-group5

QUIZ-group5

University

10 Qs

ISP and Data Packets Part 2

ISP and Data Packets Part 2

University

15 Qs

Python Loop

Python Loop

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Ruby Chen

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An infinite loop is :A loop runs infinite times when the condition-------------.

never fails

run one time

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Print i as long as i is less than 6 and i is initiated with the value of 1 :


Which program is correct

Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python while loop It continually executes the statements(code) as long as the given condition is ----------

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

FOR loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

5.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

WHILE loops are

loops which run an unknown number of times

loops which run for a specific number of times

the same as if statements

not part of programming

6.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which kind of loop would be used?


I need a program that will keep letting me add money to a piggy bank until I get to £100.

FOR Loop

WHILE Loop

7.

MULTIPLE CHOICE QUESTION

1 min • 12 pts

Which kind of loop would be used?


I need a program that will keep letting me add a monthly payment for 12 months.

FOR Loop

WHILE Loop

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?