Search Header Logo
Higher SDD revision

Higher SDD revision

Assessment

Presentation

Computers

8th Grade

Practice Problem

Easy

Created by

G Alexander-Doyle

Used 4+ times

FREE Resource

41 Slides • 21 Questions

1

media

2

media

3

media

4

media

5

media

Key features - Iterative development process

Development process is completed in set stages which are completed one after the other.
Documentation is produced at every stage of the development process.
The client is heavily involved at the start of the project in order to produce the requirements specification. They are also involved at the evaluation stage.
Testing is done once a completed solution has been developed.
Teams of developers with particular skills work together with some interaction between teams at the end/beginning of a stage.

6

media

Key features - Agile development process

Emphasis is placed on the development of various prototypes which are developed to form a completed solution.
There is limited documentation created for the solution.
The client is heavily involved throughout the development process, they give feedback on the prototypes which helps to shape the final solution.
Testing and evaluation is completed throughout the development process.
There is a heavy emphasis placed on teamwork and face to face communication between developers and the client.

7

Categorize

Options (14)

Distinct steps are completed in order.

Heavy emphasis on continued communication

Feedback is gathered at the end of each iteration.

Iterations are time-boxed to a fixed duration.

Progress is measured at the end of each iteration.

Changes can be made between iterations based on feedback.

Each iteration builds upon the previous one.

Detailed documentation is updated after each iteration.

Focus on customer collaboration over contract negotiation.

Promotes sustainable development practices.

Delivers working software frequently, with a preference for shorter timescales.

Values individuals and interactions over processes and tools.

Documentation is limited.

Development teams interact with the client frequently and seek feedback.

Sort the features of the agile and iterative development methodologies

Iterative
Agile

8

media

9

media

10

media

11

Open Ended

During the analysis stage, the scope and boundaries are identified. Explain these terms.

12

media

13

media

​The design stage

14

Fill in the Blank

A text-based design notation which details the main steps of the program along with refinements is called ___________?

15

Fill in the Blank

A _________ _________ is a graphical design notation which is read from top to bottom and left to right. Each level represents a refinement.

16

media

17

media

18

Multiple Choice

Which standard algorithm does this selection statement belong to?

if array[counter] > variable

1

Find minimum

2

Find maximum

3

Linear search

4

Count occurrences

19

Multiple Choice

Which standard algorithm does this selection statement and assignment belong to?

if array[counter] >= passMark

passes = passes + 1

1

Find minimum

2

Find maximum

3

Linear search

4

Count occurrences

20

Multiple Choice

Which standard algorithm does this selection statement belong to?

if computingGrade[counter] = "A" and mathsGrade[counter] = "A"

1

Find minimum

2

Find maximum

3

Linear search

4

Count occurrences

21

Multiple Choice

Which standard algorithm does this selection statement belong to?

if array[counter] < variable

1

Find minimum

2

Find maximum

3

Linear search

4

Count occurrences

22

Open Ended

Question image

Fill in the missing line 03 in the program opposite.

23

Open Ended

Question image

Fill in the missing line 09 in the program opposite.

24

Open Ended

Question image

Fill in the missing line 09 in the program opposite.

25

Open Ended

Question image

Fill in the missing line 06 in the program opposite.

26

media

27

media

28

media

29

media

30

Open Ended

Question image

A car dealership sells from a stock of 150 cars. Sample data about the cars is shown below.

A program is designed to help with car sales.

Using a programming language of your choice, define a suitable record data structure for the car data above.

 

The record data structure should be called car. (2 marks)

31

Open Ended

Question image

A car dealership sells from a stock of 150 cars. Sample data about the cars is shown below.

A program is designed to help with car sales.

Using a programming language of your choice, declare a variable called carstock which can store the details of 150 cars.  Your answer should use the record data structure created in the previous question. (2 marks)

32

media

33

media

34

media

35

Open Ended

A string variable called warehouse has been assigned the value ‘Dalkeith’ and another string variable called postcode has been assigned the value ‘EH23 8TQ’ as shown below.

Line 1: DECLARE warehouse INITIALLY "Dalkeith"

Line 2: DECLARE postcode INITIALLY "EH23 8TQ"

Line 3:

 The variable warehouseCode is to be assigned the value ‘Dal8TQ’ using substring operations. Using a programming language of your choice write line 3.

36

media

37

media

38

media

39

Draw

Highlight the call statement in blue and the function declaration in red.

40

Open Ended

Question image

Identify one formal parameter and its associated actual parameter from the following code.

41

media

42

Fill in the Blank

Question image

What is the scope of the variable index?

43

media

44

media

45

media

46

media

47

media

48

media

49

media

50

media

51

media

52

media

53

media

54

media
media

55

media

56

media

57

media

58

Fill in the Blank

Question image

A function has been written to generate numbers until a limit value is reached. The function receives three parameters and calculates an array of integers by adding the previous two numbers to create the next one. Numbers are generated while they are less than the limit given.  For example, if the parameters are first = 3, second = 6 and limit = 31.

 

Then the numbers generated will be: 

3, 6, 9, 15, 24

 

All numbers in the sequence must be smaller than the limit.  The function code is shown below.

A logic error in the code means an incorrect array of numbers if generated.  The trace table below shows the line numbers where a variable has changed.

State the missing value at A.

[
,
,
,
,
,
,
]

59

Fill in the Blank

Question image

A function has been written to generate numbers until a limit value is reached. The function receives three parameters and calculates an array of integers by adding the previous two numbers to create the next one. Numbers are generated while they are less than the limit given.  For example, if the parameters are first = 3, second = 6 and limit = 31.

 

Then the numbers generated will be: 

3, 6, 9, 15, 24

 

All numbers in the sequence must be smaller than the limit.  The function code is shown below.

A logic error in the code means an incorrect array of numbers if generated.  The trace table below shows the line numbers where a variable has changed.

State the missing value at B.

[
,
,
,
,
,
,
]

60

Fill in the Blank

Question image

A function has been written to generate numbers until a limit value is reached. The function receives three parameters and calculates an array of integers by adding the previous two numbers to create the next one. Numbers are generated while they are less than the limit given.  For example, if the parameters are first = 3, second = 6 and limit = 31.

 

Then the numbers generated will be: 

3, 6, 9, 15, 24

 

All numbers in the sequence must be smaller than the limit.  The function code is shown below.

A logic error in the code means an incorrect array of numbers if generated.  The trace table below shows the line numbers where a variable has changed.

State the missing value at C.

[
,
,
,
,
,
,
]

61

media

62

media
media

Show answer

Auto Play

Slide 1 / 62

SLIDE