Search Header Logo
Pseudocode assessment

Pseudocode assessment

Assessment

Presentation

•

Computers

•

9th Grade

•

Practice Problem

•

Hard

Created by

Ahmed Ahsam

Used 4+ times

FREE Resource

1 Slide • 6 Questions

1

media
Pseudocode

2

Multiple Choice

A conditional statement which is more appropriate when you have many conditions to choose from

1

WHILE ... DO ... ENDWHILE

2

FOR... TO ... NEXT

3

CASE ... OF ... OTHERWISE ... ENDCASE

4

IF ... THEN ... ELSE ... ENDIF

3

Fill in the Blanks

Which loop is used when the number of repetition is known?

Type answer...

4

Multiple Choice

Find the error in the program to find the average of 5 numbers

1 total = 0

2 FOR count = 1 TO 5

3 INPUT num

4 total = total + num

5 average = total / 5

6 NEXT count

1

Total should be initiated with 1

2

count should have been initiated before FOR loop

3

average should be calculated after the FOR loop

4

total should be calculated outside the loop

5

Multiple Choice

What is the post-condition loop structure?

1

WHILE... DO... ENDWHILE

2

FOR... TO... NEXT

3

CASE... OF... OTHERWISE

4

REPEAT... UNTIL

6

Fill in the Blanks

What is an algorithm?

Type answer...

7

Multiple Choice

What will be the output of the following code?

count = 1

WHILE count < 3 DO

PRINT count

count = count + 1

ENDWHILE

1

1

2

1

2

3

3

1

2

4

2

3

pattern-tertiary
media
Pseudocode

Show answer

Auto Play

Slide 1 / 7

SLIDE