IGNOU BCA CS-63 INTRODUCTION TO SYSTEM SOFTWARE - DECEMBER 2005 QUESTION PAPER
BACHELOR IN COMPUTER APPLICATIONS
Term-End Examination
December, 2005
CS-63: INTRODUCTION TO SYSTEM SOFTWARE
Time : 2 Hours
Max. Marks : 60
Note : Question one is compulsory. Answer any three from the rest.
Q.1. (a) Write an algorithm that will abbreviate the given name of any person.
(b) Explain the concept of Macro-Processor. With the help of an example explain how a Macro is defined.
(c) Define concurrent processes. How is mutual exclusion handled by operating system ? Also, write the mutual exclusion algorithm.
(d) Write the UNIX commands for the following :
(i) To display the type and nature of information that is held in a directory.
(ii) To remove a directory.
(iii) To print last 5 lines of a text file.
(iv) To sort the files tn alphabetical order of a directory.
(v) To kill a process using PID.
(vi) To print the status of all the processes.
Q.2. (a) Explain the functional the software tool the YACC, which is used for compiler development.
(b) Write a shell program to find the sum of squares of N natural numbers.
Q.3. (a) Construct context free grammar for
(i) assignment statement of ‘C’ language,
(ii) if-then-else statement of ‘C’ language.
(b) With the help of a diagram, explain the address translation scheme in a segmented system.
Q.4. (a) With the help of diagram, explain the process of parsing. What is the output generated after parsing process ?
(b) Explain salient features of UMX system architecture. Also write the functions performed in each layer.
Q.5. (a) What is a deadlock ? What are the essential conditions that characterise a deadlock ? How can the occurrence of a deadlock be avoided with various strategies ?
(b) Write a shell program to swap the values of two variables.
No comments :
Post a Comment