Past-paper question · 2013 May-June · Paper 31 · Q5(b)(i)

Question 5(b)(i) 2013 · May-June · Paper 31 · 2 marks

Original past-paper question for 5(B)(I)
Original past-paper question for 5(B)(I)
Original past-paper question for 5(B)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 5(B)(I)

Official answer for Question 5

Part (b)

(i)

Part (b)

(i)

Optimising

✓
Code will execute/run/process faster
[1]
✓
Code requires less memory
✓
Reduce the amount of code
[1]
✓
R. ‘more efficient’ // removes redundant code

Mark scheme 9691_s13_ms_31.pdf →

Show text version of question

Question 5

Part (b)

(i)

Question 5

The following are the first few lines of a source code program written in high-level language For

XYZ which is about to be translated by the language compiler. Examiner's Use

// program written 12 June 2013 Declare IsFound : Boolean; Declare NoOfChildren : Integer; Declare Count : Integer; Constant TaxRate = 15;

// start of main program For Count = 1 To 50 … … … The final stage of compilation is code optimisation. For Examiner's Use

(i)

Explain what is meant by code optimisation.

[2]
Topic relevance

Why this question appears here

71% 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_s13_qp_31.pdf

Keep practising this topic