Roll
No.
Total
No. of Questions : 07
B.Sc. (IT) (Sem.–3rd)
PROGRAMMING IN C++
Subject Code : BS-205
Paper ID : [B0411]
Time
: 3 Hrs.
INSTRUCTION
TO CANDIDATES :
1. Section –A,
is Compulsory.
2. Attempt any
four questions from Section-B.
Section –A
Q.1. Discus the following:
(a) What is the
use of void data type in C+?
(b) What do you
mean by cin and count?
(c) What do you
mean by Aces Specifiers?
(d) Is it
necesary to create an object of a class?
(e) Discus the
rules to declare a constructor in a class.
(f) Discus the
use of new and delete operator.
(g) What do you
mean by Early binding and dynamic binding.
(h) What do you
mean by command-line arguments?
(i) Discus Eof
() and Bad ().
(j) What is
data hiding?
Section –B
Q.2. (a) What are the two major parts of a
clas?
(b) Define
scope resolution operator. How it is useful for defining a member of a class.
Q.3. (a) Differentiate between procedure oriented programming and
object oriented programming.
(b) Explain the
concept of unction overloading. What are its different rules to follow for the
term of unction overloading?
Q.4. What is a copy constructor? When it is called. Why the argument
o a copy constructor is passed by reference.
Q.5. (a) What is multilevel inheritance? How it can be
differentiated from multiple inheritance.
(b) Explain
array of objects with suitable examples.
Q.6. (a) Define Prototype-based
programming.
(b) What are
the main characteristics of object oriented paradigm.
Q.7. (a) What is a file mode? Describe the
various modes for opening a file.
(b) Write short
note on: seekg(), seekp(), tellg(), tellp().
0 comments:
Post a Comment
North India Campus