Oocp Uml Qbank

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

INDUS UNIVERSITY

INSTITUTE OF TECHNOLOGY & ENGG


Deptment of Computer engg
Semester: III
Subject: OOCP_UML
Assignment/Question Bank

Unit 1
1 Differentiate O.O.P and P.O.P
2 List out features of object oriented Language. Explain any one.
3 Name following operators and explain it.1)<< 2)>>
4 Explain basic structure of c++ .
5 List out c++ tokens and explain any one.
6 Explain reference variable with example.
7 Explain scope resolution operator without using class.
8 Explain memory management operators.
9 Explain manipulators.
10 Explain inline function .
11 What is default argument?
12 Write a c.p.p program to……using friend function.
13 What are the limitations of structures in 'C'?
Unit 2
14 Write a short note on defining member functions.
15 Demonstrate nesting of member function.
16 Explain private member function.
17 Explain memory allocation for object.
18 Characterize static data members and static member functions.
19 What is the use of constructor?
20 Explain types of constructor.
21 Explain constructor overloading.
22 Explain dynamic constructor.
23 Explain destructor.
24 Which operators can’t be overloaded?
25 Write a program to demonstrate unary operator using member function.
26 Write a program to demonstrate binary operator using member function.
27 Write a program to demonstrate unary operator using friend function.
28 Write a program to demonstrate binary operator using friend function.
29 W.A.P to overload << operator.(any of the operator supported by c/c++ can be asked to overload).
30 Rules for operator overloading.
31 Explain types of type conversion.
32 How to declare/define class to basic type conversion?
Unit 3
33 What is the need of inheritance?
34 List out types of inheritance and explain any one in detail.
35 Explain visibility mode specifiers with example.
36 What is the significance of public visibility specifier.
37 Explain virtual base class.
38 Abstract Classes.
39 Explain constructors in derived classes.
40 Explain polymorphism/run time polymorphism/list out types of polymorphism.
41 What is late binding/late linking/dynamic binding?(same question for static)
42 Pointer basics.
43 Program based on pointer to function
44 Explain types of pointers.
45 Differential Null and Void pointer.
46 Explain array of pointers.
47 Pointer to object (static/dynamic).
48 Explain this pointer/program based on this pointer.
49 Explain Virtual function.
50 Explain Pure Virtual function.
51 Same I/O functions of Language C can be used for c++?
52 Explain streams.
53 List out rules to define virtual function.
54 Difference between cin.get() and cin.getline()
55 Explain get(), getline(), put(), write()
56 Define stream, input stream ,output stream
57 Explain stream classes.
58 List out unformatted I/O operations and explain any one in detail.
59 List and explain ios class functions and flags.
60 List and explain Manipulators.
61 List and explain User-defined output functions.
Unit 4
62 Explain File stream.
63 Explain file stream classes.
64 How to read data from the file? Explain with sample code.
65 explain file management functions.( open and close).
66 explain binary and random files.
67 How to write data to the file? Explain with sample code.
68 Explain file open techniques(with and with out constructor).
69 explain file pointers.
70 List & explain Opening modes of file.

71 Question from object oriented Design(UML Diagrams: class/state/interaction-usecase)

Note: Any of the statement to justify whether it is true/false can be asked. Any of the sample
code is given and you have to identify the error and have to fix it. Any of the sample code
is given and you have to write down output of that. Fill in the blanks may be there.
orted by c/c++ can be asked to overload).

You might also like