CS-02 : INTRODUCTION TO SOFTWARE
June 2003
1(a) Design an algorithm to reverse the digits of a 5-digit number and
verify correctness of algorithm by tracing.
(b) Write a shell program to find the largest number among the 3 numbers
given as input.
(c) Draw a parse tree for the following expression:
a + b / c * d - e * f + g
(d) Write context free grammar for if-then-else statement of ‘C’ language.
2(a) Discuss the important tasks performed during Lexical and Syntax
analysis phases.
(b) Explain the following concepts with appropriate examples:
(i) Synchronization (ii) Interprocess communication (iii) Message passing
3(a) What are the advantages of distributed operating system? How are
file system and protection supported in distributed operating system?
(b) What is the basic philosophy of Windows operating system? How is
it different form X-Windows? Explain.
4(a) Discuss the address translation scheme in Paging system. Also, explain
the hardware support needed for paging.
(b) Discuss exclusive characteristics of software as a product, as compared
to other products.
5 Write short notes on following:
(i) Load-and-Go Assembler (ii) Cross Compiler (iii) Program Development
Tools (iv) Client/Server model
6(a) Describe main features of UNIX system architecture, in brief.
(b) List the difference between cp and mv command with examples.
(c) Explain the need of chown and chgrp commands, their use and methods
of checking them.
|