PREVIOUS YEAR QUESTION PAPER

CS054 – UNIX INTERNALS

Anna University

Regulation 2004 Semester 7 2014

Question Paper Details

University Anna University
Degree B.Tech. Information and Technology
Department Information and Technology
Regulation Regulation 2004
Semester 7
Subject Code CS054
Subject Name UNIX INTERNALS
Exam Session April / May 2014
Duration 3 Hours
Maximum Marks 100

View Question Paper PDF

Access the previous year question paper for your examination preparation.

View / Download PDF

How to Use This Question Paper

More Question Papers

Browse other previous year question papers for this subject.

View All Subject Question Papers

Question Paper Intelligence

Automatically extracted historical question data. Academic accuracy and examination rules require verification.

19Extracted entries
100Maximum marks (metadata)
180Duration (minutes)
4Choice candidates

Part-wise extracted questions

Part A10
Part B9

Question type candidates

Other Or Unclassified14
Definition4
Short Description1

Section marks — arithmetic candidates

Part A20 marks
Part B80 marks

Examination marks pattern

PartRequired answersMarks per answerSection total
A10220
B51680

Estimated time allocation

Proportional to section marks. This estimate uses the full exam duration without a separate reading or revision reserve.

Section time budget

Part A36.0 min
Part B144.0 min

Optional-choice evidence

Detected alternatives only. Confirm the actual choice rules in the original question paper.

Part B — Question 12: Option a · Option b
Part B — Question 13: Option a · Option b
Part B — Question 14: Option a · Option b
Part B — Question 15: Option a · Option b

Question navigator

Extracted questions

Part A — 1

What are system calls?

Definition
Part A — 2

What is the use of the shell?

Definition
Part A — 3

What happens during a context switch?

Other Or Unclassified
Part A — 4

Give the difference between user mode and kernel mode.

Other Or Unclassified
Part A — 5

Give the structure of the header of a buffer in the buffer cache.

Other Or Unclassified
Part A — 6

Mention the use of the Iseek system call.

Short Description
Part A — 7

How is a thread different from a process?

Other Or Unclassified
Part A — 8

Write the algorithm that the kernel executes to schedule a process.

Other Or Unclassified
Part A — 9

What are device drivers?

Definition
Part A — 10

What is swapping? What is the use of the swap map?

Definition
Part B — 11

(i) Explain the UNIX system architecture with a neat diagram. (8) (ii) Write a shell program that will take two numbers as input and will find the product of the numbers and displays the result. (8)

Other Or Unclassified

Source quality review required

Part B — 12a

a) Explain the major kernel data structures that are used by the file subsystem and the process subsystem. (16)

Other Or Unclassified

Source quality review required

Part B — 12b

b) (i) Explain the different states in which a process can be with a state transition diagram. (8) (ii) List different reasons for which processes go to sleep. Discuss about the different issues that need to be considered by the kernel for the sleep of a process. (8)

Other Or Unclassified

Source quality review required

Part B — 13a

a) Explain the different scenarios that the kernel may follow in getblk algorithm to allocate a buffer for a disk block. (16)

Other Or Unclassified

Source quality review required

Part B — 13b

b) Explain how the following system calls are implemented: (16) (i) creat (ii) read

Other Or Unclassified

Source quality review required

Part B — 14a

a) What comprise the context of a process? (16)

Other Or Unclassified

Source quality review required

Part B — 14b

b) Explain the implementation of the following system calls: (16) (i) fork (ii) exit

Other Or Unclassified

Source quality review required

Part B — 15a

a) Explain in detail the data structures used by the kernel for demand paging. (16)

Other Or Unclassified

Source quality review required

Part B — 15b

b) Discuss how inter-process communication is achieved using message queues. (16)

Other Or Unclassified

Source quality review required

Advanced Examination Analysis

Historical analysis based on extracted question papers. Topic classifications, marks and planning estimates are provisional.