0% found this document useful (0 votes)
30 views1 page

OOP with Java Exam Instructions 3153203

This document outlines the examination details for the Object Oriented Programming with Java course at Gujarat Technological University for Winter 2024. It includes instructions for the exam, a breakdown of questions covering various Java concepts, and marks allocation for each question. The exam is scheduled for December 5, 2024, and allows the use of simple scientific calculators.

Uploaded by

XYZ Stuff
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)
30 views1 page

OOP with Java Exam Instructions 3153203

This document outlines the examination details for the Object Oriented Programming with Java course at Gujarat Technological University for Winter 2024. It includes instructions for the exam, a breakdown of questions covering various Java concepts, and marks allocation for each question. The exam is scheduled for December 5, 2024, and allows the use of simple scientific calculators.

Uploaded by

XYZ Stuff
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

Enrolment No.

/Seat No_______________

GUJARAT TECHNOLOGICAL UNIVERSITY


BE- SEMESTER–V (NEW) EXAMINATION – WINTER 2024
Subject Code:3153203 Date:05-12-2024
Subject Name: Object Oriented Programming with Java
Tim[Link] AM TO 01:00 PM Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific calculators are allowed.

MARKS
Q.1 (a) Differentiate procedural and object-oriented programming paradigm. 03
(b) Java is platform independent and portable. Explain 04
(c) Describe the architecture of JVM. Is Java compiled or interpreted? 07

Q.2 (a) Describe integer data types in Java. What is type casting? 03
(b) Why is the main method static? What are command line arguments? 04
(c) Write a code to manage attendance in a certain session by an instructor. 07
Assume classes, data types and methods accordingly.
OR
(c) Explain the types of inheritance taking a suitable example for each? 07

Q.3 (a) Explain the use and importance of protected access specifier? 03
(b) Justify under which conditions interfaces or abstract classes are suited? 04
(c) Write a code template to establish relationship within classes for 07
Banking Systems. Assume classes, attributes and methods to justify.
OR
Q.3 (a) What are access modifiers? Briefly explain its types. 03
(b) Describe the significance of dynamic method dispatch? 04
(c) Write a java code for defining shapes as classes and calculating areas 07
and perimeters for them.

Q.4 (a) Write the uses of final and finalize? 03


(b) What are threads? Explain the life cycle of thread. 04
(c) Describe different types and framework for exception handling in code. 07
OR
Q.4 (a) What is a package? 03
(b) Briefly explain the steps for creating custom exceptions. 04
(c) Explain the concept of threads and multithreading. 07

Q.5 (a) What is UML. 03


(b) Differentiate association, aggregation and dependency? 04
(c) Draw a class diagram for online hospital management. 07
OR
(a) What is the significance of deployment diagram? 03
(b) Explain sequence diagram and conventions for drawing it. 04
(c) Draw a use case diagram with description for online shopping portal. 07

*************
1

You might also like