Loops

Loops

University

9 Qs

quiz-placeholder

Similar activities

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

ITF Chapter 1 Computing Devices

ITF Chapter 1 Computing Devices

University

14 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

basic computer design

basic computer design

University

10 Qs

Network Management Week 14

Network Management Week 14

University

10 Qs

How Safe are you? (Disclaimer: I do not own these questions)

How Safe are you? (Disclaimer: I do not own these questions)

University

10 Qs

Machine Learning (Introduction)

Machine Learning (Introduction)

University

10 Qs

Determining System Requirements

Determining System Requirements

University

11 Qs

Loops

Loops

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Warren Toomey

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a loop,

code is repeated while some condition is true or across some range of values
the code only runs once
the program runs the same line of code forever
the comments are printed out to the user

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a WHILE loop

code is repeated while some condition is true
code is repeated a specific number of times
code is never repeated
code is removed from the program

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a FOR loop

code is repeated while some condition is true
code is repeated a specific number of times
code is never repeated
code is removed from the program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code inside a FOR loop is

a nested block of code
a set of comments only
never indented
never used at all

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code inside a WHILE loop is

a nested block of code
a set of comments only
never indented
never used at all

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get into a WHILE loop

the condition must be true
the condition must be false
the code must be commented
the nested code must be three lines long

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To leave a WHILE loop

the condition must be true

the condition must be false

the code must be commented

the nested code must be three lines long

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers