Chapter 2 Operating System Overview

Similar documents
Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System

Operating System Overview. Operating System

Operating System Overview. Chapter 2

Operating Systems Overview. Chapter 2

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Operating System Overview. Chapter 2

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System

Operating Systems Overview. Chapter 2

OPERATING SYSTEM SUPPORT (Part 1)

Operating Systems : Overview

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System

Computer System Overview

Operating Systems Overview

Introduction. CS3026 Operating Systems Lecture 01

2. The system of... generally ran one job at a time. These were called single stream batch processing.

Announcement. Exercise #2 will be out today. Due date is next Monday

Solved MCQs on Operating System Principles. Set-1

The modularity requirement

Introduction to Operating. Chapter Chapter

Introduction to Operating Systems. Chapter Chapter

For use by students enrolled in #71251 CSE430 Fall 2012 at Arizona State University. Do not use if not enrolled.

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

Process Characteristics

OS - Introduction Ezio Bartocci Institute for Computer Engineering

Principles of Operating Systems CS 446/646

W4118 Operating Systems. Junfeng Yang

Operating Systems: Internals and Design Principles. Chapter 4 Threads Seventh Edition By William Stallings

Operating Systems: Overview and Introduction

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Disciplina Sistemas de Computação

Introduction to Operating Systems. Chapter Chapter

Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering)

Chapter 2. OS Overview

Concurrency, Mutual Exclusion and Synchronization C H A P T E R 5

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Chapter 1: Introduction

HIGH PERFORMANCE COMPUTING: MODELS, METHODS, & MEANS OPERATING SYSTEMS 1

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha

Chapter 14 Operating Systems

Chapter 14 Operating Systems

Multiprocessor and Real- Time Scheduling. Chapter 10

Motivation. Threads. Multithreaded Server Architecture. Thread of execution. Chapter 4

Computer-System Architecture (cont.) Symmetrically Constructed Clusters (cont.) Advantages: 1. Greater computational power by running applications

CS6401- Operating System QUESTION BANK UNIT-I

SRI VENKATESWARA COLLEGE OF ENGINEERING PENNALUR, SRIPERUMBUDUR TK

Multiprogramming. Evolution of OS. Today. Comp 104: Operating Systems Concepts 28/01/2013. Processes Management Scheduling & Resource Allocation

Module 4: Processes. Process Concept Process Scheduling Operation on Processes Cooperating Processes Interprocess Communication

Module 4: Processes. Process Concept Process Scheduling Operation on Processes Cooperating Processes Interprocess Communication

CONTENTS. Computer-System Structures

Operating System Support

TYPES OF OPERATING SYSTEMS. Dimple Juneja

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

CSC 2405: Computer Systems II

Process Description and Control

Major Requirements of an OS

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

EECS 3221 Operating System Fundamentals

EECS 3221 Operating System Fundamentals

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1

OPERATING SYSTEMS UNIT - 1

Chapter 1: Introduction Operating Systems MSc. Ivan A. Escobar

Chapter 4 Threads, SMP, and

Objectives and Functions Convenience. William Stallings Computer Organization and Architecture 7 th Edition. Efficiency

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

CHAPTER 3 - PROCESS CONCEPT

Chapter 07: Instruction Level Parallelism VLIW, Vector, Array and Multithreaded Processors. Lesson 06: Multithreaded Processors

CHAPTER-1: INTRODUCTION TO OPERATING SYSTEM:

Chapter 3 Processes. Process Concept. Process Concept. Process Concept (Cont.) Process Concept (Cont.) Process Concept (Cont.)

EEE 435 Principles of Operating Systems

Four Components of a Computer System. Operating System Concepts 7 th Edition, Jan 12, 2005

Introduction to Operating Systems

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?

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

Threads, SMP, and Microkernels. Chapter 4

QUESTION BANK UNIT I

Chapter 3: Processes

Chapter 8. Operating System Support. Yonsei University

