Python Loop

Python Loop

University

15 Qs

quiz-placeholder

Similar activities

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Web Application - PHP Repetition

Web Application - PHP Repetition

University

15 Qs

Python Challenge

Python Challenge

University

15 Qs

Quiz tentang Blok Scratch

Quiz tentang Blok Scratch

9th Grade - University

20 Qs

Codean - Java Loop

Codean - Java Loop

University

17 Qs

PYTHON APTITUDE

PYTHON APTITUDE

University

12 Qs

MCQs on Iterative Statements in Java

MCQs on Iterative Statements in Java

University

17 Qs

quiz1B1

quiz1B1

7th Grade - University

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