Chapter 3: Operating System (OS). IT and Computer Science

jayashirymorgan 41 views 40 slides Jun 24, 2024
Slide 1
Slide 1 of 40
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40

About This Presentation

Operating System OS


Slide Content

Course: CSC 1101 Information Technology and Computer Science Semester: June 2024 Lecturer: Ms Jayashiry Morgan

Chapter 3: Operating System

Learning Outcomes By the end of this session, students should be able to: Define an operating system and utility program and explain their key functions. Identify the different types of operating systems and their characteristics. Describe memory management, virtual memory, and the distinctions between application software and programs, including various types of applications.

Definition of Operating System A program that acts as an intermediary between a user of a computer and the computer hardware. An operating System is a collection of system programs that together control the operations of a computer system. Some examples of operating systems are UNIX, Mach, MS-DOS, MS-Windows, Windows/NT, Chicago, OS/2, MacOS, VMS, MVS, and VM.

Functions of Operating System Process Management Memory Management File System Management Device Management Security and Access Control User Interface

Functions of Operating System Process Management The OS manages processes, including the execution, creation, and termination of processes. It allocates CPU time and resources to processes and ensures smooth execution.

Functions of Operating System Memory Management The OS manages the computer's memory, including RAM and cache. It allocates memory to processes, manages swapping between memory and storage, and handles virtual memory.

Functions of Operating System File System Management The OS manages files and directories on storage devices. It provides a structure for storing, organizing, and accessing data.

Functions of Operating System Device Management The OS manages hardware devices, such as printers, disk drives, and network interfaces. It provides drivers and handles communication between hardware and software.

Functions of Operating System Security and Access Control The OS ensures system security by controlling access to resources and data. It enforces user authentication, authorization, and data encryption.

Functions of Operating System User Interface The OS provides a user interface, such as command-line interfaces (CLI) or graphical user interfaces (GUI), to interact with the system.

Utility Program Utility programs are software tools that perform maintenance tasks, help in managing the computer system, and optimize its performance. They are often bundled with the operating system or available as standalone applications.

Functions of Utility Programs File management: Tools for file copying, renaming, moving, and deleting. Disk Management : Tools for disk defragmentation, cleanup, and partitioning. System Monitoring : Tools to monitor system performance, CPU usage, and memory usage. Backup and Recovery : Tools for data backup and recovery. Security Utilities : Antivirus, anti-malware, and firewall programs.

Types of Operating System Batch Operating System Time-sharing Operating System Distributed Operating System Network Operating System Real-Time Operating System Embedded Operating System Mobile Operating System Desktop Operating System

Types of Operating System Batch Operating System Executes batches of jobs without user interaction. Example: IBM OS/360, early version of UNIX

Types of Operating System Time-sharing Operating System Allows multiple users to use the system simultaneously by rapidly switching between users. Examples: UNIX, Multics.

Types of Operating System Distributed Operating System Manages a group of independent computers and makes them appear as a single coherent system. Example: Amoeba, Plan 9

Types of Operating System Network Operating System Provides services to computers connected to a network, enabling resource sharing and communication. Examples: Novell NetWare, Windows Server

Types of Operating System Real-Time Operating System (RTOS) Provides immediate processing and responses to input. Used in systems that require precise timing and reliability. Examples: VxWorks, RTLinux

Types of Operating System Embedded Operating System Designed for embedded systems, running on devices with limited resources. Examples: Embedded Linux, QNX .

Types of Operating System Mobile Operating System Designed for mobile devices such as smartphones and tablets. Examples: Android, iOS.

Types of Operating System Desktop Operating System Designed for personal computers, providing a user-friendly interface and extensive application support. Examples: Windows, macOS, Linux distributions.

Memory Management and Virtual Memory

Memory Management Memory management is the function of an operating system that handles the allocation and deallocation of memory spaces. It ensures efficient memory usage and system stability.

Functions of Memory Management Allocation: Assigns memory to processes when they need it. Deallocation: Frees memory when it is no longer needed by processes. Tracking: Keeps track of which parts of memory are in use and by which processes. Protection: Ensures that processes do not interfere with each other’s memory spaces.

Virtual Memory Virtual memory is a memory management technique that gives an application the impression it has contiguous working memory while in reality, it may be fragmented and span across RAM and disk storage.

How Virtual Memory Works? Paging: Divides memory into fixed-size pages. The OS swaps pages between RAM and disk storage as needed. Segmentation: Divides memory into variable-sized segments based on the logical divisions of a program

Benefits of Virtual Memory Increased Memory Capacity: Allows programs to use more memory than physically available. Isolation: Provides process isolation, improving security and stability. Efficient Memory Utilization: Allows better utilization of available memory resources.

Application Software vs Programs

Application Software Application software refers to programs designed to perform specific tasks for users. They are built to help users complete various tasks such as word processing, web browsing, or playing games. Examples: Microsoft Office Suite (Word, Excel, PowerPoint) Web Browsers (Google Chrome, Mozilla Firefox) Media Players (VLC, Windows Media Player)

Programs Programs are sets of instructions that tell the computer what to do. They include both system software (like operating systems) and application software.

Difference? Application Software: Designed for end-users to perform specific tasks. Programs: Can refer to any set of instructions, including both system software and application software.

Types of Applications Productivity Applications: Help users perform tasks efficiently. Examples: Microsoft Office, Google Workspace. Communication Applications: Facilitate communication between users. Examples: Email clients (Outlook), Messaging apps (Slack, WhatsApp). Multimedia Applications: Allow users to create, edit, and play multimedia content. Examples: Adobe Photoshop, VLC Media Player.

Types of Applications Educational Applications: Provide educational content and tools for learning. Examples: Duolingo, Khan Academy . Web Browser: Enables users to access and interact with content on the internet. Examples: Google Chrome, Mozilla Firefox.

Scan the QR code below

We will have short quiz now. Scan the QR code below:

Class Activity: Understanding Operating Systems Choose your pair. Should not be same as last week. Each group will be given a scenario. Each group will research their assigned scenario, focusing on the operating system and utility programs. Discuss within the group to identify two best options for the OS and necessary utilities. Each group presents their findings to the class, explaining their choices and justifications. Use the whiteboard to brainstorm.

Group 1: Small Business Setup Group 1 needs to set up a computer system for a small business. They need an operating system that can efficiently handle network services, provide security, and support business applications. Tasks Research and suggest the best operating system for this scenario . List the utility programs needed for backup, antivirus, and disk management . Justify why the chosen OS and utilities are the best fit for the business environment .

Group 2: Real-Time Application Development Group 2 needs to develop a real-time application for a medical device. The operating system should provide immediate processing and high reliability. Tasks Research and suggest the best real-time operating system for this scenario . Identify utility programs that can assist in system monitoring, debugging, and security. Justify why the chosen OS and utilities are the best fit for the real-time application development.

Group 3: Multimedia Content Creation Group 3 needs to set up a workstation for multimedia content creation, requiring an operating system that supports high performance, graphical processing, and multimedia applications. Tasks Research and suggest the best operating system for multimedia content creation. Identify utility programs that can optimize performance, manage files, and enhance security. Justify why the chosen OS and utilities are the best fit for multimedia content creation.
Tags