• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 29 pages
Exam (elaborations)

OCR computing exam questions

Document preview thumbnail
Preview 3 out of 29 pages

OCR computing exam questions

Content preview

OCR computing exam question bn bn bn


s
1.(2013) Explain what is meant by an interrupt: Interrupt sent to the p
bn bn bn bn bn bn bn bn bn bn bn bn

rocessor Request for processing time bn bn bn bn

Allows important tasks to be processed
bn bn bn bn bn

2.(2013) State two types of interrupts: Power fai
bn bn bn bn bn bn bn

lure Software interrupt
bn bn

Clock interrupt bn

3.(2013) Explain the need for interrupts to have priorities: To decide be
bn bn bn bn bn bn bn bn bn bn bn

tween interrupts and current task
bn bn bn bn

To choose which interrupt if 2 occur
bn bn bn bn bn bn

To ensure most urgent task is performe
bn bn bn bn bn bn

d first. To ensure most efficient use of
bn bn bn bn bn bn bn bn

processor
4.(2013) Describe segmentation: A way of partitioning memory segment
bn bn bn bn bn bn bn bn

s that are not fixed size
bn bn bn bn bn

Segments are logical divisions which complete sections the program.
bn bn bn bn bn bn bn bn

5.(2013) State the purpose of virtual memory: To allow programs to r
bn bn bn bn bn bn bn bn bn bn bn

un when there is insufficient memory available
bn bn bn bn bn bn


6.(2013) Describe how virtual memory is used: Use of backing store as i
bn bn bn bn bn bn bn bn bn bn bn bn

f it were main memory
bn bn bn bn

Uses pages bn

Pages are moved from memory to backing store to make space for p
bn bn bn bn bn bn bn bn bn bn bn bn

ges needed bn

7.(2013) Explain one problem that may occur while using virtual memory:
bn bn bn bn bn bn bn bn bn bn b

nDisk threshing bn

More time spent transferring pages than processing
bn bn bn bn bn bn

8.(2013) Describe the code generation phase of translation. Your answe
bn bn bn bn bn bn bn bn bn

r should include reference to optimisation: Code generation occurs aft
bn bn bn bn bn bn bn bn bn

er syntax analysis.
bn bn


Produces a machine code program which is equivalent to the source p
bn bn bn bn bn bn bn bn bn bn bn

ogram Variables are given addresses
bn bn bn bn

Relative addresses are calculated bn bn bn




Code optimisation makes code as efficient as po
bn bn bn bn bn bn bn

ssible Increase processing speed
bn bn bn

Number of instructions is reduced bn bn bn bn


9.(2013) Describe how the contents of the memory address register and
bn bn bn bn bn bn bn bn bn bn b

nthe memory data register change during the fetch-
bn bn bn bn bn bn bn

execute cycle: Memory address register
bn bn bn bn

receives address of instruct bn bn bn



1bn/
bn29

, OCR computing exam question
bn bn bn


s
ion Holds address of data
bn bn bn bn

Receives operand part of instruction from the current instruction regis
bn bn bn bn bn bn bn bn bn

er




2bn/
bn29

, OCR computing exam question
bn bn bn


s

Memory data register bn bn

Receives an instruction from memory location from memory address r
bn bn bn bn bn bn bn bn bn

gister Receives data from memory location in address part of instruct
bn bn bn bn bn bn bn bn bn bn

on
10.(2013) Compare co- bn bn

processor and parallel processor systems: Common features
bn bn bn bn bn bn


More than one processor working together to perform a
bn bn bn bn bn bn bn bn

single job Job is split into tasks
bn bn bn bn bn bn bn

Processors are controlled by a single operating s
bn bn bn bn bn bn bn

ystem Job is completed more quickly
bn bn bn bn bn




Differences
Parallel processors can use any processor
bn bn bn bn bn bn

for task Co-
bn bn

processors performs specific types of task bn bn bn bn bn b

nonly
Parallel processors need a more complex operating syst
bn bn bn bn bn bn bn

em Parallel processors are synchronised
bn bn bn bn


11.(2013) Explain the term class: A template for a set of objects that
bn bn bn bn bn bn bn bn bn bn bn bn bn

have state and behaviour
bn bn bn

They have methods and attributes represented by the rectangle on th
bn bn bn bn bn bn bn bn bn bn

bndiagram
12.(2013) Explain plain the term inheritance: A derived class inherits
bn bn bn bn bn bn bn bn bn bn

all the attributes and operations from its superclass shown by the
bn bn bn bn bn bn bn bn bn bn bn

arrow on the diagram bn bn bn

13.(2013) Explain the term capsulation: Data hiding
bn bn bn bn bn bn

Data can only be accessed using operations defined for
bn bn bn bn bn bn bn bn

bnthe class Maintains data integrity
bn bn bn bn


14. (2013) Explain the need for registers: Fast access to data for spec
bn bn bn bn bn bn bn bn bn bn bn

ific purposes when frequent access is needed
bn bn bn bn bn bn

Registers are used as a temporary storage bn bn bn bn bn bn

15.(2013) Explain the purpose of the accumulator when a program is b
bn bn bn bn bn bn bn bn bn bn bn

eing processed: Temporary storage in arithmetic logic unit
bn bn bn bn bn bn bn


Holds data being processed during calc
bn bn bn bn bn

ulations Deals with input and output in
bn bn bn bn bn bn bn

the processor bn


16.(2013) Explain why a composite key is used: It creates one to many
bn bn bn bn bn bn bn bn bn bn bn bn bn

relation- ships as a link table bn bn bn bn bn



3bn/
bn29

Document information

Uploaded on
January 15, 2025
Number of pages
29
Written in
2024/2025
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
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Sold
26
Followers
2
Items
3415
Last sold
1 month 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