0% found this document useful (0 votes)
68 views3 pages

Autonomous Institution, Approved by AICTE and Permanently Affiliated To Anna University, Chennai

This document appears to be an exam for a course on UNIX internals from Sri Ramakrishna Engineering College in Coimbatore, India. It contains 20 multiple choice and written response questions covering topics like UNIX architecture, processes, file systems, scheduling, paging/virtual memory, and drivers. The exam is worth a total of 100 marks and includes questions that can be answered in 1 mark, 2 marks, or require longer written responses up to 16 marks. It tests students' understanding of fundamental UNIX and operating system concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views3 pages

Autonomous Institution, Approved by AICTE and Permanently Affiliated To Anna University, Chennai

This document appears to be an exam for a course on UNIX internals from Sri Ramakrishna Engineering College in Coimbatore, India. It contains 20 multiple choice and written response questions covering topics like UNIX architecture, processes, file systems, scheduling, paging/virtual memory, and drivers. The exam is worth a total of 100 marks and includes questions that can be answered in 1 mark, 2 marks, or require longer written responses up to 16 marks. It tests students' understanding of fundamental UNIX and operating system concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Regulation- 2012

Reg. No:
(R)

SRI RAMAKRISHNA ENGINEERING COLLEGE, COIMBATORE


(Autonomous Institution, Approved by AICTE and Permanently affiliated to Anna University, Chennai)

AUTONOMOUS EXAMINATIONS MAY 2015


SIXTH SEMESTER - B.E COMPUTER SCIENCE AND ENGINEERING
12CS2002 - UNIX INTERNALS
Answer ALL questions
Duration: 3 Hours

Maximum: 100 Marks


PART A

1.

Pid of init process is


a) 0

2.

b) getpid()

b) Super Block

d) parentid()

c) Inode Table

d) Data Block

b) C library function c) System call

d) kernel routine

b) open()

c) stat()

d) fcntl()

c) 1

d) number of character

Read() system call on success returns


a) 0

7.

c) getppid()

Which function can be used instead of the dup2 to duplicate the file descriptor?
a) read()

6.

d) 1024

namei() is
a) ANSI C library function

5.

c) 256

The file system information is stored in


a) Boot block

4.

b) 1

How do you get parent process identification number?


a) waitpid()

3.

(10 x 1 = 10 Marks)

b) -1

How to run a process in the background?


a) &

b) *

c) ?

d) |

-1-

8.

The signal sent to a process when the Ctrl-C key pressed is


a) KILL

9.

b) TSTP

d) INT

The address of a page table in memory is pointed by


a) stack pointer

10.

c) TERM

b) page table base register c) page register d) program counter

Operating System maintains the page table for


a) each process

b) each thread

c) each instruction

d) each address

PART B

11.

Distinguish user and kernel modes.

12.

State super block.

13.

Give the syntax of STAT,FSTAT

14.

Define context switch.

15.

Specify the goal of Page stealer process.

PART C

16.

a)

i)

(5 x 2 = 10 Marks)

(5 x 16 = 80 Marks)

Describe the architecture of UNIX operating system.

ii) Draw and demonstrate the state transition diagram of processor.

(8)
(8)

(OR)
b)

Illustrate the buffer allocation and releasing algorithms with two buffer retrieval

(16)

scenarios.

17.

a)

i)

ii)

What is disk inode and incore inode? Discuss about the fields present in disk

(10)

inode.

(6)

What is directory? Analyze the layout of any one directory.


(OR)

b)

Write and express the algorithms for assigning and releasing an inode.

-2-

(16)

Compulsory question:
18.

Illustrate the algorithm for opening and closing a file and discuss the data structure

(16)

involved.

19.

a)

i)

Give a brief account on the parameters considered during scheduling.

(8)

ii)

Demonstrate the fair-share scheduler for three processor.

(8)

(OR)

20.

b)

What is socket? Discuss the working principle of socket communications.

(16)

a)

Define page fault? Give the types of page fault handler and Explain anyone with an

(16)

algorithm.
(OR)
b)

i)

Discuss briefly the concepts involved in driver interface.

(8)

ii)

Write short notes on terminal drivers.

(8)

*****

-3-

You might also like