KS3 Computing -- Iteration: FOR or WHILE?

KS3 Computing -- Iteration: FOR or WHILE?

7th - 9th Grade

10 Qs

quiz-placeholder

Similar activities

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Microbit Features Activity

Microbit Features Activity

6th - 8th Grade

9 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

9G4 CS Python Programming Sequence and Vocabs

9G4 CS Python Programming Sequence and Vocabs

9th Grade

13 Qs

Robotica 2018

Robotica 2018

5th - 9th Grade

11 Qs

Python lesson 3

Python lesson 3

8th Grade

11 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

HTML Öğreniyorum!

HTML Öğreniyorum!

8th Grade

10 Qs

KS3 Computing -- Iteration: FOR or WHILE?

KS3 Computing -- Iteration: FOR or WHILE?

Assessment

Quiz

Computers

7th - 9th Grade

Practice Problem

Hard

Created by

Jon Bridgeman

Used 35+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leo wants to write a program that will print out any times-table (up to 10 places) at the users request. Should he use:

A FOR loop

A WHILE loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Leah is writing a program that will ask the user to enter 10 numbers, and will then print the total. Should she use:

A FOR loop

A WHILE loop

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Maryam is writing a multi-choice quiz program. She wants to make sure that the user can only enter A, B or C for each question and that any other answer is rejected until an acceptable response is entered. She knows she will need a loop, but which one?

a FOR loop

a WHILE loop

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

Aran has written an average program (shown here) Which of the following statements about his program are accurate? (select as many as appropriate)

The program will not work & contains syntax errors

The program is inefficient

The program could be improved with the use of a WHILE loop

The program could be improved with the use of a FOR loop

The program is efficient

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Zoe is writing a program that will join letters together to form a single word. The user can enter as many letters as they want until the user quits by entering a * character. The program contains some errors. Are the errors in lines..

2,3,6,9 ?

3,6,7,8 ?

2,4,6,8 ?

3,6,7,9 ?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A FOR loop is...

A COUNT controlled loop

A CONDITION controlled loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A WHILE loop is...

A COUNT controlled loop

A CONDITION controlled loop

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

Already have an account?