Chapter 2 SOFTWARE CONCEPTS

Size: px
Start display at page:

Download "Chapter 2 SOFTWARE CONCEPTS"

Transcription

1 Page1 Chapter 2 SOFTWARE CONCEPTS Software Software is a program or set of programs that govern the operation of a computer system and make the hardware run. These are the components of the computer system that cannot be seen and touched. Software can be classified broadly into two categories:- (i) System Software (ii) Application Software System Software The software that controls reading data from input devices, transmitting processed information to the output devices, checking system components, converting data/instructions to computer understandable form etc., is known as System Software. In short, System Software is specially designed software that controls the hardware and helps application software to run properly. System software is classified into following categories:- (i) Operating System is a program that acts an interface between a user and the hardware. Operating System contains instructions that coordinate the activities among computer hardware devices, thus it must be loaded from the hard disk into the main memory. This process of loading operating system in main memory is called Booting Up or Bootstrapping. The booting up is a step by step process as follows:- (a) Diagnostic tests that check for integrity of all components of a computer system. If any fault found, an error displayed. (b) A chip called ROM-BIOS (Read Only Memory Basic Input Output Services) is read and executed to check the presence of OS files on the hard disk.

2 Page2 (ii) (c) If OS files found then very first sector (called MBR Master Boot Record or Boot Sector) is read to look for active partition and loads secondary boot record from active partition. (d) This secondary boot record now loads and runs the bootloader program. Some popular bootloaders are:- NTLDR for old WINDOWS OSs like Windows NT, Windows XP, and Windows Server BOOTMGR for newer WINDOWS OSs like Windows Vista, Windows 7, Windows 8, Windows 8.1 etc. GRUB & GRUB2 for old and new LINUX versions. BOOTX for MAC OS. (e) Types of booting:- (f) Types of OSs Cold Booting takes place when we first turn on computer. Warm Booting takes place when we reset the computer by pressing Reset button. Single User OS that supports only one user at any point of time. This can be two subcategories of this OS type:- Single Task OS for example, Mobile OS, MS-DOS etc. Single User, Multitasking OS for example, Windows Vista, Windows 7/8 etc. Multiprogram OS supports multiuser, multiprogramming i.e., more than one user can be supported by it. The benefits of multiprogramming are as follows:- Increased CPU utilization Higher total job throughput (i.e., throughput is the amount of work accomplished in a given time interval. For example, Unix, Linux etc. Time Sharing OS uses tie sharing technique. Each active user program is given a fair share of CPU time (time quantum, time slice, time slot). If time slot elapses or I/O operation requested, CPU shifts over to the next job waiting. For example, BSD Unix, NOS/VE etc. In Real Time OS (RTOS), the jobs have fixed deadlines and the jobs have to be completed within their deadlines. For example, LynOS, OSE, RT Linux etc. Multiprocessing OS is capable of handling more than one processors as the jobs have to be executed on more than one processor by load sharing. For example, Unix, Linux, Windows NT etc. Distributed OS is designed to share its work load over multiple servers. For example, Unix, Linux etc. Interactive OS these provide GUI interface to facilitate easy interaction to the user. For example, Windows, Android OS etc. Language Processors are the software that can translate the source code into an object code or machine code. Here, Source Code refers to the program written by a programmer in HLL such as C, C++, Java etc. Object Code refers to a code in machine language or binary code that computer can understand easily.

3 Page3 There are three types of language processors: (a) Assembler converts the program written in Assembly Language into Machine Language. (b) Interpreter translates and executes instructions written in a computer program line-by-line. (c) Compiler translates and executes instructions written in a computer program in one go. (iii) Utility Software are those application programs that assist the computer by performing housekeeping functions like backing up disk or scanning/cleaning viruses or arranging information etc. Some commonly used utility software are: (a) Antivirus Software ensures virus-free work environment. It scans your disk for viruses and removes them. Some common virus types are:- Boot Viruses infect only the master boot records (MBR) of the Hard Disk. Program Viruses or File Viruses infect only executable files. Macro Viruses affects programs and document. This infection can only spread if infected documents are opened on another machine. Companion Virus attaches itself with existing files. When the infected files runs, the virus gets activated and can affect other program/files. Worms is a malicious program that keeps replicating and hence occupies all the storage of the computer. Trojan horse comes in useful program. Once runs they can cause data loss, system crash or infect other programs/disks. Malware is any online software used to disrupt or damage the computer working such as disrupt computer operations, gather sensitive information, gain access to private computer systems, or display unwanted advertising. Adware is malware designed to pop up advertisements. Spyware is written to monitor actions on a computer that can record every keystroke and mouse click you make. (b) File Management Tools (c) Compression Tools facilitates compression of files. For example, WinRAR, WinZIP etc.

4 Page4 (iv) (d) Disk Management Tools are used for efficiently managing data on disks so as to have increased performance. Common disk management tools are: Disk Cleanup Tool allows you to free your computer from temporary and unnecessary files. Disk Defragmenter attempts to minimize the splits unallocated memory in a single location. A file is fragmented when it becomes too large not possible to store in a single location on the disk then your computer splits the file up and stores it in pieces. Backup Utility facilitates the backing-up of disk. Back-up means duplicating the file/folders/drives so that in case any damage or dataloss, this backed up data may be used when needed. Device Drivers are programs or files that contain sets of instructions for the operating system as to work different hardware devices such as scanner, printer, modem, camera etc. Application Software These are the programs written to perform a specific task such as processing words, financial accounting, handling calculations and figures, inventory control, railway reservation, result preparation, billing etc. the various types of application software are:- (1) Office Tools are used in office for documentation and recording purposes. These software types are: (i) Word Processing Software or Package that processes textual matter and creates organized and flawless documents. For example, MS-Word, Wordpad, Wordstar etc. (ii) Electronic Spreadsheet is a program that accepts data in a tabular form and allows users to manipulate/calculate/analyze data in the desired manner. For example, MS-Excel, Lotus etc. (iii) Database Management Systems (DBMS) is a package that extends your ability to organize collections of data stored in your computer and provides tools for listing subsets of the data that meet specified criteria. For example, (iv) MS-Access, SQL Server, Oracle etc. Graphics Application that manipulates images such as Adobe Photoshop. Multimedia Application that incorporates images, text, sound, computer animation and video sequences such as Adobe Director. Presentation Application that can create professional looking visual aids such as MS- PowerPoint. (2) Domain Specific Application Software is designed to a specific task or domain. Some are School Management Software, Railway Reservation Software, Hotel Management Software, Financial Accounting Software, Inventory Management Software, Payroll System, Weather Forecasting System etc. Free Software means no payments are needed to be made for free software. Free software is freely accessible and can be freely used, changed, improved, copied and distributed by all who wish to do so. Open Source Software (OSS) can be freely used but it does not have to be free of charge. This software receives payments for further development. The source code is freely available to the customer.

5 Page5 Proprietary Software is the software that is neither open nor freely available. All rights are reserved with the owner of the software. Freeware is available free of cost and which allows copying and further distribution, but not modification and whose source code is not available. For example, Microsoft Internet Explorer. Shareware is software, which is made available with the right to redistribute copies, but it is stipulated that if one intends to use the software, often a certain period of time, then a license fee should be paid. The source code is not available and modification to the software is not allowed. Operating System s Services (1) Program Execution (2) Handling Input/Output Operations (3) Manipulation of File System (4) Error Detection and Handling (5) Resource Allocation (6) Accounting (7) Information and Resource Protection Operating System s Functions The major OS functions are broadly classified into three categories:- (1) Processor Management means managing the process or processor i.e., CPU. It is also known as CPU Scheduling. CPU Scheduled to the job known as Job Scheduling. Job Scheduling not only assigns priority to jobs but also admits new jobs for processing at appropriate times. Program is a set of instructions and process is a program in execution. During execution, the process changes its states. The state of a process is defined by its current activity. A process can have these states: new, active, waiting or halted. New Active Halted Waiting Each process is represented in the OS by a data block called Process Control Block. A PCB contains following information:- (i) Process State are New, Active, Waiting and Halted (ii) Program Counter: It indicates the address of next instruction to be executed. (iii) CPU Register: Stores system related information. (iv) Memory limits (v) List of open files

6 Page6 Factors determine which scheduling technique have best possible results are as follows:- (a) CPU Utilization should be maximum. (b) Turnaround time should be minimum i.e., Turnaround time is the delay between job submission and job completion. (c) Waiting time should be minimum i.e., Waiting time is the delay for which job is in waiting state. (d) Response time should be fastest i.e., Response time is the time when CPU starts executing the job. (e) Throughput should be maximum i.e., Throughput is the amount of work accomplished in a given time interval. It is calculated as follows:- Throughput = There are two types of scheduling:- (i) Non-Preemptive scheduling: In this type of scheduling, a scheduled job always completes before another scheduling decision is made. Therefore, finishing order of the jobs is same as their starting order. The various nonpreemptive scheduling technique are:- (a) FCFS(First Come First Serve) Scheduling: This technique is managed by FIFO(First In First Out). The process which requests CPU first, is allocated first and last is allocated last. Batch processing is an example of this technique. Turnaround time of very first job is best but for the very last job, it is worst. (b) SJN(Shortest Job Next) Scheduling: In this technique, whenever a new job is to be admitted, the shortest of the arrived jobs is selected and given the CPU time. Throughput remains the same as in the FCFS but waiting time improves. SJN associates with each job the length of its next CPU burst. (CPU burst is the CPU time required by a job to execute its continuous executable part.) (c) Deadline Scheduling: In this technique, the job with the earliest deadline is selected for scheduling. Deadline of a job is the time limit within which a job must be over. If a job overshoots its deadline, it is said to be Deadline overrun. Deadline overrun is the difference between job completion time and deadline for a job. (ii) Preemptive scheduling: In this type of scheduling, a scheduling decision can be made even while the job is executing whereas in Non-Preemptive scheduling, a scheduling decision can be made only after job completes its execution. The various preemptive scheduling techniques are:- (a) Round Robin Scheduling: It is aimed at giving all programs equal opportunity to make progress. This is implemented by ensuring that no program gets a

7 Page7 second opportunity to execute unless all other programs have had atleast one opportunity. A small unit of time, called a time quantum or time slice. (b) Response Ration Scheduling: Response Ration is calculated as follows:- Response = The job with highest response ration is preferred over others. When short job arrives its response ration is high, so it is scheduled for execution immediately. (2) Storage Management is memory management for effective utilization of CPU. There are various approaches to memory management:- (i) (ii) Contiguous Storage Allocation In this classical approach, each problem, which is to be executed, is allocated a contiguous storage memory allocation. Non- Contiguous Storage Allocation In non-contiguous storage allocation, a program can be stored in noncontinuous storage allocation. A program divided into smaller components of equal sizes and stored them in different location. Non-contiguous storage allocation has two main approaches to virtual storage are:- 1. Virtual Storage using paging:- In this approach, each program is split into fixed size program components called pages and words in a page, both are numbered from 0, 1, 2,.., n i.e. their logical or virtual addresses. The range 0, 1, 2,, n of logical or virtual addresses is called virtual address space. The range of main storage addresses 0, 1, 2,, n is referred to as physical address space. In order to execute a program, some pages of it are loaded in the main memory depending upon storage availability. During its execution, the program generates page number which is mapped on to Page Map Table to find its physical location and then the page is accessed. When required page is not in the main memory a missing page fault/interrupt is raised. This fault/interrupt is popularly called a page fault. Now, the OS takes action to bring that page from the secondary memory, this operation is called page-in. If no virtual storage space is vacant then in this situation, a storage block is vacated by moving out a page from main storage to secondary memory, and this operation is called page-out. The process of bringing in the required page is known as demand paging. The reading and writing of pages determines page traffic. If page traffic is too much, this situation is called thrashing.

8 Page8 2. Virtual Storage using Segmentation:- This approach is same as paging is implemented. The point where it differs from paging is, use of program segments. A program segment is a logical unit of a program as defined by a programmer. A program segment is a piece of program logic which performs a specific task. For accessing a particular word in the segment, its logical address consists of two parts: (i) Segment Number (ii) word number This segment number is mapped on to segment table to get physical address of the segment and by adding the word s identification number, physical and actual address of the word is found out. In the same way of the paging, segments in the memory are processed and if a segment is not available in the memory, segment missing fault/interrupt is raised. This fault/interrupt is popularly called a segment fault. To increase the efficiency of a system sometimes paging and segmentation is combined. (3) INFORMATION MANAGEMENT:- Computer System stores information, processes information, provides information etc. thus managing this information is also an important and necessary task performed by an OS. To support this function, OSs has one component called information Management Component. This information management component of OS is structured as follows: (i) Physical IOCS (Input-Output Control System) is responsible for device, management and for ensuring device independence. It provides a basic capability for the programs to perform their own IO, without involving themselves with the intricacies of device handling. (ii) Logical IOCS is responsible for efficient organization and access of the data on IO devices. It provides basic capabilities for file definition, choice of data organization and access methods. (iii) File System is responsible for protection and controlled sharing of files.

Chapter 2 WORKING WITH OPERATING SYSTEM

Chapter 2 WORKING WITH OPERATING SYSTEM Chapter 2 WORKING WITH OPERATING SYSTEM INTRODUCTION The Windows operating system users both mouse and keyboard as input devices. Interaction with Windows or a Windows application is most efficient when

More information

Chapter 8 Operating Systems and Utility Programs

Chapter 8 Operating Systems and Utility Programs Chapter 8 Operating Systems and Utility Programs Chapter 8 Objectives Identify the types of system software Summarize the startup process on a personal computer Summarize the features of several stand-alone

More information

Chapter 8 Operating Systems and Utility Programs أ.أمل زهران

Chapter 8 Operating Systems and Utility Programs أ.أمل زهران Chapter 8 Operating Systems and Utility Programs Chapter 8 Objectives Identify the types of system software Summarize the startup process on a personal computer Summarize the features of several stand-alone

More information

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World

Discovering Computers Fundamentals, 2011 Edition. Living in a Digital World Discovering Computers Fundamentals, 2011 Edition Living in a Digital World Objectives Overview Define system software and identify the two types of system software Describe the functions of an operating

More information

Discovering Computers Living in a Digital World

Discovering Computers Living in a Digital World Discovering Computers 2010 Living in a Digital World Objectives Overview Define system software and identify the two types of system software Describe the functions of an operating system Summarize the

More information

Operating Systems. Instructor: Dmitri A. Gusev. Spring Lecture 16, April 17, CSC : Introduction to Computer Science

Operating Systems. Instructor: Dmitri A. Gusev. Spring Lecture 16, April 17, CSC : Introduction to Computer Science Operating Systems Instructor: Dmitri A. Gusev Spring 2007 CSC 120.02: Introduction to Computer Science Lecture 16, April 17, 2007 Functions of an Operating System The operating system (OS) is the core

More information

OPERATING SYSTEMS & UTILITY PROGRAMS

OPERATING SYSTEMS & UTILITY PROGRAMS OPERATING SYSTEMS & UTILITY PROGRAMS System Software System software consists of the programs that control the operations of the computer and its devices. Functions that system software performs include:

More information

Definition. A series of detailed instructions that control the operation of a computer system. are developed by computer programmers

Definition. A series of detailed instructions that control the operation of a computer system. are developed by computer programmers Computer Software Definition A series of detailed instructions that control the operation of a computer system. Software exists as programs that are developed by computer programmers Categories of software

More information

Computer Software. Lect 4: System Software

Computer Software. Lect 4: System Software Computer Software Lect 4: System Software 1 What You Will Learn List the two major components of system software. Explain why a computer needs an operating system. List the five basic functions of an operating

More information

Computing Fundamentals and Programming (CE-100) Batch 2019 (Electronic Engineering) Chapter 6: System Software

Computing Fundamentals and Programming (CE-100) Batch 2019 (Electronic Engineering) Chapter 6: System Software Computing Fundamentals and Programming (CE-100) Batch 2019 (Electronic Engineering) Chapter 6: System Software Prepared by: Engr. Saeed Azhar (Assistant Professor, EED) (Electronics Sec A) Software Significance:

More information

OPERATING SYSTEM. Functions of Operating System:

OPERATING SYSTEM. Functions of Operating System: OPERATING SYSTEM Introduction: An operating system (commonly abbreviated to either OS or O/S) is an interface between hardware and user. OS is responsible for the management and coordination of activities

More information

Computer Software A computer contains two major sets of tools, software and hardware. Software is generally divided into Systems software and

Computer Software A computer contains two major sets of tools, software and hardware. Software is generally divided into Systems software and Computer Software A computer contains two major sets of tools, software and hardware. Software is generally divided into Systems software and Applications software. Systems software provides infrastructure

More information

Systems software. Definition. Categories of software. Examples Of Systems Software 11/23/2018

Systems software. Definition. Categories of software. Examples Of Systems Software 11/23/2018 Systems Computer Software Is an interface or buffer between application and hardware Controls the computer hardware and acts as an interface with applications programs Definition A series of detailed instructions

More information

Computers: Tools for an Information Age. System Software

Computers: Tools for an Information Age. System Software Computers: Tools for an Information Age System Software Objectives System Software Operating system (OS) Popular Operating Systems System Utilities 2 System Software 3 System Software System software includes

More information

MIT 11043, PC APPLICATIONS

MIT 11043, PC APPLICATIONS MIT 11043, PC APPLICATIONS By: S.Sabraz Nawaz M I S U n i t F a c u l t y o f M a n a g e m e n t a n d C o m m e r c e S o u t h E a s t e r n U n i v e r s i t y o f S r i L a n k a 2013 1.1 Introduction

More information

1- Which of the following tasks is the operating system NOT responsible for? d) Coordinates communication between software applications and the CPU

