1.2Free
Your guide: Miss HiraExplains computers with chai, cricket and your phone.
The architecture of an OS is how its parts are organized and work together. Your book compares it to a school: different departments do their own duties, but together they keep the school running.
The kernel is the core of the OS. It directly controls hardware such as the CPU, memory and devices, and decides how and when programs use them. When you open a file, the kernel reads it from the hard drive and sends it to the screen.
The shell is the outer part that meets the user. It takes your commands and passes them to the kernel. A graphical shell, like the Windows desktop, uses icons and menus. A command-line shell, like Command Prompt or Terminal, takes typed instructions.
Figure 1.1 stacks them: user applications on top, then the shell, then the kernel, then the hardware. Your book's car picture: the engine is the kernel, and the steering wheel and dashboard are the shell.
The OS is built in layers. The lower layer works with the CPU, RAM and storage. The middle layer manages those resources for programs. The upper layer runs applications and shows the interface. Each layer depends on the one below, so parts can be repaired without changing the whole.
System libraries are ready-made instructions that programs share. A photo app uses the OS library to open an image instead of writing its own method. Device drivers are special programs that let the OS talk to hardware such as printers, keyboards and graphics cards.
Step 1 / 7
The architecture of an OS is how its parts are organized and work together. Your book compares it to a school: different departments do their own duties, but together they keep the school running.
The kernel is the core of the OS. It directly controls hardware such as the CPU, memory and devices, and decides how and when programs use them. When you open a file, the kernel reads it from the hard drive and sends it to the screen.
The shell is the outer part that meets the user. It takes your commands and passes them to the kernel. A graphical shell, like the Windows desktop, uses icons and menus. A command-line shell, like Command Prompt or Terminal, takes typed instructions.
Figure 1.1 stacks them: user applications on top, then the shell, then the kernel, then the hardware. Your book's car picture: the engine is the kernel, and the steering wheel and dashboard are the shell.
The OS is built in layers. The lower layer works with the CPU, RAM and storage. The middle layer manages those resources for programs. The upper layer runs applications and shows the interface. Each layer depends on the one below, so parts can be repaired without changing the whole.
System libraries are ready-made instructions that programs share. A photo app uses the OS library to open an image instead of writing its own method. Device drivers are special programs that let the OS talk to hardware such as printers, keyboards and graphics cards.
User → shell → kernel → hardware. Libraries give programs ready-made tools; drivers let the kernel speak to each device.
Q1. Short Question 4 (p. 17): how is the kernel different from the shell?
The kernel is the core that controls the hardware; the shell is the outer part that takes the user's commands to the kernel.
Q2. Use your book's school example to explain the three OS layers.
Staff = lower (hardware), administration = middle (resources), teachers and students = upper (applications). Each depends on the one below.
✗ Calling the shell the core part that talks directly to the hardware.
✓ That is the kernel. The shell is the outer part that meets the user.
✗ Thinking a shell must have icons, so Command Prompt is not a shell.
✓ Your book lists two kinds: graphical shells and command-line shells such as Command Prompt or Terminal.
✗ Mixing up a system library and a device driver.
✓ A library helps programs with common tasks; a driver helps the OS talk to one piece of hardware.
1. The core part of the OS that interacts directly with hardware is the:
(b) Exercise MCQ 4 (p. 16); key p. 18; 1.2.1, p. 3.
2. A graphical shell allows the user to:
(d) Exercise MCQ 5 (p. 16); key p. 18; 1.2.1, p. 4.
3. In your book's layer design, which layer works directly with the CPU, RAM and storage?
(a) 1.2.2, p. 4.
4. A photo app opens a picture using the OS's ready-made code. That code is a:
(c) 1.2.3, p. 5.
5. Why does your book say the layered design is useful?
(a) 1.2.2, p. 5.
Found a mistake? Tell us the lesson and the line at exciting@boringeducation.com.
Free right now. No ads. Tell us what to fix.