Python Loop

Python Loop

University

15 Qs

quiz-placeholder

Similar activities

MakeCode Arcade Questions

MakeCode Arcade Questions

10th Grade - University

15 Qs

Chapter Quiz

Chapter Quiz

University

10 Qs

Computer Programming I Finals

Computer Programming I Finals

University

11 Qs

Conditional Statements and Loops Quiz

Conditional Statements and Loops Quiz

University

10 Qs

IT/CS Review Quizzizz

IT/CS Review Quizzizz

6th Grade - University

15 Qs

Algorithm Characteristics and Applications Quiz

Algorithm Characteristics and Applications Quiz

12th Grade - University

20 Qs

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

DSA (QUIZ 7) -Greedy Algorithms and Complexity Analysis

University

15 Qs

24-2 IT104 P1

24-2 IT104 P1

University

10 Qs

Python Loop

Python Loop

Assessment

Quiz

Information Technology (IT)

University

Easy

Created by

Ruby Chen

Used 3+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?