Operating System: Basics You should Know


Get help understanding operating systems in this free lesson so you can answer the question, what is an operating system?

Understanding Operating Systems: The Backbone of Modern Computing
An operating system (OS) is the core software component that manages computer hardware and software resources, providing a stable foundation for other applications to run. Without an operating system, a computer would be unable to function effectively, making it a crucial element in the world of technology.

Key Functions of an Operating System
Process Management: The OS handles the creation, scheduling, and termination of processes. It ensures that each application gets adequate time to execute and that the CPU resources are utilized efficiently.
Memory Management: The OS manages the system’s memory, including RAM. It keeps track of each byte in a computer’s memory and allocates memory to processes when they need it and frees it when they don’t.
File System Management: Operating systems manage files on different storage devices. They control how data is stored, retrieved, and organized, ensuring data integrity and security.
Device Management: The OS manages hardware devices such as printers, monitors, keyboards, and drives. It acts as an intermediary between the hardware and application software, ensuring seamless communication.
Security and Access Control: The OS protects data and resources from unauthorized access by enforcing security policies and using techniques like encryption, user authentication, and permissions.
User Interface: The OS provides a user interface (UI) which can be command-line-based or graphical (GUI). This interface allows users to interact with the computer system effectively.
Types of Operating Systems


Batch Operating Systems: These systems handle batch jobs without user interaction. They are typically used in mainframes and supercomputers.
Time-Sharing Operating Systems: These systems allow multiple users to share system resources simultaneously. Each user gets a time slice, providing the illusion of concurrent execution.
Distributed Operating Systems: These systems manage a group of independent computers and make them appear to be a single cohesive system, enhancing resource sharing and communication.
Real-Time Operating Systems (RTOS): RTOS are used in environments where time constraints are critical, such as embedded systems in medical devices, industrial control systems, and telecommunications.
Embedded Operating Systems: These are specialized OS designed to operate on small machines like PDAs, medical devices, and smart appliances. They are optimized for efficiency

The Operating System
The operating system (OS) is system software that manages the basic functionalities of a computer and is responsible for tasks such as process management, memory management, file system management, IO management, networking, security, and providing a user interface.

Control Unit (CU)
The Control Unit (CU) on a CPU receives information from the software; then, it distributes and directs the data to the relevant hardware components.

Some functions of the CU:
  - Determine what/where the next
    instruction must go for processing
  - Send clock signals to all hardware to
    force synchronous operations
  - Send memory taskings if appropriate
Arithmetic and Logic Unit (ALU)
An Arithmetic Logic Unit (ALU) is a digital circuit used to perform arithmetic and logic operations. It is the fundamental building block of the CPU.

Some ALU functions:
  - Addition & subtraction
  - Determining equality
  - AND/OR/XOR/NOR/NOT/NAND logic
    gates and more!
Registers
A register is a volatile memory system that provides the CPU with rapid access to information it is immediately using.

Functions of a register:
  - Store temporary data for immediate
    processing by the ALU
  - Hold "flag" information if an operation
    results in overflow or triggers other flags
  - Hold the location of the next instruction
    to be processed by the CPU
The CPU
A Central Processing Unit (CPU) is the electronic circuitry that executes instructions based on an input of binary data (0’s and 1’s). The CPU consists of the Control Unit (CU), the Arithmetic and Logic Unit (ALU), and registers (Immediate Access Store).

Random Access Memory (RAM)
Random Access Memory, or RAM, is additional high-speed memory that a computer uses to store and access information on a short-term basis.

Hard Disks
Hard disks, or hard drives, are responsible for the long-term, or secondary storage of data and programs.

The Mainboard
The mainboard, or motherboard, is a printed circuit board that houses important hardware components via ports.

Ports
A port is a physical outlet used to connect devices to a computer. A computer typically contains multiple ports. This connection allows for communication between the IO device and the computer.

Main Functions of a Computer
There are four main functions of a computer that make user interaction possible:

Input
Processing
Memory
Output

10 Things You Need to Know About Operating Systems: The Unsung Heroes of Your Devices

Hey, corporate professionals! Ever wondered what makes your smartphone or computer tick? It's not just the hardware; it's the operating system (OS) that acts as the bridge between you and your device. Let's delve into the fascinating world of operating systems and why they're the unsung heroes of our digital lives.

The Role of an Operating System 🎭
What Does an OS Do? 🤔
An operating system is the software that manages your device's hardware and software resources. It acts as a liaison between the system's hardware and the software applications you use.

The Kernel and Drivers 🛠️
These are the software bits that communicate directly with your device's hardware. They're like the backstage crew in a theater production, making sure everything runs smoothly.

Single-Tasking vs. Multitasking 🔄
The Caveman Approach 🗿
Some older systems, like your grandpa's Nokia brick, used single-tasking operating systems. These could only run one program at a time. Remember playing Snake and then getting interrupted by a call? That's an example of an "interrupt" in a single-tasking OS.

Modern Multitasking 🎛️
Today's operating systems like Android and Windows use a process called time-sharing. This allows multiple tasks to run seemingly simultaneously by rapidly switching between them.

Security and Resource Allocation 🛡️
Keeping You Safe 🔒
One of the primary roles of an OS is to protect user security. It prevents malicious code from exploiting your hardware.

Efficient Use of Resources 🎚️
The OS allocates system resources like memory to complete your tasks as efficiently as possible. It's like a skilled juggler, keeping multiple balls in the air without dropping any.

Types of Operating Systems 📋
Mobile OS 📱
These are optimized for small screens and usually touch-based inputs. Examples include Android and iOS.

Desktop OS 🖥️
These are designed for more complex tasks and usually involve a keyboard and mouse. Think Windows, macOS, and various Linux distributions.

Specialized OS 🎛️
These are designed for specific tasks, like running a car's computer or a fancy coffee maker. They're usually simpler and more focused.

The Future of Operating Systems 🚀
Cross-Platform Compatibility 🌐
As we move towards a more interconnected world, expect to see operating systems that work seamlessly across multiple types of devices.

AI Integration 🤖
With the rise of AI, future operating systems may become more intuitive and personalized, adapting to individual user needs.

Conclusion 🌟
Operating systems are the unsung heroes that make our digital lives possible. They manage complex tasks behind the scenes, allowing us to focus on what we want to do, be it work or play.



Website of Vietnam Union of Science and Technology Associations
License number: 169 / GP-TTĐT, dated October 31, 2017
Head of Editorial Department: VI VU
The Vietnam Union system was founded with 15 members. Currently, that number has risen to 148, including 86 national industry associations and 63 local associations. In addition, in the system of the Vietnam Union, there are more than 500 scientific and technological research units established under Decree 81 (now Decree 08); over 200 newspapers, magazines, electronic newspapers, newsletters, specialties, electronic news sites.
Address: 07 Nguyen Tat Thanh - Saigon - Vietnam. - Email: [email protected] - Phone: 818.337.007/7
Copyright © 2017 - SDC. All rights reserved