How To Exam?

a knowledge trading engine...


Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2009 B.C.A Computer Application BC0037-Object Oriented Programming Using C++- Assignment s for fall session - Ques

Sunday, 09 June 2013 05:30Web

August 2009
Bachelor of Computer Application (BCA) – Semester 2
BC0037 – Object Oriented Programming Using C++ – four Credits
(Book ID: B0681)
Assignment Set – one (40 Marks)



every ques. carries 5 marks 08 x 05 = 40
1. Write a program to swap 2 numbers without using temporary variable.

2. Write a program in c++ to learn 2 floating point numbers and obtain their sum and avg..
3. Write a program in c++ to learn N numbers in an array, the user
should be able to search a particular number in the array using
sequential search algorithm.
4. discuss the scope and visibility of variables in c++ functions.
5. explain polymorphism in c++.
6. Overload += operator for the string class which should allow
statements like s1+=s2. This should concatenate strings s1 and
s2 and store the outcome in s1.
7. What is an inheritance? discuss various kinds of inheritance.
8. discuss concepts of constructors and destructors with an
example.






August 2009
Bachelor of Computer Application (BCA) – Semester 2
BC0037 – Object Oriented Programming Using C++ – four Credits
(Book ID: B0681)
Assignment Set – two (40 Marks)


every ques. carries 5 marks 08 x 05 = 40

1. Explain Break and continue on statements in c++.
2. Write a program in c++ to calculate the LCM of 2 numbers.
3. Write a program in c++ to learn a 3X3 matrix and obtain biggest number in that matrix.
4. Write a function that input radius of the circle and return the area of the circle.
5. Implement a class called employee that contains name, employee number and department code. Include a member function getdata() to get data from user and store it in the object. Write a program to test the class and it should store info of 100 employees.
6. Create a class String which stores a string value. Overload ++ operator which converts the characters of the string to uppercase (toupper() library function of “ctype.h” can be used)
7. Write a note on Overloading of binary operators.
8. Explain various Stream classes available in c++.



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2009 B.C.A Computer Application BC0037-Object Oriented Programming Using C++- Assignment s for fall session - Ques