Computer Science OCR A Level Practice Questions and Answers
Start LDA one OUT LDA zero OUT LDA count SUB one STA count BRP start HLT One DAT 1 Zero DAT 0 Count DAT 3 Explain, giving an example, how pipelining in a CPU could speed up the execution of this program. ( 3 marks ) An instruction can be fetched as the previous one is being decoded and the one before that is being executed.E.g. LDA zero can be fetched, while OUT is being decoded and LDA start one is being executed. Describe one issue the line BRP start may cause for a CPU using pipelining. (2 marks) BRP could be followed by one of two possible instructions, which one will only be determined at execution .Meaning the wrong one may be fetched / decoded. Pipelining is one factor that affects the performance of a CPU. Identify one other factor. ( 1 mark) clock speed Name and describe three buses used to convey information between the special registers. ( 6 marks) Control bus : transmits control signals from the control unit to other parts of the processor. Data bus : carries the data from one place to another. Address bus : carries the location address where the data is going to or from. What does the Program Counter (PC) do? ( 2 marks) Is needed to store the address of the next instruction to be processed. Value is then sent to the MAR .After sending the value the PC is incremented and changed to address held in CIR if the operation is a Jump. What does the memory address register do ( MAR )? ( 2 marks) Contains the address of the instruction to be accessed in memory , address of instruction sent from PC .Contains the address of the data to be accessed in memory , address of data sent from CIR.
Written for
- Institution
- A Level Computer Science
- Course
- A Level Computer Science
Document information
- Uploaded on
- February 12, 2024
- Number of pages
- 7
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
computer science ocr a level practice questions a
-
start lda one out lda zero out lda count sub one s
-
explain giving an example how pipelining in a cp
-
describe one issue the line brp start may cause f
Also available in package deal