1- Which of the following tasks is the operating system NOT responsible for? d) Coordinates communication between software applications and the CPU 1- Which of the following tasks is the operating system NOT responsible for? a) Management, scheduling, and coordination of tasks b) File compression c) Manages the computer's hardware d) Coordinates communication

More information

Software Concepts & Productivity Tools

Software Concepts & Productivity Tools 2 Software Concepts & Productivity Tools Learning Objectives After studying this lesson the students will be able to: understand the importance of binary language appreciate the need and importance of

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Operating Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating system Main functions of an operating system Commonly used mechanisms

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating Main functions of an operating Commonly used mechanisms for: Process management

More information

Introduction to Operating System

Introduction to Operating System Introduction to Operating System An operating system is a program which manages all the computer hardware. It provides the base for application program and acts as an intermediary between a user and the

More information

I. Ch 5 System Software

I. Ch 5 System Software I. Ch 5 System Software A. Competencies 1. Describe the differences between system software and application software 2. Discuss the four types of system software 3. Discuss the basic functions, features

More information

3.1 (a) The Main Features of Operating Systems

3.1 (a) The Main Features of Operating Systems Chapter 3.1 The Functions of Operating Systems 3.1 (a) The Main Features of Operating Systems The operating system (OS) must provide and manage hardware resources as well as provide an interface between

