Past-paper question · 2014 May-June · Paper 32 · Q7(f)(i)

Question 7(f)(i) 2014 · May-June · Paper 32 · 15 marks

Question 7

Part (f)

(i)

Question 7

2000

[4]

Part (d)

(i)

How many comparisons will be made to locate LION in the current tree?

[1]

(ii)

An algorithm is designed in pseudocode. It will search the binary tree for a particular

animal.

The algorithm uses the variables below:

Variable Data type Description

SearchAnimal STRING Animal to search for

Current INTEGER The array subscript for the item currently considered

IsFound BOOLEAN Flag set to TRUE when SearchAnimal is found

Question 10

Complete the algorithm below:

//binary tree search

INPUT

IsFound ← FALSE

Current ← RootPtr

REPEAT

IF

THEN

//found

OUTPUT 'Found'

IsFound ← TRUE

ELSE

IF SearchAnimal > Data[Current]

THEN

// move right

ELSE

Current ← LeftPtr[Current]

ENDIF

ENDIF

UNTIL OR Current = 0

IF

THEN

OUTPUT SearchAnimal ' not found'

ENDIF

[5]

Question 11

A
change is made to use the two bytes as a 12-bit mantissa with a 4-bit exponent. Describe

the effect of this change on the values that can be represented, compared with the old use of the two bytes.

[2]

Question 14

6 A business has a customer services section. The business is considering a new Local Area Network (LAN) for this section.

Part (a)

Describe what is meant by a Local Area Network.

[2]

The following are some comments made by the Chief Executive to the IT Manager.

Part (b)

“I am concerned that only the staff in the Customer Services team should have access to the

LAN.”

(i)

State what authentication technique will be used for this.

[1]
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9691_s14_ms_32.pdf →

Topic relevance

Why this question appears here

72% assigned-topic match · Data types and structures › Data types and records

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9691_s14_qp_32.pdf

Keep practising this topic