Loops Exam

Loops Exam

11th Grade

16 Qs

quiz-placeholder

Similar activities

ICS For & While Loops

ICS For & While Loops

9th - 12th Grade

16 Qs

CSP-A114 Quiz

CSP-A114 Quiz

9th - 12th Grade

12 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 Qs

For and While Loop in Python

For and While Loop in Python

8th - 12th Grade

20 Qs

Loops

Loops

5th - 12th Grade

16 Qs

Python - Loops & Lists

Python - Loops & Lists

7th - 11th Grade

15 Qs

Iteration

Iteration

11th Grade

20 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

Loops Exam

Loops Exam

Assessment

Quiz

Computers

11th Grade

Easy

Created by

Edgardo(US/PR/Prof) Rivera

Used 6+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

On what number do programmers begin to count from?

1

2

0

3

2.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

A ________ is a loop that can execute a set of statements as long as the condition is true

3.

FILL IN THE BLANK QUESTION

2 mins • 1 pt

A _______ can be used to iterate through a sequence (list, string) or it can be used to iterate a statement a set number of times.

4.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

The _____ function returns a sequence of numbers, starting from 0 by default, and increments by 1 (by default), and ends at a specified number.

len()

range()

print()

append()

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

With the _____ statement we can stop the loop before it has looped through all the items.

break

continue

pass

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

With the ________ statement we can stop the current iteration, and continue with the next:

continue

pass

break

print

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Media Image

What will this print?

1,2,3,4

6,7,8,9

2,3,4,5

3,4,5,6

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?