Search Header Logo

Pseudocode - Iteration

Authored by Sam Knott

Computers

7th - 11th Grade

Used 76+ times

Pseudocode - Iteration
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which type of iteration should be used when you know how many times you want to loop?

Count Controlled

Condition Controlled

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which type of iteration should you use if you don't know how many times you need to loop?

Condition Controlled

Count Controlled

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is missing?


____ i = 1 To 10

OUTPUT: "String"

ENDFOR

FOR

FOUR

WHILE

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Fill in the missing blank:


_______ variable <> "Hi"

OUTPUT: "Hi to you!"

ENDWHILE

WHILST

WHILE

FOR

IF

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pick the correct answer to match the following:


A loop that will check the condition before the code inside is executed.

FOR

WHILE

REPEAT...UNTIL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pick the correct answer to match the following:


A loop that will check the condition after the code inside is executed.

WHILE

REPEAT...UNTIL

FOR

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Which of the following will run 10 times? (Choose all that apply.)

FOR i = 1 TO 10

OUTPUT: "Number " + i

ENDFOR

FOR i = 0 To 10

OUTPUT: "Number: " + i

ENDFOR

input = 10

count = 1

WHILE count <= input

OUTPUT: count

count = count + 1

ENDWHILE

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?