IB Computer Science Paper 1 Topic 2

studied byStudied by 15 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 23 people
... ago
5.0(1)
note Note
studied byStudied by 86 people
... ago
4.7(3)
note Note
studied byStudied by 127 people
... ago
4.0(2)
note Note
studied byStudied by 16 people
... ago
5.0(1)
note Note
studied byStudied by 19 people
... ago
5.0(1)
note Note
studied byStudied by 18 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 305 people
... ago
4.8(5)

Explore top flashcards

flashcards Flashcard (35)
studied byStudied by 47 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 57 people
... ago
5.0(1)
flashcards Flashcard (81)
studied byStudied by 2 people
... ago
5.0(1)
flashcards Flashcard (51)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (25)
studied byStudied by 5 people
... ago
5.0(1)
flashcards Flashcard (42)
studied byStudied by 3 people
... ago
5.0(1)
robot