Question 7(d)(i) 2016 · May-June · Paper 32 · 1 mark
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
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.
...........................................................................................................................................
......................................................................................................................................
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_32.pdf
