Question Papers and Solutions




CS-02 : Introduction to Software January 2001

Filed under: IGNOU MCA  

Question Paper of CS-02 : Introduction to Software January 2001

Qns 1. Design a context free grammar for the following :

(i) Switch statement in C-language.

(ii) An arithmetic expression in C-language.

(iii) Write a shell program to calculate the following :
· Greatest Common Divisor (GCD) for the two given numbers
· Generate Fibonacci numbers

(iv) Discuss whether there are any advantages of using a multitasking operating system, as opposed to a serial processing one, in a computer system dedicated to serving the needs of a single user. Explain the tradeoffs involved and describe some representative applications that support your arguments.

(v) What is the difference between internal and external fragmentation?

Qns 2. (i) Discuss the development environments of GUIs.

(ii) What is the basic philosophy of X-Windows? How is it different from the rest of the GUIs?

Qns 3. (i) What is a semaphore mechanism? How do you define semaphore operations? Take three processes and explain a run time behavior of three processes controlled through a semaphore.

(ii) Write mutual exclusion algorithm using semaphore. What are the drawbacks of semaphore?

Qns 4. (i) Answer the following with reference to Unix operating system:
· How does diff compare with comm in comparing unsorted files?
· Find all lines with exactly 15 characters in them.
· Write a regular expression to express C-language variables.
· List of commands used as filters.
· What happens if you try to copy a file to itself, that is, give the same name to the target as to the source thus

% cp file 1 file 1

(ii) List the important features of Unix O.S.

Qns 5. (i) Differentiate between the following :
· Spooling and Buffering
· Network operating system and Distributed operating system
· Preemptive scheduling and Non-preemptive scheduling
(ii) Discuss the three common file organization techniques.

Qns 6. (i) Discuss the following with reference to segmentation :

(a) Address mapping in a segmented system
(b) Sharing and protection in a segmented system

(ii) Scan disk scheduling with one example.






Related Posts to: CS-02 : Introduction to Software January 2001

CS-13 : Operating Systems of January 2001

Question Paper of CS-13 : Operating Systems of January 2001 Qns 1. (a) Write an algorithm for implementing Dining philosopher problem using semaphores. Also describe the problems and the algorithm in

CS-12 : Computer Architecture of January 2001

Question Paper of CS-12 : Computer Architecture of January 2001 Qns 1(i) The execution times (in seconds) of four programs on three computers are given below: Execution Time (in seconds) Program Computer A

CS-09 : Data Communication & Network January 2001

Question Paper of CS-09 : Data Communication & Network January 2001 Qns 1 (i) Suppose that the Aloha Protocol is used to share a 56 Kbps satellite channel. Suppose that packets

CS-02 : Introduction to Software of December 1999

Question Paper of CS-02 : Introduction to Software of December 1999 Qns 1. (a) Construct context free grammar for (i) do……………while loop in “C� language (ii) an arithmetic expression in “C� language (b) Write

CS-02 : Introduction to Software of December 2002

Question Paper of CS-02 : Introduction to Software of December 2002 Qns 1. (a) Design an algorithm to multiply two matrices and verify the correctness by tracing. (b) Write a shell program

CS- 63: Introduction to System Software of December 1999

CS- 63: Introduction to System Software of December 1999 Question No 1. (a) Design an algorithm that converts binary number to octal. [8] (b) Compare and contrast the features of paging and segmentation. [7] (c) Write an

CS-02 : Introduction to Software of December 1997

Question Paper of CS-02 : Introduction to Software of December 1997 Qns 1. (a) Write a regular grammar for the following : (i) Set of strings of a’ s, b’ s and

CS-02 : Introduction to Software of June 1996

Question Paper of CS-02 : Introduction to Software of June 1996 Qns 1. (a) Construct context free grammars of roman numerals. (b) Given two positive non-zero integers N and M. Design an

CS-02 : Introduction to Software of June 1995

Question Paper of CS-02 : Introduction to Software of June 1995 Qns 1. (a) Design an algorithm that converts binary number to octal. (b) What is usefulness of context free grammar? © Construct

CS-02 : Introduction to Software of June 1995

Question Paper of CS-02 : Introduction to Software of June 1995 Qns 1. (a) Design an algorithm that converts binary number to octal. (b) What is usefulness of context free grammar? © Construct





Submit

Contact Us



Search



Categories


Archives


Other Details


Links Listing

Aishwarya Rai