BCS 031 (WWW - Ignouassignmentguru.com)
BCS 031 (WWW - Ignouassignmentguru.com)
http://www.ignouassignmentguru.com
Sample question Sets for Dec 2015
BCS-031
IGNOU ASSIGNMENT GURU for BCA & MCA (IGNOU)
Sample-I
1. What are function template and class Template? Write a function template SUM to add
two NUMBERS.
2. Write a C++ program to create a class Book, to keep the records of books available in your
library. This program should have proper constructor and member functions, to get the
details such as publisher, author and price etc. of the books. Make necessary assumptions
where ever required.
3. What is data stream? Explain stream hierarchy in C++.
4. What is polymorphism? Explain advantage of polymorphism. Also write a C++ program to
explain use of virtual function.
Or what is message passing? Explain how message passing is used in C++ programming
with an example.
/ignouassignmentfree
BCA & MCA (IGNOU)
http://www.ignouassignmentguru.com
5. What is the function of a Constructor? Give an example of Constructor. What is the
function of a Destructor? Give an example of Destructor.
6. Explain Following Functions:-
a. seekg()
b. seekp()
c. tellg()
d. tellp()
7. What is a Virtual Function? How does it differ from a Pure Virtual Function? Also, give an
example of a Pure Virtual Function.
8. How is the working of member function different from friend function and a non member
function?
9. What is access control specifies? Explain the need of different access control specifies with
example.
10. Differentiate between ‘C’ and ‘C++’
11. How function calls are matched with overloaded functions in C++ ? Explain with the help
of a C++ Program.
12. What is an object? Explain how objects in C++ are created and destroyed, with the help of
program to create Bank Account Class, having data members’ name, account number,
balance and member function display balance.
13. Write appropriate statements to create a template class for Queue data structure in C++.
14. What is inheritance? Explain Different types of inheritance. Also WAP to implement
multiple inheritances.
15. With the help of an example for each explain the use of the following operators in C++
a. Bitwise AND operator
b. Containership
c. Scope Resolution operator
d. static & Dynamic object
e. Ambiguous Match
****
/ignouassignmentfree
BCA & MCA (IGNOU)
http://www.ignouassignmentguru.com
To display details
7. WAP to design classes “mynum” and “yournum” to pass a number in each class and find the
sum of these numbers in “derived” class.[5]
8. What is reusability of code? Write a C++ program to create a class student, with basic data
members such as name, address, age. Create a class PG_student by inheriting from
student class. PG_student class should have a function to display, name, address, subject
of the student.
9. Explain Call by Value and call by references with help of program.
10. What is a Virtual Function? How does it differ from a Pure Virtual Function? Also, give
an example of a Pure Virtual Function.[7]
11. What is information hiding? Explain with example [5]
12. Define Following Terms[10]
a. Abstract Class
b. Multilevel Inheritance
c. Destructor
d. ?:
e. Dynamic Object
3
IGNOU ASSIGNMENT GURU Page-
/ignouassignmentfree