More information

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc.

Some popular Operating Systems include Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/os, etc. An Operating System (OS) is an interface between computer user and computer hardware. An operating system is software which performs all the basic tasks like file management, memory management, process

More information

Software Concepts. It is a translator that converts high level language to machine level language.

Software Concepts. It is a translator that converts high level language to machine level language. Software Concepts One mark questions: 1. What is a program? It is a set of instructions given to perform a task using a programming language. 2. What is hardware? It is defined as physical parts of the

More information

Describe the functions of an operating system. Briefly describe various server operating systems. Explain the purpose of several utility programs

Describe the functions of an operating system. Briefly describe various server operating systems. Explain the purpose of several utility programs Discovering Computers 2010 Living in a Digital World Objectives Overview Define system software and identify the two types of system software Describe the functions of an operating system Summarize the

More information

Operating System Study Material

Operating System Study Material The operating system works as a mediator between hardware, application software and user. Operating systems are programs that coordinate computer resources, provide an interface between users and the computer,

More information

Processes. CS 475, Spring 2018 Concurrent & Distributed Systems

Processes. CS 475, Spring 2018 Concurrent & Distributed Systems Processes CS 475, Spring 2018 Concurrent & Distributed Systems Review: Abstractions 2 Review: Concurrency & Parallelism 4 different things: T1 T2 T3 T4 Concurrency: (1 processor) Time T1 T2 T3 T4 T1 T1

