1.1 Characteristics of Contemporary Processors Flashcards

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

What is processor responsible for?

A

processor is responsible for processing data and executing the instructions of programs.

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

What does ALU stand for and what is it responsible for?

A

It stands for Arithmetic logic unit and is responsible for :

  • ->Calculations
  • ->logical bitwise operations,
  • ->comparisons between values
  • ->shifting binary patterns
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is decoding?

A

Instrcution gets splited to Opcode and operand which are analyzed to determine what needs to be done.

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

What is Control unit responsible for?

A
  • -> It uses control signals to enable data to be read from and written to the main memory
  • -> It decodes every instruction
  • -> It organizes the sequence of micro-operations
  • -> It uses control signals to determine the operation the ALU
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the three buses?

A
  • -> Address bus
  • ->Data bus
  • -> Control bus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is adress bus used for?

A

the address bus is used to specify the address of a memory location to either read data or write data to that memory location.

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

What is data bus used for?

A

The data bus is used to transfer data and instructions to and from the processor and the other units of a computer system.

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

What is control bus used for?

A

The control bus is used to send control signals that manage the operations inside the computer

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

Give the 5(6) registers used in fetch-decode-execute cycle and their functions?

A
  1. Program counter (PC): holds the current instruction
  2. Current instruction register(CIR): holds the current instruction
  3. Status register(SR): stores information about the result of the last instruction that the ALU executed. Finds errror or exception in process
  4. Memory adress register(MAR): Temporarily holds the address of the memory location
  5. Memory data register(MDR): Temporarily holds the data that are read or writtien from the main memory
  6. accumulator: Stores the result of any calculation processed by the ALU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain the fetch-decode-execute cycle detailed

A

Fetch Stage
1.The program counter (PC) keeps the address of the next instruction to be executed.

  1. The contents of the PC are copied to the memory address register (MAR).
  2. Once the address of the instruction is placed on the address bus, the control unit instructs a memory read operation to allow the contents of the memory location to be transferred to the processor.
  3. The instruction that is stored at the address is transferred by the data bus to the processor, and is saved in the memory data register (MDR).
  4. The contents of the memory data register (MDR) are copied to the current instruction register (CIR).

Decode Stage
6.The control unit decodes the instruction to operand and opcode in CIR

Execution Stage
7.The instruction is executed.

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

What are the factors affecting computer performance and how they do it?

A

1.Multiple Cores
The more cores a computer has, the more instructions it can execute at the same time.

2.Cache
Storing instructionsn that are oftenly used in cache reduces the amount of time it takes to access that instruction and pass it to a CPU core.

  1. clock speed
    The greater the clock speed, the faster instructions are carried out and synchronized.
  2. Instruction pipelining
    Pipelining is the process where each part of the processor works at the same time, fetching the next instruction while executing the last one. This causes the computer to avoid overwriting data and avoiding internal components being idle which means instructions are executed at a faster rate, which in turn improves processor performance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Types of proccesor?

A
  1. CISC
  2. RISC
  3. Graphic processing unit (GPU)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Differences between CISC and RISC

A

CISC

  • ->Large number of complex, variable length instructions
  • ->Instructions can take several clock cycles to be executed.
  • ->Compound addressing modes
  • ->Emphasizes hardware over software
  • ->Makes efficient use of RAM

RISC

  • ->small number of simple, fixed-length instructions
  • ->One instruction is executed per clock cycle.
  • ->Limited addressing modes
  • ->Emphasizes software over hardware.
  • ->Use a lot RAM, which can cause system bottlenecks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does GPU do and used for?

A

–>GPUs are designed for parallel processing

–>Used in graphics, video rendering, gaming and machine learning applications

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

What are the two computer architectures and what are they?

A
  1. Von neumann
    - -> both instructions and data are loaded into the same memory unit.
  2. Harvard
    - -> Harvard architecture keeps instructions and data in separate memories.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Give the differences between two computer architectures

A

Harvard architecture
–>Harvard architecture both memories can be accessed simultaneously. This minimizes the time for processor waiting while loading or saving data into memory.

–>Harvard architecture each memory can be adapted to meet the needs of a particular system. This makes it difficult to get hacked.

–>Harvard architecture is commonly used in embedded systems.

Von Neumann Architecture

–>Von Neumann architecture uses the same address and data buses for both instructions and data, sharing the same pathways which takes longer time compared to Harvard architecture.

–>von Neumann architecture allows for the instructions and data to be saved in the same memory. This makes it easy to get hacked

–> Von Neumann architecture is commonly used in general purpose computers.

17
Q

Give examples for input devices?

A
  • ->Keyboard
  • ->Webcam
  • ->Magnetic stripe reader
  • ->Barcode reader
18
Q

Give examples for output devices

A
  • ->Speakers
  • ->Printers
  • ->Projector
19
Q

What does main memory contain?

A
  • -> RAM
  • -> ROM
  • ->Cache
  • ->Registers
  • ->Virtual memory
  • -> Flash memory
20
Q

What are the characteristics of RAM?

A

The characteristics of RAM are:

  • ->short-term memory storage space
  • ->It is volatile
  • ->You can read and write to it
  • ->It is quicker to access than secondary storage
21
Q

What are the characteristics of ROM

A

The characteristics of ROM are:

  • ->It is non-volatile
  • ->It is written by the computer manufacturer (so cannot be changed)
  • ->Usually stores the BIOS
  • ->Smaller capacity than RAM
22
Q

Differences between RAM and ROM

A

RAM

  • ->Stores data and instructions during processing
  • ->Volatile, data lost without power
  • ->Read and write
  • ->Usually several gigabytes

ROM

  • ->Stores boot-up instructions set by the manufacturer
  • ->Non-volatile, data remains after power switched off
  • ->Read only
  • ->A few megabytes in size
23
Q

What is virtual memory?

A

Virtual Memory is an area of disk used as an extension of memory, onto which currently running programs and data are copied when memory is full when another task has control of the processor, and then copied back into memory when needed

24
Q

What is flash memory?

A

Flash Memory is some microcontrollers use a memory chip to store instructions. Flash memory is non-volatile and can be both written to and read from.

25
Q

How does Magnetic storage work?

A

Devices which store information magnetically represent binary information using two magnetic states: polarised and unpolarised which equals to 0 and 1.

26
Q

How does optical storage work?

A

Optical devices are read from and written to
using lasers. Binary information is represented
by portions of the disc which either reflect or
scatter the incident laser light written in spiral
tracks on the disc’s surface.

27
Q

How does flash storage work

A

it uses electrical circuits to store infromation