• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 29 páginas
Examen

OCR computing exam questions

Document preview thumbnail
Vista previa 3 fuera de 29 páginas

OCR computing exam questions

Vista previa del contenido

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

Información del documento

Subido en
15 de enero de 2025
Número de páginas
29
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Vendido
26
Seguidores
2
Artículos
3415
Última venta
1 mes hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes