von neuwmann model Flashcards

1
Q

6 Functions of a typical operating system

A

Muti-tasking, Error Handling, Security, Input and Output controls, Multi-Programming, Batch processing

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

Define 4 of them

A

Muti-tasking: Allowing you to open may applications at a time.
Error Handling: Refers to the anticipation, detection and resolution of programming, application and communication errors.
Security: Passwords, no information will be leaked.
Input and Output controls: Controlling other devices like printers.

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

What is an interrupt?

A

An interrupt is a signal that is sent from a device or a software to the processor that would cause the processor to temporarily stop what it is doing and service the interrupt.

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

Reasons for an interrupt to occur

A
  • disk drive ready to receive more data
  • error has occurred
  • <del> buttons pressed simultaneously</del>
  • software error has occurred</del>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

2 Types of interrupt

A

Hardware interrupt: signals sent from external devices or hardware
Software Interrupt: signals such as when applications are closed or open on the system

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

What is a Buffer?

A

temporary memory area that is used to compensate speed difference between 2 communicating devices.

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

2 Types of buffers

A

Print buffers: for example, stores number of jobs sent to the printer by the people. Lists them in order in the buffer memory showing whether it is waiting for their turn or is being printed.
DVD Buffers: when adding data into the DVD, applications loads the data into the burner buffer that would be stored in the DVD. The burner software loads it into the empty DVD. it makes sure that the burner doesn’t run out of data therefore speeding and slowing down controlling rate of data coming in and out.

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

Describe the structure of the Von Neumann Model.

A

INPUT DEVICE= CPU { Control unit and Arithmetic/Logic unit} -_-Memory unit = OUTPUT DEVICE

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

List the main components of the model.

A

Control unit
Memory Unit
Processing unit

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

Define the main components of the model.

A

Controls the flow of data and tells different components how to respond with instructions given.
(includes Program counter instructions from components in computer.
Current Instruction Register holding all data to be sent to the processing unit to be outputted on the screen.

CPU needs to hold data and instructions before processing therefore is stored in the memory unit.
Data loaded into main memory and brought to Immediate access store.
(MAR and MDR)

ALU used to carry calculations on data. Values placed in the accumulator for calculations to be carried out.
Also includes temporary register.

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

What is a bus?

A

group of wires that carries signals including data, memory address and instructions between components of a computer system.

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

List the 3 different types of buses

A

Address bus
Data bus
Control bus

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

define them.

A

AB:
one way traffic.between processor and memory. carries signals relating to memory addresses.
DB:
two way traffic. between processor, memory unit and input/output devices.
exchange data.
CB:
one way/two way traffic. between processor- other devices or interrupts from other devices- processor.
control and coordination.

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

Define register and accumulator.

A

register: high speed storage areas in the CPU. holds data and instructions during processing.
accumulator: register used for calculations.

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

Different types of registers.

A
MAR
MDR
AC
PC
CIR
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

define them.

A

-Memory address register:
Holds memory location of data to be accessed
-Memory Data Register:
Holds data that is being transferred to or from the memory.
-Accumulator:
Where intermediate arithmetic and logic results are stored.
-Program Counter:
Contains address of the next instruction to be executed.
-Current Instruction Register:
contains the instructions currently being used during processing.

17
Q

Describe the read operation

A

Value taken from computer memory to display on screen. Address of location first read is written to MAR. read signal sent to memory using control bus. contents then put into MDR. stored as binary data. goes to ALU and is executed.

18
Q

Describe write operation

A

information saved on hard drive. operation opposite to read operation.

19
Q

What is fetch execute cycle

A

Fetch execute cycle is the basic operation cycle of a computer. Computer receives instructions from its memory. Establishes, carries out actions required for the instructions. Cycle continuously repeated by the CPU while computer is turned on.

20
Q

What are the steps in the fetch execute cycle

A
  1. PC stores the address of the next instruction
  2. PC contents copied onto the MAR
  3. MAR contents copied onto the MDR
  4. MDR contents copied onto the CIR
  5. PC is incremented by 1
  6. Instruction is decoded and executed
    repeat