Operating system and computer architecture Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is an Operating System?

A

Software running in the background of a computer. It manages many of basic functions. It also makes it possible to communicate between HW and SW

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

Give examples (5) of what basic functions OSs control

A

HCL (Human computer interface), Multitasking, Multiprogramming, Interrupt handling, Real-time processing

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

What type of OS is Windows?

A

Single-user multitasking operating system

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

What does ROM stand for?

A

Read only memory (can’t be changed)

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

What does ROM run?

A

BIOS (basic input-output system), processor, hardware, processor, internal memory

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

What is an interrupt?

A

A signal sent from a device or from software to the processor

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

Give 4 examples of interrupts

A
  1. A disk drive is ready to receive more data
  2. An error has occurred, such as a paper jam in a printer
  3. The user has pressed a key to interrupt the current process - ALT F4
  4. A software error has occurred - an exe file couldn’t be found
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does the proccessor do with the interrupt?

A

The procesor either carries on with what it was doing or stops to service the device/program that generated the interrupt

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

Why are interrupts useful?

A

They allow computers to carry out many tasks or to have several windows open at the same time

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

Give an example of how an interupt could be useful?

A

An example would be downloading a file from the internet at the same time as listening to music at the same time.

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

How is a status of the current task saved as an interrupt is serviced?

A

It is done using an interrupt handler, once the interrupt is serviced the paused task continues.

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

What are Buffers?

A

They are used in computers as a temporary memory area

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

Why are Buffers essential?

A

They are essential since hardware devices operate at much slower speed than the processor. If it wasn’t for buffers prcessors would spend the majority of their time idle, waiting for hardware to comple its operation

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

Give an example of Buffers being used.

A

For example, when streaming a video from the internet. It ensures that the video play back doesn’t keep on stopping to wait for fata from the internet.

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

When did John von Neurmann develop the idea of a sotred program computer?

A

1945

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

What was the concept called that John von Neumann came up with?

A

Von Neumann Architecture

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

What was the ideas within the Von Neumann Architecture concept?

A

To hold programs and data in a memory. Data would then move between the memory unit and the processor.

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

What links the processor and memory units?

A

Buses

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

What is an adress bus?

A

Carries signals relating to addresses between the processor and the memory

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

In which direction is data sent down an adress bus?

A

Unidirectional (signals travel in one direction only)

21
Q

What is a data bus?

A

Sends data beween the processor, the memory unit and the input/output devices

22
Q

In which direction is data sent down a data bus?

A

Bi-directional (data can travel in both directions)

23
Q

What is a control bus?

A

It carries signals relating to the control and coordination of all activities within the computer

24
Q

In which direction is data send down a control bus?

A

Unindirectional and Bi-directional due to internal connections within the computer architecture

25
Q

What are Addresses?

A

They indicate where the data is stored

26
Q

Why are registers needed?

A

So that data can be manipulated within the computer

27
Q

What are registers?

A

They are high-speed storage area within the computer. All data must be represented in a register before it can be processed

28
Q

What is the difference between Adresses and contents?

A

Addresses will uniquely identify every location in the memory, and the contents will be the binary value stored in each location

29
Q

What are the five registers within the memory unit?

A
  1. MAR
  2. MDR
  3. ALU
  4. PC
  5. CIR
29
Q

What are the two registers within the memory unit?

A
  1. MAR
  2. MDR
29
Q

What are the two registers within the memory unit?

A
  1. MAR
  2. MDR
30
Q

What does MAR stand for?

A

Memory adress register

31
Q

What does MDR stand for?

A

Memory data register

32
Q

What does ALU stand for?

A

Arithmetic and Logistic Unit

33
Q

What does PC stand for?

A

Program Counter

34
Q

What does CIR stand for?

A

Current instruction register

35
Q

What does an MAR do and give an example

A

Its where adresses are stored. The address of location 1111 0001 to be read from it is first written into the MAR. A read signal is sent to the computer memory using a control bus. The contents of memory location are then put into the MDR

36
Q

What does an MDR do?

A

10010101 has to be written into the memory location with the address 1111 1101; so this address is now written into the MAR. A write signal is sent to the computer memory using the conrol bus and this value will then be written into the correct memory location.

37
Q

In terms of design what does the processor contain?

A

The ALU ( Arithmetic and Logic Unit)

38
Q

What does the ALU do?

A

It allow arithmetic and logic operations to be carried out

39
Q

What does the Control Unit do?

A

It reads and instruction from memory (the address of the location where the instruction can be found is stored in the PC (program counter). This instruction is then interpreted.

40
Q

Describe the Fetch-execute cycle

A

First the processor fetches some data and instructions from memory and stores them in suitable registers. Both the address bus and the data bus are used in this process. Once this is done, each instruction needs to be decoded before finally being executed.

41
Q

What does the CIR (current instruction register) do?

A

It contains the current instruction being processed.

42
Q

What does the PC (Program counter) do?

A

Contains the address of the next instructions to be executed

43
Q

Describe the Fetch process.

A

THe next instruction is fetched from the memory address currently stored in the PC and is then stored in the CIR. The PC is then incremented so that te next instruction can be processed

44
Q

Describe the execute process.

A

THe processor passes the decoded instruction as a set of control signals to the appropriate components within the computer system.

45
Q

What are the two registers in the control unit?

A

PC and CIR

46
Q

What is the register in the Processor

A

ALU

47
Q

What does the control unit do?

A

It controls the operation of the memory, processor and input / output devices