Roadmap. Tevfik Koşar. CSE 421/521 - Operating Systems Fall Lecture - II OS Structures. University at Buffalo. OS Design and Implementation

OS Design Approaches. Roadmap. System Calls. Tevfik Koşar. Operating System Design and Implementation. CSE 421/521 - Operating Systems Fall 2013

OPERATING SYSTEMS. COMS W1001 Introduction to Information Science. Boyi Xie

Sistemas Operacionais I. Valeria Menezes Bastos

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

Computer Organization and Architecture. OS Objectives and Functions Convenience Making the computer easier to use

CS370 Operating Systems

Misc. Third Generation Batch Multiprogramming. Fourth Generation Time Sharing. Last Time Evolution of OSs

Operating System Support

Operating System Review

Student Name:.. Student ID... Course Code: CSC 227 Course Title: Semester: Fall Exercises Cover Sheet:

Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction

IT 540 Operating Systems ECE519 Advanced Operating Systems

Announcements. Reading. Project #1 due in 1 week at 5:00 pm Scheduling Chapter 6 (6 th ed) or Chapter 5 (8 th ed) CMSC 412 S14 (lect 5)

CS370 Operating Systems

Operating System Services

CSC Operating Systems Fall Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. August 27 th, 2009.

UNIT 1 JAGANNATH UNIVERSITY UNIT 2. Define Operating system and its functions. Explain different types of Operating System

Announcements. Computer System Organization. Roadmap. Major OS Components. Processes. Tevfik Ko!ar. CSC Operating Systems Fall 2009

Part V. Process Management. Sadeghi, Cubaleska RUB Course Operating System Security Memory Management and Protection

OPERATING SYSTEM. Functions of Operating System:

Transcription:

True / False Questions: Chapter 2 Operating System Overview 1. T / F An operating system controls the execution of applications and acts as an interface between applications and the computer hardware. 2. T / F The operating system maintains information that can be used for billing purposes on multi-user systems. 3. T / F The operating system typically runs in parallel with application programs, on it s own special O/S processor. ANS: F (O/S typically runs on same processor and relinquishes control as necessary) 4. T / F One of the driving forces in operating system evolution is advancement in the underlying hardware technology. 5. T / F In the first computers, users interacted directly with the hardware and operating systems did not exist. 6. T / F In a batch-processing system, the phrase control is passed to a job means that the processor is now fetching and executing instructions in a user program. 7. T / F Uniprogramming typically provides better utilization of system resources than multiprogramming. ANS: F (opposite is true) 8. T / F In a time sharing system, a user s program is preempted at regular intervals, but due to relatively slow human reaction time this occurrence is usually transparent to the user. Page 1 of 8

9. T / F A process can be defined as a unit of activity characterized by a single sequential thread of execution, a current state, and an associated set of system resources. 10. T / F A virtual memory address typically consists of a page number and an offset within the page. 11. T / F Implementing priority levels is a common strategy for short-term scheduling, which involves assigning each process in the queue to the processor according to its level of importance. 12. T / F Complex operating systems today typically consist of a few thousand lines of instructions. ANS: F (hundreds of thousands or millions) 13. T / F A monolithic kernel architecture assigns only a few essential functions to the kernel, including address spaces, interprocess communication and basic scheduling. ANS: F (most/all O/S functionality is included) 14. T / F The hardware abstraction layer (HAL) maps between generic hardware commands/responses and those unique to a specific platform. 15. T / F Linux is one example of a modern UNIX system that implements a modular architecture. Page 2 of 8

Multiple Choice Questions: 1. A primary objective of an operating system is: a. Convenience b. Efficiency c. Ability to evolve ANS: D 2. The operating system provides many types of services to end-users, programmers and system designers, including: a. Built-in user applications b. Error detection and response c. Relational database capabilities with the internal file system ANS: B 3. The operating system is unusual in it s role as a control mechanism, in that: a. It runs on a special processor, completely separated from the rest of the system b. It frequently relinquishes control of the system processor and must depend on the processor to regain control of the system c. It never relinquishes control of the system processor ANS: B 4. Operating systems must evolve over time because: a. Hardware must be replaced when it fails b. Users will only purchase software that has a current copyright date c. New hardware is designed and implemented in the computer system ANS: C 5. A major problem with early serial processing systems was: a. Setup time b. Lack of input devices c. Inability to get hardcopy output Page 3 of 8

