Search Header Logo
Higher - Standard algorithm revision presentation

Higher - Standard algorithm revision presentation

Assessment

Presentation

Computers

10th Grade

Practice Problem

Easy

Created by

G Alexander-Doyle

Used 1+ times

FREE Resource

13 Slides • 8 Questions

1

media

2

media

3

media

4

Reorder

Reorder the following steps of all standard algorithms.

Set up variables

Loop to end of array

If <condition>

Do/update

End/Extras

1
2
3
4
5

5

Open Ended

Which variables would need to be set up for a find max/min algorithm?

6

media

7

Fill in the Blanks

media image

Type answer...

8

media

9

Open Ended

A position recording tends to happen more with parallel arrays rather than an array of records. Explain why this is the case.

10

media

11

media

12

Fill in the Blanks

media image

Type answer...

13

media

14

media

15

Open Ended

Why does a count occurrence algorithm need to traverse the full length of the array?

16

media

17

media

18

media

19

Multiple Choice

Which type of variable is the flag variable in a linear search?

1

Integer

2

String

3

Real number

4

Boolean

20

Open Ended

In what sort of situation might a conditional loop be used in place of a fixed loop in a linear search?

21

media
media

Show answer

Auto Play

Slide 1 / 21

SLIDE