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 - Question Paper

Sunday, 09 June 2013 03:20Web

BC0037 – Object Oriented Programming Using C++ August Assignment

B

August 2009

Bachelor of Computer Application (BCA) Semester 2

BC0037 Object Oriented Programming Using C++ 4 Credits
(Book ID: B0681)

Assignment Set 1 (40 Marks)

 

 

 

Each question carries Five marks 08 x 05 = 40

1. Write a program to swap two numbers without using temporary variable.

2. Write a program in c++ to read two floating point numbers and find their sum and average.

3. Write a program in c++ to read N numbers in an array, the user

should be able to search a particular number in the array using

sequential search algorithm.

4. Explain the scope and visibility of variables in c++ functions.

5. Discuss 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 result in s1.

7. What is an inheritance? Explain different types of inheritance.

8. Explain concepts of constructors and destructors with an

example.

 

 

 

 

 

 

August 2009

Bachelor of Computer Application (BCA) Semester 2

BC0037 Object Oriented Programming Using C++ 4 Credits
(Book ID: B0681)

Assignment Set 2 (40 Marks)

 

 

Each question carries Five marks 08 x 05 = 40

 

1.    Explain Break and continue statements in c++.

2. Write a program in c++ to compute the LCM of two numbers.

  1. Write a program in c++ to read a 3X3 matrix and find biggest number in that matrix.
  2. Write a function that input radius of the circle and return the area of the circle.
  3. 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 information of 100 employees.
  4. 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)
  5. Write a note on Overloading of binary operators.
  6. Explain different 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 - Question Paper