Past-paper question · 2016 May-June · Paper 31 · Q7(d)(i)

Question 7(d)(i) 2016 · May-June · Paper 31 · 1 mark

Original past-paper question for 7(D)(I)
Original past-paper question for 7(D)(I)
Original past-paper question for 7(D)(I)
Reveal official mark-scheme answer

Official answer for Question 7

Part (d)

(i)

Part (d)

(i)

Altering the object code so that it runs faster // takes up less memory

[1]

Mark scheme 9691_s16_ms_31.pdf →

Show text version of question

Question 7

Part (d)

(i)

Question 7

The following are the initial lines of a program written in a high-level language.

// scheduling program // program written 09 June 2015 DECLARE Counter : INTEGER ; DECLARE Jobs[1000] : STRING ; DECLARE Position[1000]: INTEGER ; CONSTANT ChangeRate = 5.0 ;

// start of main program CALL InitialiseGrid ; WHILE Counter < 1000 a = x + y ; b = x + y + 7 ;

This program is about to be translated by the language compiler. The final stage of the compilation process is to optimise the code.

(i)

State what is meant by code optimisation.

...........................................................................................................................................

......................................................................................................................................

[1]
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_s16_qp_31.pdf

Keep practising this topic