Computer Science 9608 · 4

Processor fundamentals

32 questions. Open a question to solve it and check the official answer.

Reset
2015 October-November · Paper 11 · Q2(b)

CPU architecture · 4 marks · official answer ready

(b) State the role of each of the following special purpose registers used in a typical processor. Program Counter ................................................................…

2015 October-November · Paper 13 · Q2(b)

CPU architecture · 4 marks · official answer ready

(b) State the role of each of the following special purpose registers used in a typical processor. Program Counter ................................................................…

2015 October-November · Paper 31 · Q2(c)(ii)

Assembly language · 2 marks

(ii) Rewrite the equivalent code given above to show the effect of it being processed through this final stage. ...................................................................…

2015 October-November · Paper 31 · Q2(c)(iii)

Assembly language · 2 marks

(iii) State two benefits of the compilation process performing this final stage. Benefit 1 ........................................................................................…

2015 October-November · Paper 32 · Q2(d)(iii)

Assembly language · 0 marks

(iii) These lines of code are to be compiled: X A + B Y A + B + C Following the syntax analysis stage, object code is generated. The equivalent code, in assembly language, is show…

2015 October-November · Paper 33 · Q2(c)(ii)

Assembly language · 2 marks

(ii) Rewrite the equivalent code given above to show the effect of it being processed through this final stage. ...................................................................…

2015 October-November · Paper 33 · Q2(c)(iii)

Assembly language · 2 marks

(iii) State two benefits of the compilation process performing this final stage. Benefit 1 ........................................................................................…

2015 October-November · Paper 42 · Q8

Assembly language · 10 marks

8 : : 1999 2000 [2] (ii) Another procedure call is made: Add("Drive", "Laufwerk") Explain the problem that occurs when this key-value pair is saved. ..............................…

2015 October-November · Paper 42 · Q8(a)(i)

Assembly language · 15 marks

(i) Dry-run this assembly language program using the trace table. 500 LDD 512 501 ADD 509 502 STO 512 503 LDD 511 504 INC ACC 505 STO 511 506 CMP 510 507 JPN 500 508 END 509 7 510…

2015 October-November · Paper 42 · Q8(a)(ii)

Assembly language · 12 marks

(ii) Explain the role address 511 has in this assembly language program. ..........................................................................................................…

2015 October-November · Paper 42 · Q8(b)(i)

Assembly language · 18 marks

(i) Complete the pseudocode. 01 TRY 02 OPENFILE ........................................................................................................... 03 EXCEPT 04 ..........…

2015 October-November · Paper 42 · Q8(b)(ii)

Assembly language · 18 marks

(ii) Explain the reason for including lines 01, 03, 04, 05. .......................................................................................................................…

2015 May-June · Paper 11 · Q8(c)

CPU architecture · 6 marks · official answer ready

(c) The table shows six stages in the von Neumann fetch-execute cycle. Put the stages into the correct sequence by writing the numbers 1 to 6 in the right hand column. Sequence De…

2015 May-June · Paper 12 · Q8(c)

CPU architecture · 6 marks · official answer ready

(c) The table shows six stages in the von Neumann fetch-execute cycle. Put the stages into the correct sequence by writing the numbers 1 to 6 in the right hand column. Sequence De…

2015 May-June · Paper 13 · Q2

Assembly language · 5 marks · official answer ready

2 Assemblers translate from assembly language to machine code. Some assemblers scan the assembly language program twice; these are referred to as two-pass assemblers. The followin…

2015 May-June · Paper 13 · Q5(b)(i)

CPU architecture · 1 mark · official answer ready

(i) Describe what is happening at step 2. .........................................................................................................................................…

2015 May-June · Paper 13 · Q5(b)(ii)

CPU architecture · 1 mark · official answer ready

(ii) Describe what is happening at step 3. ........................................................................................................................................…

2015 May-June · Paper 13 · Q5(b)(iii)

CPU architecture · 1 mark · official answer ready

(iii) Describe what is happening at step 4. .......................................................................................................................................…

2015 May-June · Paper 13 · Q5(c)

CPU architecture · 2 marks · official answer ready

(c) Describe what happens to the registers when the following instruction is executed: LDD 35 .....................................................................................…

2015 May-June · Paper 13 · Q7(a)(i)

Assembly language · 1 mark · official answer ready

(i) Show the contents of the Accumulator after execution of the instruction: LDD 121 Accumulator: [1]