What is OS? Flashcards
What is OS?
OS is the middleware between User Applications and Hardware
.c files are converted to?
.exe or .out files
.c files to .exe files using what?
Compiler
Which compiler converts .c to .exe
gcc
What type of instruction are present in .exe files?
Assembly Language
What is the rule book for assembly language of a CPU
Instruction Set Architecture (ISA)
Name some ISAs
x86-64, ARM, RISC - V
What is the tool that converts assembly language to Binary Code
Assembler
What is the procedure for converting code from .c to binary
CAB -> Compiler, Assembler, Binary
Name the working components of CPU?
Registers & Cache
Name some registers present in the CPU
PC & Operands Register
How are binary insruction executed by the CPU?
It fetches the instruction using the PC.
Flushes the registers with required data.
Decodes and executes the instructions
Stores the result
What are the important role of CPU?
Program Memory Management
CPU management
External Devices
Concurrency
What does OS do in terms of CPU management?
Initialize PC & Other Registers
What does OS do in terms of memory management
Load the program files form disk to memory