More information

Types and Functions of Win Operating Systems

Types and Functions of Win Operating Systems LEC. 2 College of Information Technology / Software Department.. Computer Skills I / First Class / First Semester 2017-2018 Types and Functions of Win Operating Systems What is an Operating System (O.S.)?

More information

Razi University Eduvational Use. Computer. Fundamentals & Programming. Software. Computer Fundamentals & Programming. Dr.

Razi University Eduvational Use. Computer. Fundamentals & Programming. Software. Computer Fundamentals & Programming. Dr. Software Dr. Maysam Saidi 1 1. 2. 3. 4. 5. Application Software Types of Software Software Licensing Types of Software License Software Piracy 2 Software software, or just software, is a collection of

More information

MARUTHI SCHOOL OF BANKING (MSB)

MARUTHI SCHOOL OF BANKING (MSB) MARUTHI SCHOOL OF BANKING (MSB) SO IT - OPERATING SYSTEM(2017) 1. is mainly responsible for allocating the resources as per process requirement? 1.RAM 2.Compiler 3.Operating Systems 4.Software 2.Which

More information

CHAPTER 2: PROCESS MANAGEMENT

CHAPTER 2: PROCESS MANAGEMENT 1 CHAPTER 2: PROCESS MANAGEMENT Slides by: Ms. Shree Jaswal TOPICS TO BE COVERED Process description: Process, Process States, Process Control Block (PCB), Threads, Thread management. Process Scheduling:

