Topic 2: Computational Organisation Flashcards

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

CPU

A

The key component of a computer system, which contains the circuit necessary to fetch, decode and execute program instructions from and to main memory (RAM). It contains ALU, CU and registers.

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

CU

A

Directs the operation of the CPU and the data flow and is in charge of decoding the instructions.

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

MAR

A

Temporary storage that stores the memory address from which data will be sent the CPU, or the address to which data will be sent and stored.

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

ALU

A

Does all the arithmetic and logical calculations

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

MDR

A

Temporary storage that holds data being transferred to and from the RAM.

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

RAM and properties

A

Contains the data and instructions the computer has loaded since starting up and everything the user has opened. Those instructions are the ones that the computer has to execute.

  • Volatile
  • CPU can directly access RAM
  • Linked to the CPU by buses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ROM and properties

A

Used to storage data that is rarely changed such us firmware. It also holds the BIOS (Basic Input/Output)

  • Non volatile
  • Read only
  • The CPU can not directly access the ROM memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Cache

A

A type of small, high-speed memory used to hold frequently used data, so that the CPU needs to access the much slower RAM less frequently. It acts as a buffer between RAM and CPU.

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

Bus

A

Communication system that transfers data between components inside a computer, or between computers.

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

Address bus

A

Pathway from memory to processing unit carrying the memory address to and from where data is transferred

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

Importance of both RAM and ROM

A

RAM and ROM both are the necessary memory for the computer. ROM is a necessary for a computer to boot up. RAM is important for CPU processing.

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

CPU cycle: Fetch, decode and execute

A

Fetch
The Program Counter (PC) starts at 0000. This means that the first address in RAM where the computer will look for an instruction is at 0000.

The computer needs somewhere to store the current address in RAM that it is looking for. This is what the Memory Address Register (MAR) is for. 0000 is therefore copied into the MAR.

As the data fetched during the fetch stage is an instruction, it is copied into the Instruction Register (IR).

As the first instruction has been fetched, the system is at the end of the Fetch stage of the cycle. The program counter can be incremented by 1, so the system is ready to read the next instruction when the next Fetch cycle starts.

Decode
Now the instruction needs to be decoded. It is sent via the data bus to the control unit, where it is split into two parts.

The first part is the operation code or opcode, which in this example CPU is the first 4 bits. This is the command that the computer will carry out. The second part, in this case the second 4 bits, is the operand.

This is an address in RAM where data will be read from or written to, depending on the operation. The Control Unit can translate opcodes into instructions. So here the Control Unit translates the opcode 0101 into an instruction, for example LOAD FROM RAM.

Execute
Now the command will be executed. The operand is copied to the MAR, as this is the address of the data that needs to be loaded.

The data at address is then fetched from RAM and passed up the data bus to the MDR. As it is not an instruction but simply data, it is then passed to the Accumulator (Acc).

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

Types of RAM

A

Static and dynamic

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

Types of ROM

A

PROM: Can be programmed by user)
EPROM: Can be reprogrammed
EEPROM: Can be erased

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

Hard Drive Disk

A

Storage device that uses mechanical platters moving read/write head to access data.

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

Solid State Disk

A

Store information on flash memory, which consists of individual memory cells.

17
Q

Operating system

A

Powerful program that controls and manages the hardware and other software on a computer. It acts like an intermediary between software apps and hardware.

18
Q

Functions of OS

A
User Interface
Memory management
Peripheral management
Multitasking 
Security
Networking
19
Q

User Interfaces

A

GUI
CLI
MBI
NLI

20
Q

Memory management

A

Allocates and de-allocates memory/ assignes blocks of memory to programs;
Ensures a program has sufficient memory to run/manages virtual memory if needed;
To avoid overwriting /clashing of programs/optimise system performance/maximise
memory usage

21
Q

Peripheral management

A

Peripheral are controlled by drivers, software which allows hardware devices to be used by the OS.
It provides an interface between hardware and software.

22
Q

Multitasking

A

The OS handles multitasking in the way that it can handle multiple operations/programs at a time.

Uses CPU scheduling and multiprogramming to provide each user with a small portion of a time-shared CPU.

23
Q

Security

A

The most common method of protection is to provide some form of identity to the user that allows him authentication. Like a username and a password, to prevent unauthorized access.

An additional security method is the use of log files that keep track of any activity of any user in the computer system.

24
Q

Networking

A

Manages the interactions with networks of other computer systems, too. Allowing the user to share resources (files) with other systems.

25
Q

Software applications

A
Word processors
Spreadsheets
Database management
Web Browsers
Email
Computer Aided Design
Graphic Processing software
26
Q

GUI elements

A
  • Toolbar
  • Menu
  • Dialogue box
27
Q

Why hexadecimals are used?

A
  • Used for shorter representation because a byteacan be represented by 2 hexadecimals.
  • Easier to use or remember
  • They have this paralellism with the binary, which decimal has not.