IB Computer Science Paper 1 Topic 2

studied byStudied by 10 people
0.0(0)
Get a hint
Hint

Components in the CPU

1 / 20

21 Terms

1

Components in the CPU

  • Control Unit (CU)

  • Arithmetic Logic Unit (ALU)

  • Memory Address Register (MAR)

  • Memory Data Register (MDR)

  • Address Bus

  • Data Bus

New cards
2

Arithmetic Logic Unit (ALU)

Performs all basic arithmetic and logical operations

New cards
3

Control Unit (CU)

  • Obtains data from memory and decodes it into instructions

  • Coordinates all the units of the computer

New cards
4

Memory Address Register (MAR)

  • Holds the memory of the address data to be used by the ALU

  • Holds address of where processed data will need to be stored

New cards
5

Memory Data Register (MDR)

  • Holds the data to be used by the ALU

  • Holds a copy of the contents of the memory to be transported to other components of the CPU

New cards
6

Address Bus

  • Connects MAR to primary memory (RAM)

New cards
7

Data Bus

  • Connects MDR and primary memory (RAM)

New cards
8

Two types of primary memory

Random Access Memory (RAM) and Read Only Memory (ROM)

New cards
9

Random Access Memory (RAM)

  • Stores data and instructions currently in use - can be overwritten

  • Volatile - whenever power is lost its memory is wiped

  • Can be written to

New cards
10

Read Only Memory (ROM)

  • Stores permanent instructions and data - info is embedded cannot be overwritten

  • Non-volatile

  • Much smaller than ROM

  • Holds the Basic Input / Output System (BIOS)

New cards
11

Cache

  • Stores frequently used instructions

  • Is used to save time in accessing the RAM, as can be accessed faster than the RAM

  • Situated between RAM and CPU, so closer to CPU

  • Very small

  • Static

New cards
12

Components of the machine instruction cycle

Fetch, decode, execute

New cards
13

Fetch

  • CPU sends address from MAR of instruction through the address bus to the primary memory (RAM)

  • Instruction in that particular address is sent through the data bus to the CU, stored in MDR

New cards
14

Decode

  • CU decodes instruction, fetches any required data from the primary memory

New cards
15

Execute

  • ALU executes instruction

New cards
16

Store

  • The results of the executed instruction are stored in the accumulator

New cards
17

Secondary memory

  • Relatively slow memory that can be written to

  • Non-volatile

  • Hard drives, USB sticks, Floppy disk

New cards
18

Operating system

Set of software that controls computer’s hardware resources and provide services for programs

New cards
19

Roles of an operating system

  • Peripheral communication - communicating directly with hardware (keyboards, mice, printers)

  • Memory management - manages how memory is used by applications, ensures one doesn’t interfere with the memory of another

  • Data management - accessing and storing data

  • Security

New cards
20

Benefits / execution of memory management

  • Allocates and deallocates specific sections of memory to each process

  • Ensures that a program has sufficient memory to run

  • Ensures that the memory assigned to one program is not overwritten

New cards
21

How colour can be represented in a computer

  • Split into three components (e.g RGB), and each component is given a specific number of bytes

New cards

Explore top notes

note Note
studied byStudied by 219 people
... ago
5.0(4)
note Note
studied byStudied by 6 people
... ago
5.0(1)
note Note
studied byStudied by 1197 people
... ago
5.0(6)
note Note
studied byStudied by 45 people
... ago
4.8(4)
note Note
studied byStudied by 5 people
... ago
5.0(1)
note Note
studied byStudied by 8 people
... ago
5.0(1)
note Note
studied byStudied by 13 people
... ago
5.0(1)
note Note
studied byStudied by 5 people
... ago
5.0(2)

Explore top flashcards

flashcards Flashcard (107)
studied byStudied by 14 people
... ago
5.0(1)
flashcards Flashcard (30)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (230)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (41)
studied byStudied by 48 people
... ago
5.0(1)
flashcards Flashcard (232)
studied byStudied by 60 people
... ago
5.0(1)
flashcards Flashcard (58)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (22)
studied byStudied by 37 people
... ago
5.0(1)
flashcards Flashcard (49)
studied byStudied by 79 people
... ago
5.0(2)
robot