KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / ODD SEMESTER

Similar documents
SHRI ANGALAMMAN COLLEGE OF ENGINEERING AND TECHNOLOGY (An ISO 9001:2008 Certified Institution) SIRUGANOOR, TIRUCHIRAPPALLI

Noorul Islam College Of Engineering, Kumaracoil MCA Degree Model Examination (October 2007) 5 th Semester MC1642 UNIX Internals 2 mark Questions

ADVANCED OPERATING SYSTEMS

CS2028 -UNIX INTERNALS

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

CPS 310 first midterm exam, 2/26/2014

UNIT I Linux Utilities

Logical disks. Bach 2.2.1

ROEVER ENGINEERING COLLEGE Elambalur,Perambalur DEPARTMENT OF CSE UI UNIT-I

Babu Madhav Institute of Information Technology, UTU

SNS COLLEGE OF ENGINEERING

St. MARTIN S ENGINEERING COLLEGE Dhulapally,Secunderabad DEPARTMENT OF INFORMATION TECHNOLOGY Academic year

Department of Computer Science and Technology, UTU 2014

Process Description and Control. Chapter 3

Lecture 15: I/O Devices & Drivers

Department of Computer Science and Technology

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

UNIX Memory Management Interview Questions and Answers

UNIT I Linux Utilities and Working with Bash

QUESTION BANK UNIT I

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

CS604 Final term Paper Fall (2012)

SYED AMMAL ENGINEERING COLLEGE CS6401- OPERATING SYSTEM

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

PROCESS CONTROL: PROCESS CREATION: UNIT-VI PROCESS CONTROL III-II R

PROCESS STATES AND TRANSITIONS:

Operating System(16MCA24)

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

SIDDHARTH GROUP OF INSTITUTIONS :: PUTTUR Siddharth Nagar, Narayanavanam Road QUESTION BANK (DESCRIPTIVE) UNIT I OPERATING SYSTEMS

1995 Paper 10 Question 7

( B ) 4. Which is not able to solve the race condition? (A) Test and Set Lock (B) Shared memory (C) Semaphore (D) Monitor

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

File. File System Implementation. File Metadata. File System Implementation. Direct Memory Access Cont. Hardware background: Direct Memory Access

UNIX rewritten using C (Dennis Ritchie) UNIX (v7) released (ancestor of most UNIXs).

Chendu College of Engineering & Technology

1.Define signal? NOV DEC 2011 MAY JUNE 2011

Operating Systems. Review ENCE 360

ADVANCED OPERATING SYSTEMS

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

CSI3131 Final Exam Review

Module 12: I/O Systems

UNIT I INTRODUCTION TO UNIX & FILE SYSTEM

CSC 4320 Test 1 Spring 2017

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

Processes Prof. James L. Frankel Harvard University. Version of 6:16 PM 10-Feb-2017 Copyright 2017, 2015 James L. Frankel. All rights reserved.

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

Exam Guide COMPSCI 386

CS 3733 Operating Systems

OPERATING SYSTEM OVERVIEW

(In columns, of course.)

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

Chap 4, 5: Process. Dongkun Shin, SKKU

ECE 550D Fundamentals of Computer Systems and Engineering. Fall 2017

SOLUTIONS TO THE FIRST 3360/6310 QUIZ. Jehan-François Pâris Summer 2016

Introduction. Yolanda Becerra Fontal Juan José Costa Prats

Example Sheet for Operating Systems I (Part IA)

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Threads, SMP, and Microkernels. Chapter 4

EECS 3221 Operating System Fundamentals

EECS 3221 Operating System Fundamentals

Processes and Threads. Processes and Threads. Processes (2) Processes (1)

Example Sheet for Operating Systems I (Part IA)

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

CS 134. Operating Systems. April 8, 2013 Lecture 20. Input/Output. Instructor: Neil Rhodes. Monday, April 7, 14

Institute of Engineering & Management. Course:CS603- Operating System. Course pre-requisites

Linux Driver and Embedded Developer

Operating Systems. Lecture 05

Physical and Logical structure. Thursday, December 02, 2004

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY

UNIVERSITY OF NEBRASKA AT OMAHA COURSE SYLLABUS/DESCRIPTION

Linux Operating System

Uniprocessor Scheduling

Processes and Non-Preemptive Scheduling. Otto J. Anshus

CSE 4/521 Introduction to Operating Systems. Lecture 27 (Final Exam Review) Summer 2018

CMPS 111 Spring 2003 Midterm Exam May 8, Name: ID:

CS450/550 Operating Systems

VALLIAMMAI ENGINEERING COLLEGE

Lecture 4: Memory Management & The Programming Interface

UNIX Processes. by Armin R. Mikler. 1: Introduction

Shivaji University, Kolhapur T.E Computer Science and Engg. (SEMESTER-VI)

Lecture 19: File System Implementation. Mythili Vutukuru IIT Bombay

! The Process Control Block (PCB) " is included in the context,

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

Processes and Exceptions

CSE 153 Design of Operating Systems

CSE 451: Operating Systems Winter I/O System. Gary Kimura

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR / EVEN SEMESTER

Final Exam Preparation Questions

Introduction. CS3026 Operating Systems Lecture 01

Problem Set: Processes

IT 540 Operating Systems ECE519 Advanced Operating Systems

Chapter 13: I/O Systems

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

Design Overview of the FreeBSD Kernel CIS 657

Qualifying exam: operating systems, 1/6/2014

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

Memory Allocation. Copyright : University of Illinois CS 241 Staff 1

Design Overview of the FreeBSD Kernel. Organization of the Kernel. What Code is Machine Independent?

