CSC 4320 Test 1 Spring 2017

Similar documents
Process Description and Control

Operating Systems Comprehensive Exam. Spring Student ID # 3/16/2006

Introduction CHAPTER. Review Questions

Processes The Process Model. Chapter 2. Processes and Threads. Process Termination. Process Creation

Process Description and Control. Chapter 3

Process Concepts. CSC400 - Operating Systems. 3. Process Concepts. J. Sumey

* What are the different states for a task in an OS?

Processes The Process Model. Chapter 2 Processes and Threads. Process Termination. Process States (1) Process Hierarchies

Computer Systems II. First Two Major Computer System Evolution Steps

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

Processes and More. CSCI 315 Operating Systems Design Department of Computer Science

CSC Operating Systems Spring Lecture - XII Midterm Review. Tevfik Ko!ar. Louisiana State University. March 4 th, 2008.

Operating Systems Comprehensive Exam. Spring Student ID # 2/17/2011

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

Processes. Sanzheng Qiao. December, Department of Computing and Software

Process Description and Control. Chapter 3

Process Description and Control

Lecture 5: Process Description and Control Multithreading Basics in Interprocess communication Introduction to multiprocessors

Operating System Review

Chapter 6 Concurrency: Deadlock and Starvation

3.1 Introduction. Computers perform operations concurrently

Chendu College of Engineering & Technology

Processes. Dr. Yingwu Zhu


Agenda Process Concept Process Scheduling Operations on Processes Interprocess Communication 3.2

Why use an Operating System? Operating System Definition

Operating Systems. Computer Science & Information Technology (CS) Rank under AIR 100

CS370 Operating Systems

CLASS: II YEAR / IV SEMESTER CSE SUBJECT CODE AND NAME: CS6401 OPERATING SYSTEMS UNIT I OPERATING SYSTEMS OVERVIEW

Deadlock. Concurrency: Deadlock and Starvation. Reusable Resources

Timers 1 / 46. Jiffies. Potent and Evil Magic

Roadmap. Tevfik Ko!ar. CSC Operating Systems Fall Lecture - III Processes. Louisiana State University. Processes. September 1 st, 2009

Concurrency: Deadlock and Starvation. Chapter 6

Processes. Process Management Chapter 3. When does a process gets created? When does a process gets terminated?

IT 540 Operating Systems ECE519 Advanced Operating Systems

Operating Systems: William Stallings. Starvation. Patricia Roy Manatee Community College, Venice, FL 2008, Prentice Hall

Process Description and Control. Chapter 3

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

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

Dr. Rafiq Zakaria Campus. Maulana Azad College of Arts, Science & Commerce, Aurangabad. Department of Computer Science. Academic Year

Message-Passing Shared Address Space

CSCE Introduction to Computer Systems Spring 2019

Operating System. Chapter 4. Threads. Lynn Choi School of Electrical Engineering

Dr. D. M. Akbar Hussain DE5 Department of Electronic Systems

Today s Topics. u Thread implementation. l Non-preemptive versus preemptive threads. l Kernel vs. user threads

Design Overview of the FreeBSD Kernel CIS 657

Major Requirements of an OS

CSI3131 Final Exam Review

CS370 Operating Systems Midterm Review

Processes and Non-Preemptive Scheduling. Otto J. Anshus

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

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

CS 471 Operating Systems. Yue Cheng. George Mason University Fall 2017

CS370 Operating Systems

Universidad Carlos III de Madrid Computer Science and Engineering Department Operating Systems Course

Operating System Control Structures

Processes and Threads

Chapter 13: I/O Systems

OPERATING SYSTEM. Chapter 4: Threads

آنستیتیوت تکنالوجی معلوماتی و مخابراتی ICTI

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

True/False: In Signal and Wait, the signaller finishes execution while the signalled process waits for its turn

Operating Systems Design Fall 2010 Exam 1 Review. Paul Krzyzanowski

Chapter 4: Multithreaded Programming

Chapter 12: I/O Systems

Chapter 13: I/O Systems

Chapter 12: I/O Systems. Operating System Concepts Essentials 8 th Edition

Chapter 13: I/O Systems

OS Assignment I. The result is a smaller kernel. Microkernels provide minimal process and memory management, in addition to a communication facility.

Operating Systems Comprehensive Exam. Spring Student ID # 3/20/2013

