IB Computer Science Paper 1 Topic 2

studied byStudied by 17 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

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
robot