Quiz 1 - pt. 1 Flashcards
Operating System:
A program that acts as an intermediary between a user of a computer and the computer hardware.
OS goals:
- execute use programs and make solving user problems easier.
- make the computer system convenient to use.
- use the computer hardware in an efficient manner.
Four components of a computer system:
- computer hardware
- operating system
- system and app programs
- users?
user view VS system view
user view:
- ease of use
- doesn’t care of utilization
system view:
- maximize utilization
- protect system from malicious/non-malicious users
kernel:
- resource allocator
- needs to work all the time
- initial code loaded at boot
describe kernel mode:
kernel mode, as opposed to user mode, is where the system starts when it boots up. It’s where instructions are privileged, meaning they are only executable in kernel mode, and where the Operating System has unrestricted access.
byte:
8 bits
word:
depends on architecture:
4-bit words, 8-bit, 16-bit, 32-bit, etc.
nibble:
4-bits
Kilobyte (KB):
1024 bytes
2^10 bytes
Megabyte(MB):
2^20 bytes
Gigabyte(GB):
2^30 bytes
Terabyte(TB):
2^40 bytes
Petabyte(PB):
2^50 bytes
Exabyte :
2^60 bytes