0% found this document useful (0 votes)
47 views2 pages

AHK/KW/19/4293: CC-8763 1 (Contd.)

Uploaded by

dearsirbhartey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views2 pages

AHK/KW/19/4293: CC-8763 1 (Contd.)

Uploaded by

dearsirbhartey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AHK/KW/19/4293

Post Graduate Diploma in Computer Commercial Application (P.G.D.C.C.A.) Semester—I


(CBCS) Examination
PROGRAMMING IN C & OOPS CONCEPT
Compulsory Paper–2
Time : Three Hours] [Maximum Marks : 80
Note :— (1) ALL questions are compulsory.
(2) Draw well labelled diagram wherever necessary.
PART—A
Note :— (1) Each question carries 2 marks.
(2) Answers should not be in more than 5 lines.
1. (a) What is translator ?
(b) What is constant ?
(c) What is function prototype ? Give an example.
(d) What is null pointer ?
(e) What is string ?
(f) What is file ?
(g) What is class ?
(h) Write down any two demerits of object oriented programming. 8×2=16
PART—B
Note :— (1) Each question carries 3 marks.

(2) Answers should not be in more than 10 lines.

2. (a) Write down the features of C Language.

(b) What is variable ? Write down rules to define variable name.

(c) What is function ? How can a function be declared in C ?

(d) What is the need of an array ?

(e) Define structure. Give an example.

(f) Differentiate scanf( ) and fscanf( ).

(g) Define the following term with respect to OOP :

(i) Data abstraction

(ii) Data Encapsulation

(h) What is Virtual function ? Given an example. 8×3=24

CC—8763 1 (Contd.)
PART—C
Note :— (1) Each question carries 5 or 10 marks.
(2) Answers should not be more than 400 words for 5 marks questions and 600 words for
10 marks questions respectively.
EITHER
3. (a) Explain built-in data type in detail. 5
(b) What is an operator ? Explain about precedence of C operators. 5
OR
(c) Explain different types of looping statements with suitable example. 10
EITHER
4. (a) What is recursive function ? List out their merits and demerits of the function. 5
(b) What is pointer ? What are the uses of the pointers in C ? 5
OR
(c) What is meant by call by value by call by reference ? Explain with a suitable example. 10
EITHER
5. (a) What is file mode ? Explain the types of file mode ? Which one is most useful in structure or
union. 5
(b) Explain the merits and demerits of the random access file processing in C. 5
OR
(c) What is command line argument ? Explain with suitable example. What are the advantages of
using them ? 10
EITHER
6. (a) Explain the following with respect to the object oriented paradigm :
(a) Private
(b) Public
(c) Protected 5
(b) What is inheritance ? What are the few applications of inheritance ? 5
OR
(c) Write short notes on :
(i) Class
(ii) Object
(iii) Data member
(iv) Member function. 10

CC—8763 2 AHK/KW/19/4293

You might also like