Eksamen Flashcards
(175 cards)
Hvad er en proces?
Et program med alt dens tilhørende data.
Local data:
address space, heap, open files, process-ID, parent, ownership, CPU reg. (copy)
Hvad er et program?
Et sæt instruktioner i maskinkode.
- Instruktionssekvens (objektkode).
- Oftest en fil.
- Statisk.
Hvad er en tråd?
Den mindste eksekverbare del af en proces.
Local data:
thread-ID, priority, stack.
What’s the order of the memory hierarchy?

What are the basic elements in a computer system
- Processor
- Main Memory
- I/O Modules
- System Bus
What components can be found in a processor/CPU
PC - Program counter
IR - Instruction register
MAR - Memory address register
MBR - Memory buffer register
I/O AR - input/output address register
I/O BR - input/output buffer register
Execution Unit
What is an Execution Unit?
The part of a CPU that:
- Does some arithmetic operation.
- Sets flags according to a comparison.
- Moves a value from one register to another.
What does a processor do?
It controls the operation of the computer and performs its data processing functions.
*When there is only one processor, it is often called a Central Processing Unit(CPU)
What does Main Memory do?
It stores data and programs.
This memory is typically volatile (when the computer shuts down the content of the memory is lost).
Main memory is also called primary memory or RAM.
What does I/O Modules do?
- They move data between the computer and its external environtment.
- They contain internal buffers for temporarily holding data until it can be sent on.
The external environtment consists of a variety of devices, including secondary memory devices (e.g., disks), communications equipment, and terminals.
What does the System Bus do?
It provides for communication among processors, main memory, and I/O modules.
What does a processor use to exchange data with main memory?
It uses two internal registers:
MAR (memory adress register)
MBR (memory buffer register)
What does the MAR (memory adress register) contain?
The adress in memory for the next read or write instruction.
What does MBR (memory buffer register) contain?
The data to be written into or which receives the data from from memory.
What does an I/OAR do?
It specifies a particular I/O device.
What does an I/OBR (input output buffer register) do?
It is used for the exchang of data between an I/O module and the processor.
What does DSP stand for?
And what does it do?
Digital Signal Processor
Deals with streaming signals - such as audio & video.
What is an instruction cycle?
The processing required for a single instruction. Fetching and then executing.
Which steps does a instruction cycle consist of?
- Instruction fetch
- Instruction execution
- Check for interrupts
- HALT (error stage)
What is a program execution?
A repetition of instruction execution.
A fetched instruction is loaded into what register?
IR (Instruction register)
Which four distinct actions can a machine instruction specify?
- Processor-memory action.
- Processor-I/O action.
- Data Processing action.
- Control action.
What is a processor-memory action?
Data is transferred from processor to memory or vice versa.
What is an Processor-I/O action?
Data is transferred to or from a peripheral device by transferring between the processor and an I/O module.