More information

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5

OPERATING SYSTEMS CS3502 Spring Processor Scheduling. Chapter 5 OPERATING SYSTEMS CS3502 Spring 2018 Processor Scheduling Chapter 5 Goals of Processor Scheduling Scheduling is the sharing of the CPU among the processes in the ready queue The critical activities are:

More information

Technology in Action Complete, 13e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management

Technology in Action Complete, 13e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management Technology in Action Complete, 13e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management 1) The two major types of system software programs are utility programs

More information

B. V. Patel Institute of Business Management, Computer &Information Technology, UTU

B. V. Patel Institute of Business Management, Computer &Information Technology, UTU BCA-3 rd Semester 030010304-Fundamentals Of Operating Systems Unit: 1 Introduction Short Answer Questions : 1. State two ways of process communication. 2. State any two uses of operating system according

More information

PESIT SOUTHCAMPUS. Question Bank

PESIT SOUTHCAMPUS. Question Bank Faculty:Sudhakar No. Of Hours:2 Question Bank UNIT : INTRODUCTION TO OPERATING SYSTEMS & THEIR CLASSIFICATION Objective: The main objective of this chapter is to study the Operating system basics & Classifications..

More information

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012 TED (10)-3071 (REVISION-2010) Reg. No.. Signature. FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012 OPERATING SYSTEM (Common to CT and IF) (Maximum marks: 100) [Time: 3 hours

More information

Scheduling of processes

Scheduling of processes Scheduling of processes Processor scheduling Schedule processes on the processor to meet system objectives System objectives: Assigned processes to be executed by the processor Response time Throughput

More information

CPU Scheduling: Objectives

CPU Scheduling: Objectives CPU Scheduling: Objectives CPU scheduling, the basis for multiprogrammed operating systems CPU-scheduling algorithms Evaluation criteria for selecting a CPU-scheduling algorithm for a particular system

More information

This tutorial is designed for anyone who wants to understand the basic concepts of what a computer is and how it functions.

This tutorial is designed for anyone who wants to understand the basic concepts of what a computer is and how it functions. About the Tutorial A computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format. Computers have become an integral

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 9 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 CPU Scheduling: Objectives CPU scheduling,

More information

Subject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date:

Subject Name: OPERATING SYSTEMS. Subject Code: 10EC65. Prepared By: Kala H S and Remya R. Department: ECE. Date: Subject Name: OPERATING SYSTEMS Subject Code: 10EC65 Prepared By: Kala H S and Remya R Department: ECE Date: Unit 7 SCHEDULING TOPICS TO BE COVERED Preliminaries Non-preemptive scheduling policies Preemptive

More information

Memory Management. 3. What two registers can be used to provide a simple form of memory protection? Base register Limit Register

Memory Management. 3. What two registers can be used to provide a simple form of memory protection? Base register Limit Register Memory Management 1. Describe the sequence of instruction-execution life cycle? A typical instruction-execution life cycle: Fetches (load) an instruction from specific memory address. Decode the instruction

More information

CS418 Operating Systems

CS418 Operating Systems CS418 Operating Systems Lecture 9 Processor Management, part 1 Textbook: Operating Systems by William Stallings 1 1. Basic Concepts Processor is also called CPU (Central Processing Unit). Process an executable

More information

UNIT 4 Device Management

UNIT 4 Device Management UNIT 4 Device Management (A) Device Function. (B) Device Characteristic. (C) Disk space Management. (D) Allocation and Disk scheduling Methods. [4.1] Device Management Functions The management of I/O devices

More information

CHAPTER-1: INTRODUCTION TO OPERATING SYSTEM:

CHAPTER-1: INTRODUCTION TO OPERATING SYSTEM: CHAPTER-1: INTRODUCTION TO OPERATING SYSTEM: TOPICS TO BE COVERED 1.1 Need of Operating System 1.2 Evolution of os 1.3 operating system i. Batch ii. iii. iv. Multiprogramming Time sharing Real time v.

More information

Lecture 17: Threads and Scheduling. Thursday, 05 Nov 2009

Lecture 17: Threads and Scheduling. Thursday, 05 Nov 2009 CS211: Programming and Operating Systems Lecture 17: Threads and Scheduling Thursday, 05 Nov 2009 CS211 Lecture 17: Threads and Scheduling 1/22 Today 1 Introduction to threads Advantages of threads 2 User

More information

Operating System Concepts Rab Nawaz Khan Jadoon

Operating System Concepts Rab Nawaz Khan Jadoon Operating System Concepts Rab Nawaz Khan Jadoon DCS COMSATS Institute of Information Technology Lecturer COMSATS Lahore Pakistan Operating System Concepts Operating System Operating System It is a system

More information

For The following Exercises, mark the answers True and False

For The following Exercises, mark the answers True and False 1 For The following Exercises, mark the answers True and False 1. An operating system is an example of application software. False 2. 3. 4. 6. 7. 9. 10. 12. 13. 14. 15. 16. 17. 18. An operating system

More information

COSC243 Part 2: Operating Systems

COSC243 Part 2: Operating Systems COSC243 Part 2: Operating Systems Lecture 17: CPU Scheduling Zhiyi Huang Dept. of Computer Science, University of Otago Zhiyi Huang (Otago) COSC243 Lecture 17 1 / 30 Overview Last lecture: Cooperating

More information

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013)