ANS: A 6. An example of a hardware feature that is desirable in a batch-processing system is: a. Privileged instructions b. A completely accessible memory area c. Large clock cycles ANS: A 7. A computer hardware feature that is vital to the effective operation of a multiprogramming operating system is: a. Very large memory b. Multiple processors c. I/O interrupts and DMA ANS: C 8. The principle objective of a time sharing, multiprogramming system is to: a. Maximize response time b. Maximize processor use c. Provide exclusive access to hardware ANS: D 9. Which of the following major line of computer system development created problems in timing and synchronization that contributed to the development of the concept of the process? a. Multiprogramming batch operation systems b. Time sharing systems c. Real time transaction systems ANS: D 10. The paging system in a memory management system provides for dynamic mapping between a virtual address used in a program and: Page 4 of 8

a. A virtual address in main memory b. A real address in main memory c. A real address in a program ANS: B 11. Relative to information protection and security in computer systems, access control typically refers to: a. Proving that security mechanisms perform according to specification b. The flow of data within the system c. Regulating user and process access to various aspects of the system ANS: C 12. A common problem with full-featured operating systems, due to their size and difficulty of the tasks they address, is: a. Chronically late in delivery b. Latent bugs that show up in the field c. Sub-par performance ANS: D 13. A technique in which a process, executing an application, is divided into threads that can run concurrently is called: a. Multithreading b. Multiprocessing c. Symmetric multiprocessing (SMP) ANS: A 14. WIN2K supports several types of user applications, including: a. WIN32 b. Linux c. System 10 ANS: A Page 5 of 8

15. Key to the success of Linux has been it s character as a free software package available under the auspices of the: a. World Wide Web Consortium b. Free Software Foundation c. Berkeley Software Distribution ANS: B Fill-In-The-Blank Questions: Page 6 of 8

1. The operating system s refers to its inherent flexibility in permitting functional modifications to the system without interruption of services. ANS: ability to evolve 2. The operating system masks the details of the from the application programmer. ANS: hardware 3. The is the portion of the operating system that remains in main memory during system operation. ANS: kernel or nucleus 4. An operating system should be in construction, allowing it greater flexibility in the evolutionary process. ANS: modular 5. The earliest computers employed processing, a name derived by the way the users were forced to access the systems. ANS: serial 6. The special type of programming language used to provide instructions to a monitor in a batch-processing scheme is called. ANS: Job Control Language (JCL) 7. The central theme of modern operating systems, based on the concept of switching among multiple programs in memory, is called. ANS: multiprogramming or multitasking 8. In a time-sharing, multiprogramming system, users interact with the system through. ANS: terminals 9. A process consists of three elements: an executable program, associated data, and a(n), which includes all information needed by the operating system and processor to manage and execute the process. ANS: execution context or process state Page 7 of 8

10. is a facility that allows programs to address memory from a logical point of view, without regard to the physical amount of main memory. ANS: virtual memory 11. The queue in the operating system scheduling system consists of processes that are in main memory. ANS: short-term 12. The interface to an operating system is often referred to as a, because it separates the user from O/S details and presents the O/S simply as a collection of services. ANS: shell 13. A operating system provides the illusion of a single main memory space and a single secondary memory space, plus other unified access facilities. ANS: distributed 14. The executive, protected subsystems and applications in a WIN2K system are structured using the computing model, which is a common model for distributed computing. ANS: client-server 15. Most UNIX systems are, in that they include virtually all of the O/S functionality in a single large block of code that runs in a single process with a single address space. ANS: monolithic Page 8 of 8