Aug 17, 2011

Powered By

Shine Infosys

CS-63: Question Paper December 2010

SOFTWARE - DECEMBER 2010 QUESTION PAPER

BACHELOR IN COMPUTER APPLICATIONS

Term-End Examination

December, 2010

CS-63: INTRODUCTION TO SYSTEM SOFTWARE
Time : 2 Hours
Max. Marks : 60





Note : Question one is compulsory. Answer any three questions from the rest.


1.(a) What are the functions of a loader? Explain various categories of loaders schemes. Also, Give an example to explain the implementation of an absolute loader. [7]

(b) Consider a disk queue with requests involving tracks to read:-100, 200, 55, 50, 150, 25, 155, 60, 70, 85. The start track to read is 100 and the last track is 85. Apply SSTF and SCAN algorithms and explain. Assuming moving arm is on cylinder 50. [8]

(c) Give a note on the following :-

(i) ex, ed editors.

(ii) Booting process in UNIX. [6]

(d) Define page fault in page on demand scheme and find out the no. of page faults by using FIFO & LRU page Replacement algorithms for the following sequence. 7, 1, 1, 5, 4, 0, 1, 7, 4, 3, 7, 0, 5. [9]



2. (a) Write a shell program to generate the average and percentage of marks of a student secured in 5 subjects. Also display the results. Make suitable assumptions, wherever necessary in the question. [5]

(b) Compare and contrast the features of paging and segmentation. [5]



3. (a) Explain the purpose of the following commands in UNIX with an example of each:

(i) cat (ii) mail

(iii) echo (iv) cc

(v) what [5]

(b) Explain the deadlock prevention algorithm using an example. [5]



4. (a) Explain compaction in memory management and its advantages. Also, give an example. [5]

(b) Give a solution to ‘dining philosophers problem’ using semaphores. [5]



5. (a) Generate a parse tree for the expression a*b+c based on a grammar for an arithmetic expression. [4]

(b) Differentiate between :‑

(i) Subroutine and functions.

(ii) Compiler and interpreter. [4]

(c) Give the functional components of Macintosh Toolbox. [2]