Friday, September 2, 2016
- Friday, September 02, 2016
- PunjabtechnicalUniversity ajay gour
- 3rd Semester BCA, Object Oriented Programming Using C Plus Plus BCA 3rd
- No comments
Total No. of Questions : 07
OBJECT ORIENTED PROGRAMMIGN USING C++
Subject Code : BC-304
Paper ID : [B0212]
Time : 3 Hrs.
INSTRUCTION TO CANDIDATES :
1. Section-A is compulsory.
2. Attempt any Four questions form Section-B.
a) Differentiate between class and object.
b) Explain the various control structures of C++.
c) What do you mean by header file?
d) What are function prototypes?
e) What are some advantages / disadvantages of using friend functions?
f) How many ways are there to initialize an int with a constant?
g) What do you mean by data hiding in C++?
h) Explain the role of file iostream.h in C++.
i) What do you mean by new and delete operator?
j) Differentiate between macros and functions.
Section - B
Q2) What are the main characteristics of an object oriented programming? Compare them with the structured programming?
Q3) Can we use the same function name for a member function of a class and outside function in the same program file? If yes how are they distinguished? If no, give reasons.
Q4) What do you mean by recursion? Write a program in C** to find the GCD of two numbers using recursion
Q5) What is multiple inheritance? How it is realized in C++? Give suitable examples
Q6) Explain the use of virtual and static functions. Give at least example in each case.
Q7) Write a C*i program that prompts the user to enter the name of two files, and copies the contents of the first file into the second file. Your program should be able to handle any kind of error that occr.trs during the course of program execution.
Roll No……….. Total No. of Questions: 07 B.Com. (Sem.-1 st ) FINANCIAL ACCOUNTING Subject Code: BCOP-101 Paper ID: [B1101] ...
punjabtechnicaluniversity.blogspot.in Roll No......................... ... Total No. of Questions : 07] ...
punjabtechnicaluniversity.blogspot.in Click Here for Syllabus of B-Tech 1st Year . http://ptu.ac.in/userfiles/file/engg_syllab/1st_and_...
Business Organisation and Management, Question Paper of B.Com 1st Semester,Download Previous Years Question Paper 2Roll No…….. Total No. of Questions: 07 B.Com (Sem.-1 st ) BUSINESS ORGANIATION AND MANAGEMENT Subject Code: BCOP-102 (2011 &a...
Roll No……. Total No. of Questions:07 B.COM (Sem.-1 st ) BUSINESS MATHEMATICS SUBJECT CODE: BCOP-104 (2011 Batch) PAPER ID: ...
punjabtechnicaluniversity.blogspot.in Roll No. ...................... Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Master Of Technology (M-Tech) Syllabus SYLLABUS FOR MASTER OF TECHNOLOGY (M-Tech) Br...
punjabtechnicaluniversity.blogspot.in Click Downlink for Dowload of Scheme and Syllabus of B.Com. Professional Batch 2011onwards ht...
B.Sc. IT (402) (S05) / 102 (New) (Sem. - 4th) BASIC MATHEMATICS – I, Punjab Technical University, PTU, Question paperpunjabtechnicaluniversity.blogspot.in Roll No. ................. Total No. of Questions : 13] ...
punjabtechnicaluniversity.blogspot.in Roll No . ............ Total No. of Questions : 07) ...