Department of Information Technology Operating Systems Question Bank YEAR/SEM:III/V

Transcription:

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ACADEMIC YEAR 2011-2012 / ODD SEMESTER Question Bank Subject Code/Name: CS1005-Unix Internals Year / Sem: IV / VII UNIT I- GENERAL OVERVIEW OF THE SYSTEM Part A - 2 MARKS 1. Define shell and mention the properties of UNIX OS. 2. Mention the use of the fork System call and command Passwd 3. Differentiate between Exceptions & interrupts. 4. List the building block primitives of UNIX with Examples. 5. Kernel said to be non-preemptive comment. 6. Define Swpping&paging 7. Advantages and disadvantages of kernel data Structure 8. Define pathname component 9. Differentiate user mode & kernel mode 10 Draw a diagram process Execution levels. 11. What are the 3 levels of UNIX operating system? 12. Define System call interface 13. What are the subsystems of UNIX Os 14. Define Zambia State process transition 15. Define Sleep and Wakeup KINGS COLLEGE OF ENGINEERING 1

Part B (16 Marks) 1. (a)explain the details about UNIX System Architecture. (8) (b)briefly details about System Structure. (8) 2. Explain the details Operating System services. (16) 3. Explain the details about process states & state Transition. (16) 4. Explain the details about system concepts (16) 5. Explain Assumption about Hardware (16) 6. Explain the details about the User perspective (16) UNIT II- BUFFER CACHE Part A (2 MARKS) 1. Define pipes 2. Define major & minor number 3. Define buffer cache. 4. Mention the use of LSEEK System call. 5. Write the I/O parameters saved in the U area. 6. Define Inode Cache 7. What does the kernel in buffer read-ahead? 8. List out the various status of the buffer. 9. State the advantages and disadvantages of buffer cache 10. Define inode. 11. List the data structures and their relationship when a regular file is opened 12. Define free list 13. What are the fields of super block? 14. Define super block 15. Define directories. KINGS COLLEGE OF ENGINEERING 2

1. Explain in detail about the structure of regular file (16) 2.(a) Explain the algorithm for converting the path name to inode (8) (b) Explain the system call used for creating the special files (8) 3. Write notes on a) Directories (8) b) Super blocks (8) 4. (a) Explain the details about buffer headers. (8) (b) Explain the structure of buffer pool (8) UNIT III- SYSTEM CALLS FOR FILE SYSTEM 1. Define named and unnamed pipe 2. Define major and minor number 3. Define inode cache 4. List the data structures and their relationship when opening a regular 5. Explain file and record locking. 6. Explain on Lseek. 7. Define inode. 8. What is a system call and give 2 eg s. 9. Define pipe 10. Define dup. 11. Define close system call and their syntax. 12. Define Mounting system call and their syntax. 13. Define Un Mounting system call and their syntax. 14. Define write system call and their syntax 15. Define open system call and their syntax KINGS COLLEGE OF ENGINEERING 3

Part B (16 Marks) 1. Discuss the concepts of pipes and DUP system call (16) 2. Explain how a file is mounted and unmounted from the file structure (16) 3. (a) Discuss the open system call and algorithm (8) (b)discuss the close system call and algorithm (8) 4. (a) Discuss the read system call and algorithm (8) (b) Discuss the write system call and algorithm (8) 5. (a) Briefly explain file creation concepts (8) (b) Short notes on File locking & Record Locking (8) UNIT IV- THE STRUCTURE OF PROCESSES Part A (2 MARKS) 1. Define signals 2. Define context of the process 3. Define system boot. 4. Define init process 5. What are the first 3 steps of process states and transition 6. What are the fields of process table 7. Define context switch 8. Define pages and page tables 9. What is mean by region 10. Define U area 11. Define interrupts 12. Define Exception 13. define Abort process 14. define process groups 15. Give one example of Exit KINGS COLLEGE OF ENGINEERING 4

a process, one when getting hold a region, one during execution and one while relinquishing it back (16) 2. Describe the state transition that a process undergoes during its lifetime (16) 3. (a) Every process maintains a private U area. Describe how 1. What is region? state any 3 region system calls that are invoked by the U area is maintained with the help of register triples. (8) (b)write short notes on Signals (8) 4. Discuss the context of a process in detail (16) 5. Write the algorithm involved in creating a new process and explain it (16) 6. Write and explain the algorithm for booting the system (16) UNIT V- PROCESS SCHEDULING AND MEMORY MANAGEMENT POLICIES Part A (2 MARKS) 1. Define scheduling 2. Define swapping 3. Define demand paging 4. Define system calls and give examples 5. Explain user priorities and kernel priorities 6. Examples of process scheduling 7. Define fair share group priorities 8. Explain real time processing 9. Define clock interrupts and function 10. Define map 11. Discuss briefly the parameter related to process scheduling KINGS COLLEGE OF ENGINEERING 5

12. Write a brief note on the Page stealer process 13. What is the process of swapping process out. 14. Define Fork Swap 15. Define Expansion Swap 1. Explain process scheduling (16) 2. What is the function of a clock interrupt handler? Details any 3 function along with the system calls and their data structures (16) 3. What are the data structures related to paging (16) 4. What is page fault? Discuss the page fault related to validity fault and Details all the cases when the page is faulted. (16) 5. Write short notes on a. Allocations of swap space (8) b. Swapping processes out (8) 6. (a) Explain briefly the concepts involved in driver interface (8) (b) Write short notes on terminal drivers (8) 7. Write detail notes on disk drivers (16) KINGS COLLEGE OF ENGINEERING 6