CPSC/ECE 3220 Fall 2017 Exam Give the definition (note: not the roles) for an operating system as stated in the textbook. (2 pts.

CS450/550 Operating Systems

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

Chapter 13: I/O Systems

1995 Paper 10 Question 7

Announcements Processes: Part II. Operating Systems. Autumn CS4023

CS 333 Introduction to Operating Systems. Class 3 Threads & Concurrency. Jonathan Walpole Computer Science Portland State University

Operating Systems. Designed and Presented by Dr. Ayman Elshenawy Elsefy

Department of Computer applications. [Part I: Medium Answer Type Questions]

CPS 310 first midterm exam, 2/26/2014

Inter-Process Communication and Synchronization of Processes, Threads and Tasks: Lesson-1: PROCESS

CIS 21 Final Study Guide. Final covers ch. 1-20, except for 17. Need to know:

CS450/550 Operating Systems

MARUTHI SCHOOL OF BANKING (MSB)

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

SMD149 - Operating Systems

Exam Guide COMPSCI 386

Multicore and Multiprocessor Systems: Part I

Synchronization for Concurrent Tasks

Sistemas Operacionais I. Valeria Menezes Bastos

Operating Systems. Lecture 3- Process Description and Control. Masood Niazi Torshiz

CS 333 Introduction to Operating Systems. Class 3 Threads & Concurrency. Jonathan Walpole Computer Science Portland State University

ELEC 377 Operating Systems. Week 1 Class 2

Processes. Process Concept

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

Process Description and Control

by I.-C. Lin, Dept. CS, NCTU. Textbook: Operating System Concepts 8ed CHAPTER 13: I/O SYSTEMS

Chapter 13: I/O Systems

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial)

Problem Set 2. CS347: Operating Systems

Transcription:

CSC 4320 Test 1 Spring 2017 Name 1. What are the three main purposes of an operating system? 2. Which of the following instructions should be privileged? a. Set value of timer. b. Read the clock. c. Clear memory. d. Issue a trap instruction. e. Turn off interrupts. f. Modify entries in device-status table. g. Switch from user to kernel mode. h. Access I/O device. 3. When a process creates a new process using the fork() operation, which of the following states is shared between the parent process and the child process? a. Stack b. Heap c. Shared memory segments 4. What are the four components of a computer system? 5. Provide three resources that the operating system allocates. 6. What does a device controller use to inform the CPU that it is finished operating?

Page 2 7. What special operation triggers a software interrupt? 8. What is used to bypass CPU to transfer data directly between I/O device and memory? 9. Provide two advantages of multiprocessor systems. 10. How does a clustered system differ from a multicore system? 11. Explain the difference between Asymmetric clustering and Symmetric clustering. 12. What are the two separate modes of operation? 13. Of the following five forms of storage, rank them from fastest to slowest in terms of access time: (1) main memory, (2) magnetic disk, (3) registers, (4) solid state disk, (5) cache.

Page 3 14. What is the difference between protection and security? 15. List four common kernel data structures. 16. What are the two different approaches for providing a user interface? 17. What is a system call? 18. List three of the major categories of system calls. 19. List three different ways for structuring an operating system. 20. What is another name for a user interface for an operating system?

Page 4 21. What is the term for a program that has been loaded and is executing? 22. What are four components of a process? 23. What is the airspeed velocity of an unladen swallow? 24. What are 4 parts to a Process Control Block 25. What is the term that describes saving the state of one process, and restoring the state of another? 26. What system call creates a process on UNIX systems? 27. What is the name of the greatest commercial ever made (according to TV Guide, Advertising Age et.al.)? 28. What is the significance of the OS that this commercial advertised?

Page 5 29. When a process creates a new process using the clone() operation, which of the following state is shared between the parent process and the child process? a. Stack b. Heap c. Shared memory segments 30. What are the two fundamental models of interprocess communication? 31. What are the two system calls used with message-passing systems? 32. What is an advantage of Message passing and a disadvantage of Message passing? 33. What term is used for indirect message passing? 34. Provide two types of communication mechanisms in client-server systems. 35. What are the two types of pipes? 36. Provide two benefits of multi-threaded programming.

Page 6 37. What are two things that threads from the same process share with each other? 38. What are two things that each thread does not share with other threads? 39. True or False? Concurrency is only possible with parallelism. 40. What does Amdahl s Law addresses? 41. What are the two general types of parallelism? 42. What is the difference between Asynchronous and. Synchronous Threading? 43. What is the term for describing the situation where shared data may be manipulated concurrently and the outcome of the execution depends upon the order of access? 44. What is the term used to describe the segment of code where shared data is accessed and possibly manipulated?

Page 7 45. What are the three requirements a solution to the critical-section problem must satisfy? 46. What are the four sections of code associated with critical section problem? 47. What are the two functions used with mutex locks? 48. What are the two operations that can be performed on a semaphore? 49. How many writers may concurrently share the database with the readers-writers problem? how many readers? 50. What problem can occur with the readers-writers solution discussed in the text? 51. What problem occurs if all philosophers simultaneously pick up their left fork? 52. What are two methods provided by Hardware to aid in synchronization?

Page 8 BONUS 53. Describe the Synchronization tool that provides a solution to busy wait. 54. What are the 5 states a process may be in. 55. With the states above and these transitions draw the state diagram for a process: a. Admitted b. Interupt c. Scheduler Dispatch d. I/O or event wait e. I/O or event completion f. Interrupt g. Exit