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 3 out of 18 pages
Exam (elaborations)

OCR computing exam questions EXAM QUESTIONS AND ANSWERS 100% CORRECT!!!

Document preview thumbnail
Preview 3 out of 18 pages

(2013) Explain the need for interrupts to have priorities - ANSWER To decide between interrupts and current task To choose which interrupt if 2 occur To ensure most urgent task is performed first. To ensure most efficient use of processor (2013) Describe segmentation - ANSWER A way of partitioning memory segments that are not fixed size Segments are logical divisions which complete sections the program. (2013) State the purpose of virtual memory - ANSWER To allow programs to run when there is insufficient memory available (2013) Describe how virtual memory is used - ANSWER Use of backing store as if it were main memory Uses pages Pages are moved from memory to backing store to make space for pages needed (2013) Explain one problem that may occur while using virtual memory - ANSWER Disk threshing More time spent transferring pages than processing (2013) Describe the code generation phase of translation. Your answer should include reference to optimisation - ANSWER Code generation occurs after syntax analysis. Produces a machine code program which is equivalent to the source program Variables are given addresses Relative addresses are calculated

Content preview

OCR computing exam questions
EXAM QUESTIONS AND
ANSWERS 100% CORRECT!!!

,(2013) Explain what is meant by an interrupt - ANSWER Interrupt sent to the processor
Request for processing time
Allows important tasks to be processed

(2013) State two types of interrupts - ANSWER Power failure
Software interrupt
Clock interrupt

(2013) Explain the need for interrupts to have priorities - ANSWER To decide between
interrupts and current task
To choose which interrupt if 2 occur
To ensure most urgent task is performed first.
To ensure most efficient use of processor

(2013) Describe segmentation - ANSWER A way of partitioning memory segments that
are not fixed size
Segments are logical divisions which complete sections the program.

(2013) State the purpose of virtual memory - ANSWER To allow programs to run when
there is insufficient memory available

(2013) Describe how virtual memory is used - ANSWER Use of backing store as if it
were main memory
Uses pages
Pages are moved from memory to backing store to make space for pages needed

(2013) Explain one problem that may occur while using virtual memory - ANSWER Disk
threshing
More time spent transferring pages than processing

(2013) Describe the code generation phase of translation. Your answer should include
reference to optimisation - ANSWER Code generation occurs after syntax analysis.
Produces a machine code program which is equivalent to the source program
Variables are given addresses
Relative addresses are calculated

Code optimisation makes code as efficient as possible
Increase processing speed
Number of instructions is reduced

Differences

, Parallel processors can use any processor for task
Co-processors performs specific types of task only
Parallel processors need a more complex operating system
Parallel processors are synchronised

(2013) Explain the term class - ANSWER A template for a set of objects that have state
and behaviour
They have methods and attributes represented by the rectangle on the diagram

(2013) Explain plain the term inheritance - ANSWER A derived class inherits all the
attributes and operations from its superclass shown by the arrow on the diagram

(2013) Explain the term capsulation - ANSWER Data hiding
Data can only be accessed using operations defined for the class
Maintains data integrity

(2013) Explain the need for registers - ANSWER Fast access to data for specific
purposes when frequent access is needed
Registers are used as a temporary storage

(2013) Explain the purpose of the accumulator when a program is being processed -
ANSWER Temporary storage in arithmetic logic unit
Holds data being processed during calculations
Deals with input and output in the processor

(2013) Explain why a composite key is used - ANSWER It creates one to many
relationships as a link table
It makes it 3NF
Reduces data inconsistencies

(2013) Describe features of a utility programs - ANSWER Used for the upkeep and
maintaining of the system eg virus checker

(2013) Describe the features of memory management - ANSWER Protect processes
from each other by partitioning
Forms of memory management include virtual memory, paging and segmentation

(2013) Tokens are used during compilation Describe tokens and state at what stage
they are created - ANSWER Created during lexical analysis
Used for reserved words
Each ticket is a string of binary digits of fixed length

Document information

Uploaded on
January 15, 2025
Number of pages
18
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

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.
Luckyexams
3.2
(6)
Sold
29
Followers
2
Items
2272
Last sold
3 months 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