Loops

Loops

10th Grade

10 Qs

quiz-placeholder

Similar activities

J277 - 1.1 Systems Architecture MCQs 2

J277 - 1.1 Systems Architecture MCQs 2

10th - 11th Grade

11 Qs

ICT Functional Skills Quiz 1

ICT Functional Skills Quiz 1

10th Grade

10 Qs

Test- zaj. komp - klasa 4

Test- zaj. komp - klasa 4

KG - University

14 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Testing Software

Testing Software

9th - 12th Grade

9 Qs

Electronic Component

Electronic Component

10th Grade

15 Qs

MODULE 8 PRE TEST

MODULE 8 PRE TEST

10th Grade

10 Qs

Installing and Carrying Out  Variation of Application Software

Installing and Carrying Out Variation of Application Software

10th Grade

10 Qs

Loops

Loops

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Andrei Chete

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat a fixed number of times use a

while loop

if loop

for loop

indentation

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat until a particular condition is true use

while loop

if loop

for loop

indentation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 The character that must be at the end of the line for if, while, for etc.

;

+

\;

:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many times does the following program print the word ‘computer’:

word= "computer"  

for num in range(1,6):     

print(word)

1

5

6

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is iteration?

The repetition of steps within a program

A decision point in a program

The order in which instructions are carried out

Testing a program to make sure it works

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is iteration important?

It determines the order in which instructions are carried out

It allows multiple paths through a program

It allows code to be simplified by removing duplicated steps

It ensures the code works correctly

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which two statements are used to implement iteration?

IF and WHILE

FOR and WHILE

ELSE and WHILE

IF and ELSE

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?