CPU Scheduling. Daniel Mosse. (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) CPU Scheduling Daniel Mosse (Most slides are from Sherif Khattab and Silberschatz, Galvin and Gagne 2013) Basic Concepts Maximum CPU utilization obtained with multiprogramming CPU I/O Burst Cycle Process

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 10 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Chapter 6: CPU Scheduling Basic Concepts

More information

Introduction to Operating Systems

Introduction to Operating Systems Module- 1 Introduction to Operating Systems by S Pramod Kumar Assistant Professor, Dept.of ECE,KIT, Tiptur Images 2006 D. M.Dhamdhare 1 What is an OS? Abstract views To a college student: S/W that permits

More information

Lecture Topics. Announcements. Today: Uniprocessor Scheduling (Stallings, chapter ) Next: Advanced Scheduling (Stallings, chapter

Lecture Topics. Announcements. Today: Uniprocessor Scheduling (Stallings, chapter ) Next: Advanced Scheduling (Stallings, chapter Lecture Topics Today: Uniprocessor Scheduling (Stallings, chapter 9.1-9.3) Next: Advanced Scheduling (Stallings, chapter 10.1-10.4) 1 Announcements Self-Study Exercise #10 Project #8 (due 11/16) Project

More information

Scheduling. The Basics

Scheduling. The Basics The Basics refers to a set of policies and mechanisms to control the order of work to be performed by a computer system. Of all the resources in a computer system that are scheduled before use, the CPU

More information

CPU Scheduling. Rab Nawaz Jadoon. Assistant Professor DCS. Pakistan. COMSATS, Lahore. Department of Computer Science

CPU Scheduling. Rab Nawaz Jadoon. Assistant Professor DCS. Pakistan. COMSATS, Lahore. Department of Computer Science CPU Scheduling Rab Nawaz Jadoon DCS COMSATS Institute of Information Technology Assistant Professor COMSATS, Lahore Pakistan Operating System Concepts Objectives To introduce CPU scheduling, which is the

More information

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory Q.1 Explain Memory Data Storage in storage device like CD, HDD, DVD, Pen drive etc, is called memory. The device which storage data is called storage device. E.g. hard disk, floppy etc. There are two types

More information

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha Computer Fundamentals Pradeep K. Sinha Priti Sinha Chapter 14 Operating Systems Slide 1/74 Learning Objectives In this chapter you will learn about: Definition and need for operating system Main functions

More information

Copyright 2006 Prentice-Hall. All rights reserved. 1

Copyright 2006 Prentice-Hall. All rights reserved. 1 PC Basics CPSC 100 Hardware Software Networking Copyright 2006 Prentice-Hall. All rights reserved. 1 Objectives Identify basic components of a computer (hardware) Gain insight into how computers work (software)

More information

Software and Licences. Lecture 3 COMPSCI111/111G S2 2017

Software and Licences. Lecture 3 COMPSCI111/111G S2 2017 Software and Licences Lecture 3 COMPSCI111/111G S2 2017 Today s lecture Describe what software is Understand the legal protections for software Learn about the different software licences Identify different

More information

Software and Licences

Software and Licences Today s lecture Software and Licences Lecture 3 COMPSCI111/111G S2 2017 Describe what software is Understand the legal protections for software Learn about the different software licences Identify different

More information

Review. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling

Review. Preview. Three Level Scheduler. Scheduler. Process behavior. Effective CPU Scheduler is essential. Process Scheduling Review Preview Mutual Exclusion Solutions with Busy Waiting Test and Set Lock Priority Inversion problem with busy waiting Mutual Exclusion with Sleep and Wakeup The Producer-Consumer Problem Race Condition

More information

Computers Are Your Future

Computers Are Your Future Computers Are Your Future Twelfth Edition Chapter 4: System Software Copyright 2012 Pearson Education, Inc. Publishing as Prentice Hall 1 System Software Copyright 2012 Pearson Education, Inc. Publishing

More information

Contents. Today's Topic: Introduction to Operating Systems

Contents. Today's Topic: Introduction to Operating Systems Contents Today's Topic: Introduction to Operating Systems We will learn 1. What is Operating System? 2. What OS does? 3. Structure of OS 4. Evolution of OS Batch Processing, Multiprogramming, Time sharing

More information

Announcements. Program #1. Program #0. Reading. Is due at 9:00 AM on Thursday. Re-grade requests are due by Monday at 11:59:59 PM.

Announcements. Program #1. Program #0. Reading. Is due at 9:00 AM on Thursday. Re-grade requests are due by Monday at 11:59:59 PM. Program #1 Announcements Is due at 9:00 AM on Thursday Program #0 Re-grade requests are due by Monday at 11:59:59 PM Reading Chapter 6 1 CPU Scheduling Manage CPU to achieve several objectives: maximize

More information

Uniprocessor Scheduling. Aim of Scheduling

Uniprocessor Scheduling. Aim of Scheduling Uniprocessor Scheduling Chapter 9 Aim of Scheduling Response time Throughput Processor efficiency Types of Scheduling Long-Term Scheduling Determines which programs are admitted to the system for processing

More information

Uniprocessor Scheduling. Aim of Scheduling. Types of Scheduling. Long-Term Scheduling. Chapter 9. Response time Throughput Processor efficiency

Uniprocessor Scheduling. Aim of Scheduling. Types of Scheduling. Long-Term Scheduling. Chapter 9. Response time Throughput Processor efficiency Uniprocessor Scheduling Chapter 9 Aim of Scheduling Response time Throughput Processor efficiency Types of Scheduling Long-Term Scheduling Determines which programs are admitted to the system for processing

More information

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling

Uniprocessor Scheduling. Basic Concepts Scheduling Criteria Scheduling Algorithms. Three level scheduling Uniprocessor Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Three level scheduling 2 1 Types of Scheduling 3 Long- and Medium-Term Schedulers Long-term scheduler Determines which programs

More information

Chapter 6: CPU Scheduling

Chapter 6: CPU Scheduling Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Thread Scheduling Operating Systems Examples Java Thread Scheduling

More information

Software and Licences. Lecture 3 COMPSCI111/111G

Software and Licences. Lecture 3 COMPSCI111/111G Software and Licences Lecture 3 COMPSCI111/111G Today s lecture Describe what software is Understand the legal protections for software Learn about the different software licences Identify different kinds

More information

Unit 3 : Process Management

Unit 3 : Process Management Unit : Process Management Processes are the most widely used units of computation in programming and systems, although object and threads are becoming more prominent in contemporary systems. Process management

More information

Technology In Action, Complete, 14e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management

Technology In Action, Complete, 14e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management Technology In Action, Complete, 14e (Evans et al.) Chapter 5 System Software: The Operating System, Utility Programs, and File Management 1) The two major types of system software programs are utility

More information

Subject Teacher: Prof. Sheela Bankar

Subject Teacher: Prof. Sheela Bankar Peoples Empowerment Group ISB&M SCHOOL OF TECHNOLOGY, NANDE, PUNE DEPARTMENT OF COMPUTER ENGINEERING Academic Year 2017-18 Subject: SP&OS Class: T.E. computer Subject Teacher: Prof. Sheela Bankar 1. Explain

More information

MC7204 OPERATING SYSTEMS

MC7204 OPERATING SYSTEMS MC7204 OPERATING SYSTEMS QUESTION BANK UNIT I INTRODUCTION 9 Introduction Types of operating systems operating systems structures Systems components operating systems services System calls Systems programs

More information

The Operating System

The Operating System The operation system (OS) is a set of programs that coordinates: Hardware functions Interaction between application software and computer hardware Copyright 2011 Pearson Education, Inc. Publishing as Prentice

More information

Common Preventive Maintenance Techniques for Operating Systems

Common Preventive Maintenance Techniques for Operating Systems Common Preventive Maintenance Techniques for Operating Systems OS Preventive Maintenance Plan To ensure that an OS remains fully functional, you must implement a preventive maintenance plan. A preventive

More information

CPU Scheduling Algorithms

CPU Scheduling Algorithms CPU Scheduling Algorithms Notice: The slides for this lecture have been largely based on those accompanying the textbook Operating Systems Concepts with Java, by Silberschatz, Galvin, and Gagne (2007).

More information

LECTURE 3:CPU SCHEDULING

LECTURE 3:CPU SCHEDULING LECTURE 3:CPU SCHEDULING 1 Outline Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time CPU Scheduling Operating Systems Examples Algorithm Evaluation 2 Objectives

More information

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition

Chapter 6: CPU Scheduling. Operating System Concepts 9 th Edition Chapter 6: CPU Scheduling Silberschatz, Galvin and Gagne 2013 Chapter 6: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Real-Time

More information

Department of CSIT ( G G University, Bilaspur ) Model Answer 2013 (Even Semester) - AR-7307

Department of CSIT ( G G University, Bilaspur ) Model Answer 2013 (Even Semester) - AR-7307 Department of CSIT ( G G University, Bilaspur ) Model Answer 2013 (Even Semester) - AR-7307 Class: MCA Semester: II Year:2013 Paper Title: Principles of Operating Systems Max Marks: 60 Section A: (All

More information

Introduction to Computers. Joslyn A. Smith

Introduction to Computers. Joslyn A. Smith Introduction to Computers Joslyn A. Smith March 9, 2010 5/18/2011 1 What is a Computer? An electronic device that has the capability of performing the following tasks: Responds to input. Processes the

More information

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers

LECTURE SCHEDULE 2. Units of Memory, Hardware, Software and Classification of Computers LECTURE SCHEDULE 2 Units of Memory, Hardware, Software and Classification of Computers Units of Memory The memory unit is the principal storage of the computer. All the data and instructions that the computer

More information

CPU scheduling. Alternating sequence of CPU and I/O bursts. P a g e 31

CPU scheduling. Alternating sequence of CPU and I/O bursts. P a g e 31 CPU scheduling CPU scheduling is the basis of multiprogrammed operating systems. By switching the CPU among processes, the operating system can make the computer more productive. In a single-processor

More information

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005

Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005 Introduction to Information Technology Turban, Rainer and Potter John Wiley & Sons, Inc. Copyright 2005 Computer Software Chapter Outline Significance of software System software Application software Software

More information

Introductory Visualizing Technology

Introductory Visualizing Technology Introductory Visualizing Technology Seventh Edition Chapter 5 System Software Learning Objectives 5.1 Explain What an Operating System Does 5.2 Compare Desktop Operating Systems 5.3 Configure a Desktop

More information

Lecture 2 Process Management

Lecture 2 Process Management Lecture 2 Process Management Process Concept An operating system executes a variety of programs: Batch system jobs Time-shared systems user programs or tasks The terms job and process may be interchangeable

More information

AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011

AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011 AMSC/CMSC 662 Computer Organization and Programming for Scientific Computing Fall 2011 Operating Systems Dianne P. O Leary c 2011 1 Operating Systems Notes taken from How Operating Systems Work by Curt

More information

Computer. Operating Systems Introduction to Operating System (OS)

Computer. Operating Systems Introduction to Operating System (OS) Computer Operating Systems Introduction to Operating System (OS) A computer is a system composed of two major components: hardware and software. Hardware is the physical equipment. Software is the collection

More information

Operating System - Overview

Operating System - Overview Unit 37. Operating System Operating System - Overview An Operating System (OS) is an interface between a computer user and computer hardware. An operating system is a software which performs all the basic

More information

1.1 CPU I/O Burst Cycle

1.1 CPU I/O Burst Cycle PROCESS SCHEDULING ALGORITHMS As discussed earlier, in multiprogramming systems, there are many processes in the memory simultaneously. In these systems there may be one or more processors (CPUs) but the

More information

Operating Systems: The Genie in the Computer. Chapter 6: Operating Systems: The Genie in the Computer. What is an operating system?

Operating Systems: The Genie in the Computer. Chapter 6: Operating Systems: The Genie in the Computer. What is an operating system? Chapter 6: : The Genie in the Computer What do you have left on your computer after you strip away all of the games and application programs you bought and installed? : The Genie in the Computer In this

More information

CS370: System Architecture & Software [Fall 2014] Dept. Of Computer Science, Colorado State University

CS370: System Architecture & Software [Fall 2014] Dept. Of Computer Science, Colorado State University Frequently asked questions from the previous class survey CS 370: SYSTEM ARCHITECTURE & SOFTWARE [CPU SCHEDULING] Shrideep Pallickara Computer Science Colorado State University OpenMP compiler directives

More information

Technology in Action. Chapter 5 System Software: The Operating System, Utility Programs, and File Management

Technology in Action. Chapter 5 System Software: The Operating System, Utility Programs, and File Management Technology in Action Chapter 5 System Software: The Operating System, Utility Programs, and File Management Chapter Topics Operating System Fundamentals What the Operating System Does The Boot Process:

More information

Techno India Batanagar Department of Computer Science & Engineering. Model Questions. Multiple Choice Questions:

Techno India Batanagar Department of Computer Science & Engineering. Model Questions. Multiple Choice Questions: Techno India Batanagar Department of Computer Science & Engineering Model Questions Subject Name: Operating System Multiple Choice Questions: Subject Code: CS603 1) Shell is the exclusive feature of a)

