How To Exam?

a knowledge trading engine...


Punjab Technical University 2006-3rd Sem B.Sc Information Technology -IT PROGRAMMING IN C - Question Paper

Wednesday, 10 April 2013 09:45Web

Paper BSIT -303, (O)
PROGRAMMING IN C
BSCIT third Semester (2096)

Time: 3 Hours Max Marks:75

Note: The ques. paper consists of 2 parts A and B
11) Attempt all ques. from Part A
12) Attempt any 9 ques. from Part B.


Part A
1.
i. What is Software reusability?
ii. What is meant by identifies?
iii. What is meant by equality operators? How do they differ from an assignment operator?
iv. What is meant by membership operator in C++?
v. What is function overloading?
vi. What is default constructor?
vii. What is meant by this pointer?
viii. What is hybrid inheritance?
ix. What is a friend function?
x. Discuss different rules for overloading operator.
xi. Define the term pure virtual functions.
xii. What are the scoping rules for the nested class objects when using a file.
xiii. List the merits and demerits of using a binary file in C++.
xiv. Describe how a class object can be written on a file?
xv. What are the syntactic rules for the function if stream.

(15x2=30)

Part B
2. Distinguish ranging from procedure oriented and object oriented paradigms.
3. List out all C++ operators along with their associativity.
4. Write a program in C++ to obtain the sum of the provided 3 numbers using function decleration with the return statement.
5. Write a program in C++ to demonstrate the usage of a friend function.
6. What is a nested class? How is it declared and described in C++?
7. What is a copy constructor? Write suitable code fragments to demonstrate its usage.
8. Write a program to demonstrate how function overloading is carried out for swapping of 2 variables of different data types, namely integers, floating point numbers and character kinds.
9. What is multilevel inheritance? discuss with the help of suitable code fragments.
10. What are pointers to objects? How are they used?
11. What is a container class? List pros and cons of declaring container classes.
12. Explain how random access file is described and processed?
13. Write a program in C++ to learn a file and display the contents of the file on the screen with live numbers.

(9x5=45)




( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab Technical University 2006-3rd Sem B.Sc Information Technology -IT PROGRAMMING IN C - Question Paper