Python Loop

Quiz
•
Information Technology (IT)
•
University
•
Easy
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
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
Similar Resources on Wayground
20 questions
Introduction to C# Programming

Quiz
•
10th Grade - University
20 questions
IT ELECTIVES - ROBOTICS 1ST QUIZ

Quiz
•
University
20 questions
Python

Quiz
•
University
20 questions
quiz1B1

Quiz
•
7th Grade - University
14 questions
Data Structures and Algorithms Quiz

Quiz
•
University
10 questions
Blockly Programming Quiz [Level 1A]

Quiz
•
7th Grade - University
20 questions
Python Quiz Girls in ICT Day

Quiz
•
University
19 questions
SCRATCH Programming recap

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade