Quote:
Originally Posted by vkmgeek
Hi,
I am working as an CS since years.
But, i am still unable to UNDERSTAND "the EXACT" difference between "Operating System" and "Kernel"
A theoratical one but needs a reply
|
Kernel implements/provides functions for processes, threads, multitasking, task scheduling, memory managment and drivers, basic file-access function and network functionality. This is fundamental part of operating system - if there are no functions for accessing files, network and multitasking, there can be no modern OS.
OS uses facilities/functions provided and offers programs which form basic framework for user. When there is only kernel left, then there are no programs, and user can't do anything. OS often provides "main" program that's being started with the system.
A crude (and a bit incorrect) example. Imagine that OS is a car (I'm sick of car-os comparsions, but can't think about anything else).
Kernel is car machinery - engine, carburator, fueling system, but nothing else. I.e. no gearbox, no car body, no wheels, no steering wheel, and no keyhole to launch ignition, and even no gas pedal. I.e. if someone took the car, ripped engine with all additional parts out of this car, then put these parts on a table and managed to start them, then that's the car's kernel. I.e. although mechanical parts (engine & other stuff) can work without other parts, you can't drive them somewhere.
The car body + wheels + front panel with basic controls + all other stuff that is required to make car drive is operating system. You can't use these without engine, but you can't drive engine without these parts.
Stuff like driver seat, cabin interior and everything that's not required to drive the car can be thought as additional software.