How To Exam?

a knowledge trading engine...


DOEACC Society 2006 DOEACC C Level C5 Object Oriented Methodology ( ) - Question Paper

Friday, 14 June 2013 03:00Web

C5-R3: OBJECT ORIENTED METHODOLOGY
NOTE:
Time: three Hours Total Marks: 100
1.
a) Differentiate ranging from multiple and multilevel inheritance by giving suitable example.
Java supports which of these?
b) Having a pointer as a class data member can lead to a few undesirable side effects.
What should you add to a class to avoid these side effects?
c) discuss the concepts: encapsulation, generalization and polymorphism. explain how
the above concepts support reusability.
d) What is Java Database Connectivity (JDBC)? discuss how Java program can connect to
a database using JDBC.
e) Activity diagram may be used for various purposes during system development
process. List four such purposes.
f) Using suitable illustration discuss the usage of “deployment” and “component” diagram in
UML.
g) What is CORBA? elaborate the advantages of having a CORBA based application as
compared to a client-server JAVA solution using sockets.
(7x4)
2.
a) What is the difference ranging from private and protected class members?
b) elaborate the initialization and the assignment phases of a constructor? What is every
used for?
c) Prepare an OMT object model for:
“An ice skating season consists of ranging from 1 and ten competitions. A competitor may
register for a competition and is assigned a number. Competitors are split into groups.
A competition consists of several events. Stations are set up at every competition and
every station can process several events and several judges may be assigned to a
station. Routines and figures are events, raw scores are learn and highest scores and
least scores are discarded. Figures are processed. A league consists of several
teams, a team consists of 6 competitors, a trial of a figure or routine is made by a
competitors, a trial receives several scores from the judges (six judges). Scores are
marked ranging from one and 10.”
(4+4+10)
3.
a) Object Oriented Software Development processes have 2 important characteristics:
high level of abstraction and seamless transition. discuss both of these characteristics
and briefly explain the advantages of object-oriented development owing to every of
these characteristics.
C5-R3 Page one of three July, 2006
1. ans ques. one and any 4 ques. from two to 7.
2. Parts of the identical ques. should be answered together and in the identical
sequence.
b) discuss the concept of message passing and visibility and explain how are they related
to every other.
c) A bank has a computerized customer accounting/transaction system. The system can
be accessed by ATMs, which communicate with the central computer, which clears
transactions. every ATM accepts a pass card, interacts with the user, communicates
with the central system for clearance purposes, dispenses cash, processes different fault
messages and allows access to additional services. Additional services include paying
bills, printing of statement, credit transfer. Users may only use their card to the
maximum value of Rs. 200.00 and not more than 5 times in 1 day.
i) Identify the main classes, their associations and attributes.
ii) Annotate the model with relevant constraints.
iii) Suggest how might generalization/specialization be introduced to your model?
(4+5+9)
4.
a) Using a few examples discuss how the subsequent kinds of relations among classes can be
implemented in Java:
i) association,
ii) aggregation (is-part of)
b) Write 2 ways of achieving synchronization in Java. Sketch a state diagram of Javathread.
Use methods/messages available in Thread class to discuss how a thread can
switch a state from ‘wait’ to a ‘run’ state and vice versa.
c) What do you understand by method overloading? How is overloading useful? provide
a few examples of method overloading.
(6+6+6)
5.
a) discuss the concept of exceptions in Java. Using a small example illustrate how they are
useful.
b) discuss the important differences ranging from C++ and Java. Why is C++ not a pure objectoriented
programming language while Java is a considered to be one?
c) Suppose subsequent info about every learner enrolled for a few degree has to be
entered in the computer: learner name, roll number, courses completed, marks
obtained. Write Java code to create 100 learner objects and to calculate the avg.
grades of the students.
(6+6+6)
6.
a) discuss how socket programming is supported in Java. What is the difference ranging from
a server socket and a client socket? discuss how you can create a server socket.
b) What is a DNS? discuss the role of DNS in a socket-based communication.
c) What is event-driven programming? Using suitable examples discuss how AWT
supports event-driven programming, with special reference to event registration,
listening and handling.
(6+6+6)
C5-R3 Page two of three July, 2006
7.
a) Relational Database Management Systems (RDBMS) are still widely used to handle
persistent objects. Using suitable examples, discuss how a generalization specialization
relationship may be resolved in Relational Data Modeling.
b) Why is Java considered suitable for programming on the net? discuss the important
security restrictions on applets and point out why these are necessary?
c) What do you understand by distributed object computing? elaborate the advantages of
distributed object computing?
(6+6+6)
C5-R3 Page three of three July, 2006


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER DOEACC Society 2006 DOEACC C Level C5 Object Oriented Methodology ( ) - Question Paper