☰ Contents · Computing

Programs that make up an operating system, and shell programs

Lessons 11 · 1 lessons · B. Boltayev, A. Azamatov, A. Asqarov, M. Sodiqov, G. Azamatova. Fundamentals of Informatics and Computer Technology, Grade 8. Second edition. “O‘zbekiston milliy ensiklopediyasi” State Scientific Publishing House, Tashkent, 2015
11

Programs that make up an operating system, and shell programs

Textbook: pp. 49–54
GoalKnows the parts of an OS (kernel, library, shell), the start-up sequence and the job of shell programs.
New words
kernel: the core of the OS that runs all the time and manages processes, memory, files and devices · o‘zak (kernel)driver: a program that lets the OS control a particular device · drayverinterrupt: a signal to the processor that an event needs attention, e.g. a key was pressed · uzilishshell program: a program that runs under the OS and makes working with it easier · qobiq-dastur
Explanation

An OS has three groups of parts: the kernel, the system library and the shell of utilities. The kernel schedules processes, manages memory and the file system and works with device drivers; it is a small part and stays in RAM all the time. An important job of the kernel is handling interrupts: for example, when a key is pressed or a flash drive is plugged in, the device sends an interrupt signal and the kernel handles it and informs the right program. When the computer is switched on, the BIOS or UEFI program in permanent memory checks the devices and finds the boot device, a boot loader moves the kernel into RAM, then the drivers load and the desktop appears. The user communicates with the OS through commands: the Windows command line has commands such as dir, cd, mkdir, copy, del, and Linux has ls, cd, mkdir, cp, rm; internal commands are part of the shell itself, while external commands are separate program files. Because commands multiplied, convenient shell programs appeared: first Norton Commander, then Total Commander and Far Manager; today the graphical shells are Windows File Explorer, macOS Finder and the Linux file managers. On the command line del and rm remove files without a recycle bin, so be careful.

Worked examples
Start-up order: power button → BIOS/UEFI checks the devices → the boot loader loads the kernel into memory → drivers → login screen and desktop.
Commands: “mkdir Maktab” creates a new folder “Maktab”; “cd Maktab” moves into it; “dir” on Windows or “ls” on Linux lists the folder’s contents.
Class activity

“Start-up chain”: 6 pupils act out the stages (power, BIOS/UEFI, boot loader, kernel, drivers, desktop), passing a signal along; the class checks the order.

Practice
1
Name the three parts of an OS.
2
What do BIOS or UEFI do when the computer is switched on?
3
State the difference between internal and external commands.
4
Why is a graphical shell more convenient than a command line?