Exam Details

Subject oops programming with c++ and java
Paper
Exam / Course pgdca/msccs
Department
Organization Vardhaman Mahaveer Open University
Position
Exam Date December, 2016
City, State rajasthan, kota


Question Paper

PGDCA/MSCCS-03/MCA-103/CPCJ
December Examination 2016
MSCCS PGDCA CPCJ/MCA I Year Examination
OOPs Programming with and Java
Paper PGDCA/MSCCS-03/MCA-103/CPCJ
Time 3 Hours Max. Marks 100
Note: The question paper is divided into three sections B and C. Write answers as per given instructions.
Section A 10 × 2 20
(Very Short Answer Questions)
Note: Answer all questions. As per the nature of the question delimit your answer in one word, one sentence or maximum upto 30 words. Each question carries 2 marks.
How to initialize a pointer?
What is inline function?
What is the use of keyword in Java?
List the types of polymorphism.
Define the term "encapsulation".
Describe the term "object".
What is type cast operator?
(viii) How you can place comments in and Java?
520
PGDCA/MSCCS-03/MCA-103/CPCJ 400 3 (P.T.O.)
PGDCA/MSCCS-03/MCA-103/CPCJ 400 3 (Contd.)
520
What do you mean by multithreaded program?
What is "cout" in
Section B 4 × 10 40
(Short Answer Questions)
Note: Answer any four questions. Each answer should not
exceed 200 words. Each question carries 10 marks.
Compare overloading and overriding of functions with suitable
example.
What is virtual function? Explain its need.
Write a program to declare a class "employee" consisting of
data members emp_no and emp_name. Write the member
functions accept( to accept and display( to display the data
for 5 employees.
How to create a class template? Discuss its usage.
What is interface? What are the uses of interface?
Write short note on stream in
Discuss the Applet life cycle with suitable diagram.
What is garbage collection, why it is useful in Java.
PGDCA/MSCCS-03/MCA-103/CPCJ 400 3
520
Section C 2 × 20 40
(Long Answer Questions)
Note: Answer any two questions. You have to delimit your each
answer maximum upto 500 words. Each question carries
20 marks.
10) What do you mean by Inheritance? Write a program to
implement the inheritance as shown in figure:
Class name: Student
Member variables:
st_no
st_name
Class name: s_t
Member variables:
s_t_no
s_t_name
Class name: Teacher
Member variables:

t_name;
11) What is Run-time polymorphism? Write a program to find the
length of a string using operator overloading.
12) Why Java is object oriented language? Discuss the features of
Java programming language.
13) What is heap? Explain how memory is allocate during program
execution i.e. on Run time with suitable example.


Subjects

  • accounting information systems
  • application software and web designing
  • auditing in computer environment
  • basics of computer
  • computer fundamental and system software
  • computer networking and internet
  • elementary computer accounting
  • oops programming with c++ and java
  • practical
  • programming in vb and dot net