Gujarat Technological UniversitySummer 2026 Examination

GTU 3140705 Object Oriented Programming -I (Java) Summer 2026 Paper Solution & PDF

B.E. · Computer Engineering · Semester 4 · Subject Code: 3140705
Download Official GTU PDF
Share:
Total Marks70 MarksExternal theory exam
Passing Marks23 Marks33% minimum cutoff
Exam Duration2.5 Hours10:30 AM – 1:00 PM
Paper Structure5 QuestionsWith internal OR choices
Jump toQ1Q2Q3Q4Q5

Question 1

14 MarksMedium
(a)
Define Object, Class and Instance
3 Marks
(b)
List any four features of Object oriented programming language.
4 Marks
(c)
Write a java program to sum first n natural numbers.
7 Marks

Question 2

14 MarksMedium
(a)
List and explain any three category of operator in java.
3 Marks
(b)
Explain the syntax of loops in java.
4 Marks
(c)
With the help of example explain use of break and continue in java.
7 Marks
OR OPTION
(c)

Write a code segment to get input from keyboard in java. Import all necessary packages.

7 Marks

Question 3

14 MarksMedium
(a)
Explain abstract method using example.
3 Marks
(b)
Write java syntax to create array with five integers. (use array initialization)
4 Marks
(c)
Write a java program for adding two 2x2 matrix
7 Marks
OR OPTION
(a)
Explain abstract class with the help of example.
3 Marks
(b)
Write a java syntax two create a two dimensional array with 3 row and 3 columns.

Also initialize the array.

4 Marks
(c)
Write a java program to sort an array of five integer in descending order.
7 Marks

Question 4

14 MarksMedium
(a)
Compare run time and compile time exception
3 Marks
(b)
List various UI Controls in javaFX
4 Marks
(c)
List various classes of java.io package used for Text IO
7 Marks
OR OPTION
(a)
With the help of example explain handling events in javaFX.
3 Marks
(b)
Define exception. Explain throw and throws.
4 Marks
(c)
List various classes of java.io package used for Binary IO.
7 Marks

Question 5

14 MarksMedium
(a)
Compare Set and List in java.
3 Marks
(b)
With the help of example explain the priority queue in java.
4 Marks
(c)
Draw and explain life cycle of Thread.
7 Marks
OR OPTION
(a)
Compare Vector and Stack.
3 Marks
(b)
List various static methods of List
4 Marks
(c)
Show the two methods which are used to create a thread in Java.
7 Marks
College Exam Groups

Studying for Object Oriented Programming -I?

Circulate this solved paper with KaTeX formulas and 1-click AI step solvers to your batchmates on WhatsApp or Telegram.

About this Examination Paper & Attribution

Official Gujarat Technological University (GTU) examination paper and step-by-step solutions for Object Oriented Programming -I (Java) (Summer 2026, B.E. · Computer Engineering, Sem 4). Features complete 70-mark regular & remedial examination pattern, official marking distribution across all 5 questions, and direct 1-click official PDF download.

Transcribed for student exam preparation from Gujarat Technological University official examination archives. Questions, syllabus guidelines, and curriculum marking schemes remain the intellectual property of Gujarat Technological University.

Download PDF