Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 7 pages
Exam (elaborations)

Computer Science OCR A Level Practice Questions and Answers

Document preview thumbnail
Preview 2 out of 7 pages

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. What does the memory data register do ( MDR) (2 marks) Contains the instruction which has been accessed from memory . Contains the data which has been accessed from memory . That is referenced by the MAR . Acts as a buffer Describe two ways in which the accumulator is used? ( 4 marks ) Temporary storage for data being processed during calculations in the arithmetic logic unit. Used as a buffer . Stored data and control info. Describe the role of the control unit in the processor. ( 2 marks) Decodes instructions. Sends control signals to coordinate movement of data through the processor / execute instruction. .Controls buses


Document information

Uploaded on
June 4, 2024
Number of pages
7
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Salano
3.0
(1)
Sold
6
Followers
3
Items
1053
Last sold
1 year ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.