J 8210.p65

Roll No. .
Total No. of Questions : 12]
[Total No. of Pages : 03
Paper ID [C1419]
(Please fill this Paper ID in OMR Sheet)
B.Sc. BI (402) (Sem - 4th)
OBJECT ORIENTED PROGRAMMING USING C ++
Time : 03 Hours
Maximum Marks : 75
Instruction to Candidates:
Section - A is Compulsory
Attempt any Nine questions from Section B.
Section - A<
(15 × 2 = 30)
Q1)
List at least four new operators by C ++ which aid OOP.
Why is an array called derived array type? Write a function using reference variables as arguments to swap thevalues of a pair of integers.
What are the advantages of function prototypes in C ++? What is a friend function? What are the merits and demerits of usingfriend function? What is a a constructor? Is it manadatory to use constructors in a class? What are the different forms of inheritance? Give an example for each.
Distinguish between overload functions and function templates.
What is a containership? How does it differ from inheritance? J-8210[S-9700365] P.T.O.
m) What do you mean by dynamic binding? How is it useful in OOP? What is object oriented programming? How is different from theprocedure oriented programming? List a few areas of application OOP methodology.
Section - B<
(9 × 5 = 45)
Q2)
a) Define the following terms with examples: (i) Abstract data type(ii) Polymorphism(iii) Inheritance(iv) Templates Q3)
Design an EMPLOYEE base class. Define all its possible methods anddata structures. Through inheritance mechanism, create one class namelyMANAGER. Implement its data structure and important methods. Assumethat you are making this design for the purpose of making a salarystatement. Observe the following while designing classes:• Clearly indicate public and private classes• Design constructors in each class and explain its purpose• Identify data structure and methods which can be inherited• Implementation should be in C++ Q4)
Prepare object diagrams showing at least 10 relationships among thefollowing object classes. Include associations, aggregations andgeneralizations. Use qualified associations and show multiplicity balls inyour diagrams. You do not need to show attributes or operations. Useassociation names where needed. As you prepare the diagrams you mayadd additional object classes:School, playground, principal, classroom, book, student, teacher, cafeteria,rest-room, computer, desk, chair, door.
Q5)
Prepare a data flow diagram for computing the volume and surface areaof a cylinder. Inputs are height and radius of cylinder. Outputs are volumeand surface area. You can use any arbitrary formula for demonstration.
Discuss several ways of implementing the DFD.
J-8210[S-9700365]
2
Q6)
Design a template class for implementation of BINARY TREE.
Q7)
Implement the following class using C++ and any other non-object-oriented language: Sorted_dictionary Q8)
Q9)
Rephrase the following requirements to make them more precise. Removeany design decisions posing as requirements.
A system for distributed electronic mail over a network is needed. Eachuser of the system should be able to send mail /Tom any computer accountand receive mail on one designated account. There should be provisionsfor answering or forwarding mail, as well as saving messages in files orprinting them. Also users should be able to send messages to severalother users at once through distribution lists. Each computer on the netshould hold any messages destined for computers which are down.
Q10) Write code to implement the following:
One-to-many association, which is traversed in the direction /Tom one tomany. The association considered unordered Code should be in C++.
Q11) Design a template class for implementation of a LINKED LIST.
Q12) Implement the following class using C++ and any other non-object
J-8210[S-9700365]
3

Source: http://www.rcld.co.in/userfiles/file/BSC_BI-402.pdf

P_pressstempel_deen_130126:layout 5

Disposable Plungers MADE IN GERMANY For pressing dental ceramics and Lithium Disilicate Ideal for pressing all ceramic ingots, includingLithium Disilicate. No need for cleaning or preheating. Discardafter use. No need for a separator when pressingLithium Disilicate. Consistent results when pressing LithiumDisilicate■ prevents transfer of heat from the plunger to the ceramic

Microsoft word - lista de resúmenes.doc

AACr 2011 - VII Reunión de la Asociación Argentina de Cristalografía Listado de Resúmenes Ordenados por Apellido del autor responsable de envío Apellidos Nombres Síntesis y caracterización de partículas magnéticas core-Cambio de fase tetragonal-cúbica en soluciones sólidas Fracción de fases, tensiones y textura cristalográfica en una muestra CT de una aleación con

Copyright © 2013-2018 Pharmacy Abstracts