0% found this document useful (0 votes)
43 views6 pages

Object-Oriented Programming Exam Guide

Oops
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views6 pages

Object-Oriented Programming Exam Guide

Oops
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

lOMoARcPSD|46349249

Object Oriented Programming Methodology

B.Tech (Uttarakhand Technical University)

Scan to open on Studocu

Studocu is not sponsored or endorsed by any college or university


Downloaded by Tushar Kashyap ([email protected])
lOMoARcPSD|46349249

All India Council for Technical Education Model Question Paper

Course Name: Object Oriented Programming & Methodology


Course Outcomes (CO):

1. Name and apply some common object-oriented design patterns and give examples of their use.
2. Identify classes, objects, members of a class and relationships among them needed for a specific
problem
3. Discuss the Java language features and analyze the differences between Structural and Object
Oriented programming approach
4. Specify simple abstract data types and design implementations, using abstraction functions to
document them.
5. Recognize features of object-oriented design such as encapsulation, polymorphism, inheritance, and
composition of systems based on object identity.
6. Design applications with an event-driven graphical user interface.

Model Question Paper


Total Duration (H: M): 3:00
Course: Object Oriented Programming &
Methodology Maximum Marks: 100

Note: Answer Any two questions from UNIT I, UNIT II and one question from UNIT III

Q.No Questions Marks CO BL PI

UNIT I

1a Explain all the components of DFD. Also, prepare a DFD for


computing the volume and surface area of a cylinder. Inputs are the
height and radius of the cylinder. Outputs are volume and surface area. CO2 L3
10 1.1.1
Discuss several ways of implementing the DFD.

1b What is the purpose of state diagrams? How concurrency is related


with state diagrams? Give an example state diagram on support of your 5 CO 1 L3 1.1.1
answer.

1c What are constraints? Explain in context of object modeling. CO1 L2


5 1.1.1

Computer Science and Engineering CSE1

Downloaded by Tushar Kashyap ([email protected])


lOMoARcPSD|46349249

All India Council for Technical Education Model Question Paper

Q.No Questions Marks CO BL PI

2a Differentiate between Aggregation and Generalization by taking a CO 2 L2


5 1.1.1
suitable example.

2b Define the concept of candidate keys by taking a suitable example.


5
CO 1 L3 1.1.1

2c In a Hospital Management System, many patients are taken care by


doctors and nurses. While nurses are associated with doctors one for CO1 L3
10 1.1.1
one basis. Discuss link, association and cardinality for the above
scenario.

3a CO 2 L2
Prepare a DFD for hostel mess. Also explain leveling of DFD? 5 1.1.1

3b Give definition of DFD. Draw a two level DFD for a mathematical


puzzle recognizing a natural number as odd prime or even prime. CO 1
10 L3 1.1.1

3c Differentiate between OMT, SA/SD and JSD methodologies with


5
examples. CO 2 L3 1.1.1

UNIT II

4a Difference between static methods, static variables, and static classes in


Java. 6 CO4 L3 1.1.1

Computer Science and Engineering CSE2

Downloaded by Tushar Kashyap ([email protected])


lOMoARcPSD|46349249

All India Council for Technical Education Model Question Paper

Q.No Questions Marks CO BL PI

b Suppose, you want to find the tallest student of your class. For
reusability, the list of students must be passed to a method which 8 1.1.1
returns the height only. Write the java code appropriately. CO4 L3

c
What is an Array Class in Java and How to Implement it? 6 1.1.1
CO3 L2

5a i) Write a java program to differentiate method overloading


and method overriding. 10 CO3 L3 1.1.1
ii) Differentiate between constructor and method of class.

b How is the creation of a String using new() different from that of a


literal? CO4 L2
6 1.1.1

c Discuss public, private, protected and default access modifier with


example. 4 1.1.1
CO4 L3

6a Explain the following java keywords and their use with example:
CO4 L3
a. super, transient, finally, final 8 1.1.1
b. this, static, throw, throws

Computer Science and Engineering CSE3

Downloaded by Tushar Kashyap ([email protected])


lOMoARcPSD|46349249

All India Council for Technical Education Model Question Paper

Q.No Questions Marks CO BL PI

b What do you mean by multithreading? List its advantages and


disadvantages. How can it be implemented in java? Explain. 8 1.1.1
CO3 L3

c Explain compilation & execution process of java (block diagram).


4 1.1.1
CO3 L2

UNIT III

Explain single level and multiple inheritances in java. Write a program


7a to demonstrate combination of both types of inheritance as shown in 6 CO5 L3 1.1.2
figure 1. i.e. hybrid inheritance

What is an Exception? List out the keywords for exception handing and
b write steps to develop user defined exception. 6 CO5 L2 1.1.2

List the classes to handle I/O in java? Write a java code to copy one
text file to another text file.
c 8 CO5 L3 1.1.2

8a Define Applet? Discuss its life cycle. Write a java code to


demonstrate a small applet. 8 CO6 L3 1.1.1
What is method overloading? Can you define two methods that have
b same name but different parameter types? Can you define two methods 6 CO6 L2 1.1.1
in class that have identical method names and parameter profile with
different return values types or different modifier?

“Interface variables are static and final by default in Java”- Support this
c statement with proper explanation. Compare and contrast an Interface 6 CO6 L2 1.1.1
and abstract class?

Computer Science and Engineering CSE4

Downloaded by Tushar Kashyap ([email protected])


lOMoARcPSD|46349249

All India Council for Technical Education Model Question Paper

Course Outcome
wise
40 35
Marks Distribution
35 32
30 28
25
25
20 20
20
15
10
5
0
CO1 CO2 CO3 CO4 CO5 CO
6

BL – Bloom’s Taxonomy Levels (1- Remembering, 2- Understanding, 3 – Applying, 4 –


Analysing, 5 – Evaluating, 6 - Creating)
CO – Course Outcomes
PO – Program Outcomes; PI Code – Performance Indicator Code

Mechanical Engineering ME32

Downloaded by Tushar Kashyap ([email protected])

You might also like