[go: up one dir, main page]

0% found this document useful (0 votes)
80 views3 pages

BCS 031 (WWW - Ignouassignmentguru.com)

The document contains 3 samples of potential exam questions for a BCA & MCA program at IGNOU. Sample I contains 15 questions about structured vs object-oriented programming, C++ vs C, classes, file input/output, functions, operator overloading, and templates. Sample II has 15 similar questions about functions, classes, streams, polymorphism, and inheritance. Sample III lists 12 questions about inheritance, copy constructors, classes, access control, C++ characteristics, and virtual functions.

Uploaded by

Israr Alam
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)
80 views3 pages

BCS 031 (WWW - Ignouassignmentguru.com)

The document contains 3 samples of potential exam questions for a BCA & MCA program at IGNOU. Sample I contains 15 questions about structured vs object-oriented programming, C++ vs C, classes, file input/output, functions, operator overloading, and templates. Sample II has 15 similar questions about functions, classes, streams, polymorphism, and inheritance. Sample III lists 12 questions about inheritance, copy constructors, classes, access control, C++ characteristics, and virtual functions.

Uploaded by

Israr Alam
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/ 3

BCA & MCA (IGNOU)

http://www.ignouassignmentguru.com
Sample question Sets for Dec 2015
BCS-031
IGNOU ASSIGNMENT GURU for BCA & MCA (IGNOU)
Sample-I

1. Compare structured programming paradigm and Object Oriented Paradigm.


2. Differentiate C++ programming language from C programming language in terms of
parameter passing in functions.
3. Write class ‘MYNUMBER’ to pass two number using constructors and find subtraction of
its squares.
4. What is data type? List any four built in data types and their size in C++. Also explain
need of derived data type in C++ programming.
5. Explain following terms :
a. Data Abstraction
b. Pure virtual Function
c. Accessibility of member
d. Early and late Binding
e. Any three manipulators in C++.
6. Write a program to open a file and read it and count number of lines, characters and
vowels in that file.
7. What is default argument? Find the largest number among the three numbers given using
a returning function.
8. What is operator overloading? Briefly explain general rules of operator overloading .Write
a class “Complex” in C++ to find sum of two complex number.
9. Define the class Student with data member roll, name, address, contact number, Define
the default constructor, member functions get_data() for input, print () for displaying the
data of Student.
10. What is friend function? Explain its advantage with the help of an example.
11. What is exception in C++ ? Explain with the help of a program. Also describe how to
thrown multiple throw statement with Single catch statements.
12. What is inline function? Explain with example.
13. What is function overloading? How it is different from function overriding? Explain with
an example of each.
14. Write a class template program to implement push and pop operation in Stack.
15. What is encapsulation? Explain how it is different from information hiding with the help
of an example.

IGNOU ASSIGNMENT GURU for BCA & MCA (IGNOU)


1
IGNOU ASSIGNMENT GURU Page-
Sample-II

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

****

IGNOU ASSIGNMENT GURU for BCA & MCA (IGNOU)


Sample-III
1. What is inheritance? Why is it needed? Explain with example. [5]
2. What is copy Constructor? Give a suitable Example.[5]
2
IGNOU ASSIGNMENT GURU Page-
3. Write a C++ program to create a class Book, to keep the records of books availabl+e 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.[5]
4. What is access control specifies? Explain the need of different access control specifies with
example.[5]
5. Write the characteristics of C++.[5]
6. WAP to design a class “BCA” having following member [5]
Data members
 Course code
 Duration
 Semester
Function member
 To input details

/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

You might also like