Computer System Fundamentals Flashcards

1
Q

Describe the function of the address bus and its direction

A

The address bus carries the address of the piece of memory or I/O device to be read from or written to. It is unidirectional and data travels from the CPU to memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the function and direction of the data bus

A

The data bus carries the data that is to be written or has been read from memory. It is bidirectional and carries data to or from memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the function of the control bus

A

The control bus carries signals that control the actions of the computer. e.g. one line of the control bus may be the read/write line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the differences and similarities between SRAM and DRAM

A

DRAM: Must be constantly refreshed, inexpensive to manufacture
SRAM: Does not need to be constantly refreshed, expensive to manufacture

Similarities: Both DRAM and SRAM are volatile

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the differences between EEPROM/EPROM and ROM

A

ROMs are manufactured with the required data stored permanently on them and can never be updated. More modern types of ROM such as EPROM or EEPROM can be erased and re-programmed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the ALU and its function

A

The Arithmetic and Logical Unit is a component of the CPU. It carries out the mathematical functions of addition, subtraction, multiplication and division.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe the control unit and its function

A

The control unit is a component of the CPU and regulates the flow of information through the processor. It receives, decodes, stores results and manages execution of data that flows through the CPU. The control unit determines how and when data is processed and ensures that it is sent to the correct components of the computer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Describe the function of the instruction register

A

The instruction register holds the instruction currently being executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe the function of the memory data register

A

The memory data register (AKA memory buffer register or data buffer) holds the piece of data that has been fetched from memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe the function of the memory address register

A

The memory address register holds the address of the next piece of memory to be fetched.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the function of the program counter

A

The program counter holds the location of the next instruction to be fetched from memory. It is automatically incremented between supplying the address of the next instruction and the instruction being executed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Describe what the accumulator is and its function

A

The accumulator is an internal CPU register and is used as the default location to store any calculations performed by the ALU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the differences between polling and interrupts. State an advantage and disadvantage for each

A

Polling is the process of cycling round all of the peripherals attached to the computer and asking if they required any attention.

Interrupts are a mechanism for allowing peripherals to signal the CPU when it requires attention.

Interrupts are harder to implement but are more efficient.
Polling is easier to implement but less efficient than interrupts.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name each operating system layer from the highest layer to the lowest layer

A
User Interface
File Management System
Input / Output
Memory Management
Kernal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe the user interface (UI) layer of the operating system and its function

A

It allows the user to interact directly with the OS.

There are two distinct types of UI: command line interface (CLI) and graphical user interface (GUI).

The objective of a UI is to allow the user to interact with the computer. It must provide a kind of input facility (e.g. keyboard, mouse, joystick) and some kind of output facility (e.g. monitor, printer)

The UI allows the user to load and run programs and controls the interaction between programs and the user. It also allows the user to modify system settings, control system function and request information.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the file management system layer of the OS and its function

A

The file management system (AKA file system) is the layer of an OS responsible for organising and managing the storage of data on permanent media.

17
Q

Describe the input / output layer of the OS and its function

A

The IO layer of the OS controls all physical communication with external devices such as disk drives, keyboard etc. If a higher layer requires access to a device e.g. if the file system wants to read a block from disk, a request is sent to the I/O layer

18
Q

What is the system attribute

A

It defines a file that can only be accessed or used by the OS

19
Q

What is the read-only attribute

A

When set, a file cannot be changed, saved or deleted

20
Q

Describe what happens during an interrupt

A

Processor acknowledges the interrupt
Processor completes the current instruction and stores the internal register values
The address of the interrupt service routine (ISR) is found in memory
Control is passed to ISR which runs
Internal register values are restored and processor continues with the process which was interrupted

21
Q

How is the IO interface informed when a transfer is complete

A

It is informed by a flag signalling

22
Q

Give two examples of what real-time systems may control

A

Aircraft, industrial robots

23
Q

What is ASCII

A

A 7 bit code representing all printable and non-printable characters

24
Q

What two things prevent users from updating files that are already open

A

File locking, block locking

25
Q

Name two application extensions

A

.doc, .pdf

26
Q

Name two executable extensions

A

.exe, .com

27
Q

What is unique about TSR antivirus

A

TSR (Terminate and Stay Resident) stays resident in memory after it has finished running

28
Q

What does risc stand for

A

Reduced Instruction Set Computer

29
Q

Describe two features of a worm

A

Type of trojan, self replicating without need for other programs

30
Q

How many bytes long is a sector

A

512

31
Q

What is a group of sectors called

A

A cluster

32
Q

Where is the OS resident at all times when the computer is on

A

Main memory

33
Q

What type of file is used in the automatic installation of an OS

A

An answer file

34
Q

What two layers of the OS are responsible for handling paging

A

Memory management and the kernal

35
Q

Name two integral OS tools

A

Defragmenter, formatting

36
Q

Describe how co-operative multi-tasking differs from multi-tasking

A

Processes voluntarily suspend themselves in co-operative multi-tasking

37
Q

Describe PROM

A

PROM chips can be bought in a blank state and programmed using a prom programmer, however, you can only write onto them once

38
Q

Describe DMA

A

Direct Memory Access is a method that allows an I/O device to send or receive data directly to or from main memory, bypassing the CPU to speed up memory operations. The process is managed by a chip known as a DMA controller.

39
Q

Describe Thrashing

A

When a hard drive is being overworked by moving information between the system memory and virtual memory excessively, causing the performance of the computer to degrade