More information

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Ninth Edition. Copyright 2013 Pearson Education, Inc. Publishing as Prentice Hall

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Ninth Edition. Copyright 2013 Pearson Education, Inc. Publishing as Prentice Hall Technology in Action Alan Evans Kendall Martin Mary Anne Poatsy Ninth Edition Copyright 2013 Pearson Education, Inc. Publishing as Prentice Hall Technology in Action Chapter 5 Using System Software: The

More information

CSE120 Principles of Operating Systems. Prof Yuanyuan (YY) Zhou Scheduling

CSE120 Principles of Operating Systems. Prof Yuanyuan (YY) Zhou Scheduling CSE120 Principles of Operating Systems Prof Yuanyuan (YY) Zhou Scheduling Announcement l Homework 2 due on October 26th l Project 1 due on October 27th 2 Scheduling Overview l In discussing process management

More information

SOFTWARE A set of instruction is known as program and a collection of program is known as Software. First programmer in the history of the computer is lady Ada Lovelace CLASSIFICATION OF SOFTWARE SYSTEM

More information

(MCQZ-CS604 Operating Systems)

(MCQZ-CS604 Operating Systems) command to resume the execution of a suspended job in the foreground fg (Page 68) bg jobs kill commands in Linux is used to copy file is cp (Page 30) mv mkdir The process id returned to the child process

More information

Operating Systems. Scheduling

Operating Systems. Scheduling Operating Systems Scheduling Process States Blocking operation Running Exit Terminated (initiate I/O, down on semaphore, etc.) Waiting Preempted Picked by scheduler Event arrived (I/O complete, semaphore

More information

Operating System Review Part

Operating System Review Part Operating System Review Part CMSC 602 Operating Systems Ju Wang, 2003 Fall Virginia Commonwealth University Review Outline Definition Memory Management Objective Paging Scheme Virtual Memory System and

More information

Downloaded from various sources on the NET

Downloaded from various sources on the NET Overview Computers. Hardware components of a Computer. Purpose and functions of computer operating systems. Evolution of computer operating systems. Operating systems available today. Downloaded from various

More information