Fetch
Decode
Execute
ROM
Read only memory that stores the permanent and persistent instructions to boot up the computer (BIOS)
Cache memory is more _____ than RAM and is checked before/after the RAM
expensive
before
Secondary Memory relationship to CPU
It is not directly connected to CPU unlike primary memory
Virtual Memory
This is utilized when primary memory is overloaded. It works by sending less used data from primary memory to secondary memory in pages freeing up space in the primary memory. When primary memory needs the data sent again, it is sent back to the primary memory from secondary memory.
Virtual memory 2 characteristics
Draw VM diagram
2 boxes next to each other with a gap in between
1 box = RAM
1 box = Hard disk (but secondary box inside it called Virtual memory (pagefile))
There are two arrows that connect the boxes.
One arrow on the top going from RAM to hard disk called “less used data”
One arrow under it going from hard disk to RAM called “data needed by the CPU”
Operating system definition
Set of software that controls computer’s hardware and resources and provides services for computer programs
3 examples of roles of OS
User interface
It is what facilitates the link between user and hardware
4 examples of UI
GUI
CLI
Natural LI (speak to computer like Siri)
MBI (like CLI but no commands only menu options)
Memory management
A role of OS. It refers to keeping tracking of storage devices, allocating the appropriate amount of RAM to programs in use and organizing and managing data files and folders.
Peripheral management
A role of OS. The OS works with the BIOS and device drivers to translate signals from peripherals into instructions the system can understand and use.
Multitasking
A role of OS that allocates CPU time and resources to multiple programs in use, allowing them to run concurrently. This process is often managed using time slicing and ensures each program gets a fair share of CPU time based on priority and scheduling algorithms.
Security (OS)
A role of OS. It involves the setting of usernames and passwords, setting user permissions and file permissions for reading and writing throughout the OS to enhance security.
3 examples of types of Application software
Translate
1 byte –> bits
1 kilobyte –> bytes
1 mb –> kilobytes
1 gb –> mb
1 tb –> gb
1 byte = 8 bits
1 kb = 1024 bytes
1 mb = 1024 kb
1gb = 1024 mb
1 tb = 1024 gb
Bit
Binary digit. This is a measurement unit that can only have two states, 1 or 0 (or on or off)
One extended ASCII character (e.g. A) into bytes
1 byte
Binary is what base?
Base 2
Hexadecimal what is it and what base
These more efficiently represent large binary values. These are base 16.
3 uses of Hexadecimal