Python Loop

Python Loop

University

15 Qs

quiz-placeholder

Similar activities

Tools and Shortcut Quiz - BSIS II A

Tools and Shortcut Quiz - BSIS II A

University

20 Qs

Lei de Ohm e redes

Lei de Ohm e redes

University

20 Qs

AISB223 Chapter 12: Confidentiality and Privacy Controls

AISB223 Chapter 12: Confidentiality and Privacy Controls

University

20 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Unit-1 Introduction to Cloud Computing

Unit-1 Introduction to Cloud Computing

University

20 Qs

CHAPTER 6: SYSTEM ANALYSIS AND DESIGN

CHAPTER 6: SYSTEM ANALYSIS AND DESIGN

University

14 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?