Search Header Logo
Higher SDD - Algorithm specification (Find Max/Min)

Higher SDD - Algorithm specification (Find Max/Min)

Assessment

Presentation

•

Computers

•

8th Grade

•

Practice Problem

•

Medium

Created by

G Alexander-Doyle

Used 3+ times

FREE Resource

13 Slides • 5 Questions

1

media

2

media

​Aims 

We are learning how to implement find maximum and find minimum algorithms which traverse arrays or arrays of records. 

 

Achievements (theory) 

  • I can write the code required to implement the standard algorithms in Python. Specifically, I can initialise and update variables, loop through an array/array of records with a fixed or conditional loop 

  • set up a condition to test a criteria 

  • return the position of a given piece of data within an array/array of records 

  • I can predict the how the values of variables will change during the execution of a standard algorithm 

 

Achievements (practical) 

  • I can implement a find max algorithm in Python. 

  • I can implement a find minimum algorithm in Python. 

​

​Aims 

We are learning how to implement find maximum and find minimum algorithms which traverse arrays or arrays of records. 

 

Achievements (theory) 

  • I can write the code required to implement the standard algorithms in Python. Specifically, I can initialise and update variables, loop through an array/array of records with a fixed or conditional loop, set up a condition to test a criteria, return the position of a given piece of data within an array/array of records 

  • I can predict the how the values of variables will change during the execution of a standard algorithm 

 

Achievements (practical) 

  • I can implement a find maximum and a find minimum algorithm in Python. 

3

media

4

media

5

media

6

Multiple Select

Question image

When using Python, which coding constructs are used in an input validation algorithm?

1

Assignment

2

Selection

3

Fixed loop

4

Conditional loop

7

media

8

Multiple Select

Question image

When using Python, which coding constructs are used in a running total algorithm?

1

Assignment

2

Selection

3

Fixed or conditional loop

4

Type casting

9

media

10

media

11

media

12

Multiple Select

Question image

Which coding constructs are used in a find max/find min algorithm?

1

Assignment

2

Selection

3

Fixed loop

4

Conditional loop

13

Open Ended

Question image

Complete line 6 of the find max algorithm code.

14

media

15

media

16

media

17

Open Ended

Question image

What would the output be from running the code shown?

18

media

​Aims 

We are learning how to implement find maximum and find minimum algorithms which traverse arrays or arrays of records. 

 

Achievements (theory) 

  • I can write the code required to implement the standard algorithms in Python. Specifically, I can initialise and update variables, loop through an array/array of records with a fixed or conditional loop 

  • set up a condition to test a criteria 

  • return the position of a given piece of data within an array/array of records 

  • I can predict the how the values of variables will change during the execution of a standard algorithm 

 

Achievements (practical) 

  • I can implement a find max algorithm in Python. 

  • I can implement a find minimum algorithm in Python. 

​

​Aims 

We are learning how to implement find maximum and find minimum algorithms which traverse arrays or arrays of records. 

 

Achievements (theory) 

  • I can write the code required to implement the standard algorithms in Python. Specifically, I can initialise and update variables, loop through an array/array of records with a fixed or conditional loop, set up a condition to test a criteria, return the position of a given piece of data within an array/array of records 

  • I can predict the how the values of variables will change during the execution of a standard algorithm 

 

Achievements (practical) 

  • I can implement a find maximum and a find minimum algorithm in Python. 

pattern-tertiary
media

Show answer

Auto Play

Slide 1 / 18

SLIDE