Foc 4th Chapter Notes
Foc 4th Chapter Notes
•Input and Output Systems: This covers how data is input into the
computer (e.g., through keyboards and mice) and how it's output (e.g.,
displayed on a monitor or printed on a printer).
•Bus Architecture: Buses are pathways that allow data to move between
CPU, memory, and peripheral devices. Understanding bus architecture is
essential for optimizing data transfer.
•File System: Operating systems provide a file system for organizing and
storing data on storage devices. This includes file creation, deletion, and
access
Device Management:
The OS controls and coordinates access to peripheral devices like printers,
keyboards, and monitors.
2.Memory Unit:
3.Input Unit:
•The input unit is responsible for receiving data and instructions from
external sources.
Output Unit:
•The output unit is responsible for delivering processed data to
external destinations.
•Output devices like monitors, printers, speakers, and display screens are part
of this unit.
7.Cache Memory:
•Cache memory is a high-speed, small-sized memory located between the
CPU and RAM.
•It stores frequently used data and instructions to improve processing speed.
8.Secondary Storage:
•Secondary storage devices, such as hard drives and solid-state drives,
provide non-volatile storage for long-term data retention.
9.I/O Controller:
•The I/O controller manages communication between the CPU and
input/output devices.
•It ensures data is transferred between the CPU and peripherals efficiently.
10.Bus System:
•Buses are data pathways that allow communication between different
functional units.
•There are various types of buses, including the data bus, address bus, and
control bus.
11.Clock Unit:
•The clock unit generates clock signals that synchronize the operations of
various components in the computer.
12.Control Panel:
•In some computer systems, a control panel allows users to configure and
manage hardware settings. These functional units work together in a
coordinated manner to process data, execute programs, and perform various
computing tasks. Understanding how these units interact is essential for
comprehending the inner workings of a computer system and optimizing its
performance.
2.Data: Data that the program operates on, whether it's numbers, text, or any
other form of information ,is also stored in memory. The CPU can read and
manipulate this data based on the instructions provided.
3.Uniformity: The Stored Program Concept treats program instructions and
data as interchange able within the computer's memory. This uniformity
allows for great flexibility and versatility in how the computer processes
information.
4.Sequential Execution
: The CPU reads instructions from memory sequentially and executes them in
order. This sequential execution of instructions is the basis for the step-by-
step processing that computers perform.
6.Program Control: The control unit of the CPU manages the flow of
instructions, ensuring that the program runs in the specified order.
7.Self-modifying Code: Since programs are stored in memory just like data,
it's possible for a program to modify its own instructions or the instructions of
other programs. While this can be powerful, it can also be a source of
security vulnerabilities and errors. The Stored Program Concept, often
associated with the work of computer pioneers like John von Neumann, is a
fundamental principle that underlies the design of modern digital computers.
It enables computers to be programmable and versatile, as users can load
different programs into memory to perform a wide range of tasks without
having to modify the hardware of the computer itself. This concept is a
cornerstone of computer architecture and has had a profound impact on the
development and usability of computers.
•In practice, MISD architectures have limited applications and are not
commonly used.
computer to store data and program instructions that are currently being
used or processed.
•It is directly accessible by the CPU and provides fast data access speeds,
1.Introduction:
•BIOS is a legacy firmware technology that has been in use since the early
days of personal computing.
•It is stored in a read-only memory (ROM) chip on the computer's
motherboard.
•The primary purpose of BIOS is to perform the initial hardware checks and
initialization when the computer is powered on or restarted. This process is
known as the POST (Power-On Self-Test).
•BIOS also provides a basic set of functions and routines for hardware
interaction, such as keyboard input, display output, and disk I/O.
2.Features:
•BIOS has a text-based user interface, typically accessed by pressing a
specific key (e.g., Del,F2) during startup. This interface allows users to
configure hardware settings.
•It stores the boot process instructions in the Master Boot Record (MBR) of
the boot device,such as a hard drive.
•BIOS has limitations, including a 16-bit architecture, a limited ability to
boot from modern storage devices like SSDs, and a lack of advanced security
features.
3.Legacy Considerations:
•BIOS is considered legacy technology and is gradually being replaced by
UEFI in modern computers.
•Legacy BIOS systems often have compatibility modes (Legacy mode) to
support older operating systems and software.
1.Introduction:
•UEFI is a more modern and flexible firmware standard that aims to replace
BIOS It is also stored in firmware chips on the motherboard but uses a
different architecture and approach compared to BIOS.
•UEFI is designed to provide a richer and more capable pre-boot environment
for modern computing needs.
2.Features:
• UEFI offers a graphical user interface (GUI) and a more user-friendly
interface for configuring hardware settings and diagnostics.
3.Compatibility:
•UEFI systems often include a Compatibility Support Module (CSM) to run
legacy BIOS-based software, ensuring backward compatibility.
•Some operating systems, especially older ones, may require UEFI settings to
be configured appropriately for compatibility. In summary, BIOS is the older
and simpler firmware technology that has been widely used in traditional
PCs. UEFI is a more advanced and versatile replacement that offers improved
functionality, better security, and compatibility with modern hardware and
storage devices. Most new computers come with UEFI firmware, but many
include backward compatibility with BIOS to support legacy systems and
software.
4.4 OS Concepts
Operating System (OS) concepts are fundamental principles and components
that form the basis of how an operating system functions and interacts with
computer hardware and software. Understanding these concepts is essential
for anyone working with or studying operating systems. Here are some key
OS concepts:
1.Process Management:
•A process is a program in execution. The OS manages processes, scheduling
CPU time, creating and terminating processes, and ensuring they don't
interfere with each other.
•Concepts include process states (e.g., running, ready, blocked), context
switching, and inter- process communication (IPC).
Memory Management:
•Memory management involves allocating and deallocating memory space
for processes, ensuring efficient memory usage, and preventing memory
leaks.
•Concepts include virtual memory, paging, segmentation, and memory
protection.
3.File System:
•The OS provides a file system for organizing and storing data on storage
devices. It includes file creation, deletion, access, and protection.
•Concepts include directories, file attributes, file permissions, and file
systems (e.g., FAT, NTFS, ext4).
4.Device Management:
•The OS controls and coordinates access to peripheral devices like printers,
keyboards, and network adapters.
•Concepts include device drivers, device I/O, and interrupt handling.
5.User Interface:
•The OS provides a user-friendly interface for users to interact with the
computer. This can be a command-line interface (CLI) or a graphical user
interface (GUI).
•Concepts include shells (CLI), desktop environments (GUI), and user
authentication.
7.Networking:
•Many modern OSes support networking features, allowing computers to
connect and communicate over networks.
•Concepts include network protocols (e.g., TCP/IP), sockets, and network
stack.
10.System Calls:
•System calls are functions provided by the OS that allow programs to
request services from the kernel. These include functions like file operations,
process management, and I/O operations.
15.Distributed Systems:
•Some OS concepts extend to distributed systems, where multiple computers
work together to perform a task, often connected over a network. These OS
concepts provide a foundation for understanding how operating systems
manage hardware and software resources, provide a user-friendly interface,
and ensure the efficient and secure operation of computer systems. They are
applicable in various computing environments, from personal computers to
servers and embedded systems.
Types of OS
(Batch Operating System, Multitasking/Time Sharing OS,
Multiprocessing OS, Real Time OS, Distributed OS, Network OS,
Mobile OS)
Operating systems (OS) come in various types, each designed for specific
purposes and computing environments. Here is an overview of different types
of operating systems:
3.Multiprocessing OS:
•Purpose:
Multiprocessing OSes are designed to take advantage of multiple CPUs or
processor cores to execute tasks in parallel
Characteristic
: They distribute tasks across multiple processors to improve performance
and throughput.
4.Real-Time OS (RTOS):
•Purpose:
RTOSes are designed for systems with strict timing requirements, where
tasks must be completed within predefined time constraints. Common
in embedded systems and control systems.
•Characteristic:
They provide deterministic response times, ensuring that critical tasks are
executed without delay.
5.Distributed OS:
•Purpose:
Distributed OSes manage and coordinate the execution of tasks across
multiple interconnected computers or nodes in a network.
•Characteristic:
They enable distributed computing, where resources and tasks are distributed
across the network for improved scalability and fault tolerance.
6.Network OS:
•Purpose:
Network OSes provide network-specific functionalities and services for
managing network resources, sharing files, and enabling communication
between devices.
•Characteristic:
They facilitate network operations and ensure efficient data transfer and
access.
7.Mobile OS:
•Purpose:Mobile OSes are designed for smartphones, tablets, and other
mobile devices. They provide a user-friendly interface and manage hardware
and software resources efficiently.
•Characteristic:
Mobile OSes are optimized for touchscreens, support app ecosystems, and
offer features like power management and connectivity.
8.Single-User OS:
•Purpose:
Single-user OSes are designed for personal computers and workstations,
where a single user interacts with the system at a time.
•Characteristic
: They provide a user-friendly interface and manage hardware and software
resources for individual users.
9.Multi-User OS:
•Purpose:
Multi-user OSes are designed for servers and mainframes, allowing multiple
users to simultaneously access and use the system's resources.
•Characteristic
: They provide user authentication, access control, and resource sharing
among multiple users.
10.Embedded OS:
•Purpose:
Embedded OSes are tailored for specific embedded systems and devices,
such as automotive systems, medical devices, and IoT devices.
•Characteristic: They are often lightweight, real-time, and optimized for the
specific hardware they run on. These different types of operating systems cater
to a wide range of computing needs, from personal computing to industrial
control systems, mobile devices, and large-scale distributed networks. The
choice of an OS depends on the specific requirements of the application or
environment in which it will be used.
Services of OS
Operating systems (OS) provide a wide range of services to manage hardware
and software resources ,facilitate user interaction, and ensure the efficient
operation of a computer system. These services help abstract hardware
complexities and provide a consistent environment for running applications.
1. Program Execution:
- The OS loads programs into memory and schedules them for execution on
the CPU. It manages the execution of multiple programs concurrently
through process management.
10. User Interface:- For interactive systems, the OS provides a user interface
(either command-line or graphical) for user interaction, including
the management of windows, icons, and menus.
11. Time and Date Management:- The OS maintains system time and date,
and it can synchronize with external time servers for accurate timekeeping.
13. Backup and Recovery:- Some OSes include backup and recovery
utilities to safeguard data and restore the system to a previous state in case of
failures.