How To Exam?

a knowledge trading engine...


Tamil Nadu Open University (TNOU) 2009-2nd Sem M.C.A - - C++ and UNIX -- XII - Question Paper

Thursday, 11 July 2013 08:05Web

M.C.A. DEGREE exam - 2009
(SECOND SEMESTER)
(PAPER-XII)
250. C++ AND UNIX
(Old Regulations)
Dec) (Time: three Hours
Maximum: 100 Marks

ans any 5 ques. (5×20=100)
All ques. carry equal marks


1.a) explain about the basic components namely the scheduler, the file system and the shell of the UNIX operating system.
b)Discuss about the file and directory related commands of the UNIX system.
2.a) Write a simple shell program to manipulate shell variables. (5)
b)i) Explain, with an example, the "for statement" of the shell programming. (5)
ii) explain about the mounting and unmounting feature of UNIX file system. (10)
3.a) What is meant by the subsequent terms?
i)Nested structures
ii) Array of structures
provide a typical example of use of every of them. (10)
b)What is a union? How is it various from a structure? (10)
4.a) explain the different data kinds in C++. (10)
b)Write a detailed note on the following:
i) Inheritance ii) Polymorphism (10)
5.Discuss, with suitable examples, the following:
i)Inline functions.
ii) Friend functions. (20)
6.a) discuss the subsequent with respect to the object oriented paradigm.
i) Private ii) Public iii) Protected (10)
b)Write an object oriented program in C++ that prints the factorial of a provided number. (10)
7.a) i) discuss the pros and cons of default constructor. (5)
ii) Write an object oriented program in C++ that determines whether a provided number is a prime or not and prints using default construction and destructor member function. (5)
b)Discuss about the various kinds of inheritance. (10)
8.a) explain about the working mechanism of a virtual function. (5)
b)i) Write a note on 'this' operator. (5)
ii) explain about the UNIX Vi editor (10)

*******


4

2

 
Total No. of Pages: 6947

 

Register Number:

 

Name of the Candidate:

 

M.C.A. DEGREE EXAMINATION - 2009

 

(SECOND SEMESTER)

 

(PAPER-XII)

250. C++ AND UNIX

 

(Old Regulations)

Dec) (Time: 3 Hours

Maximum: 100 Marks

Answer any FIVE questions (520=100)

All questions carry equal marks

 

1.             a) Discuss about the basic components namely the scheduler, the file system and the shell of the UNIX operating system.

 

b)   Discuss about the file and directory related commands of the UNIX system.

 

2.             a) Write a simple shell program to manipulate shell variables. (5)

 

b)   i) Explain, with an example, the for statement of the shell programming. (5)

ii) Discuss about the mounting and unmounting feature of UNIX file system. (10)

 

3.             a) What is meant by the following terms?

i)        Nested structures

ii) Array of structures

Give a typical example of use of each of them. (10)

 

b)   What is a union? How is it different from a structure? (10)

 

4.             a) Discuss the various data types in C++. (10)

 

b)   Write a detailed note on the following:

i) Inheritance ii) Polymorphism (10)

 

 

2

5.             Discuss, with suitable examples, the following:

i)Inline functions.

ii) Friend functions. (20)

 

 

6.             a) Explain the following with respect to the object oriented paradigm.

i) Private ii) Public iii) Protected (10)

 

b)   Write an object oriented program in C++ that prints the factorial of a given number. (10)

 

7.             a) i) Explain the pros and cons of default constructor. (5)

 

ii) Write an object oriented program in C++ that determines whether a given number is a prime or not and prints using default construction and destructor member function. (5)

b)   Discuss about the different types of inheritance. (10)

 

8.             a) Discuss about the working mechanism of a virtual function. (5)

 

b)   i) Write a note on this operator. (5)

ii) Discuss about the UNIX Vi editor (10)

 

*******


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Tamil Nadu Open University (TNOU) 2009-2nd Sem M.C.A - - C++ and UNIX -- XII - Question Paper