Gujarat Technological UniversitySummer 2026 examination

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

B.E. · Computer Engineering · Semester 4 · Subject code 3140705
Download official PDFView PDF here
Share with your class
Total
70 marks
To pass
23 marks (33%)
Duration
2.5 Hours 10:30 AM – 1:00 PM
Questions
5 with internal choice
No solutions on this paper yetNeed them for your exam? Ask once. Papers that students ask for are solved first, and we aim to add them within 24 hours.

9 of 25 questions on this paper were also asked in other years. Each is marked below with the years it appeared.See all 25 repeated 3140705 questions, most asked first

Q.1

14 Marks
(a)
3 marksAsked in 2 of 7 papers
Define Object, Class and Instance

Also asked in Summer 2025 Q1c

(b)
4 marks
List any four features of Object oriented programming language.
(c)
7 marks
Write a java program to sum first n natural numbers.

Q.2

14 Marks
(a)
3 marks
List and explain any three category of operator in java.
(b)
4 marksAsked in 2 of 7 papers
Explain the syntax of loops in java.

Also asked in Winter 2024 Q1b

(c)
7 marks
With the help of example explain use of break and continue in java.
(c)
7 marks

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

Q.3

14 Marks
(a)
3 marks
Explain abstract method using example.
(b)
4 marks
Write java syntax to create array with five integers. (use array initialization)
(c)
7 marks
Write a java program for adding two 2x2 matrix
(a)
3 marksAsked in 2 of 7 papers
Explain abstract class with the help of example.

Also asked in Winter 2024 Q2c OR

(b)
4 marks
Write a java syntax two create a two dimensional array with 3 row and 3 columns.

Also initialize the array.

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

Q.4

14 Marks
(a)
3 marks
Compare run time and compile time exception
(b)
4 marksAsked in 2 of 7 papers
List various UI Controls in javaFX

Also asked in Summer 2023 Q5b

(c)
7 marks
List various classes of java.io package used for Text IO
(a)
3 marksAsked in 2 of 7 papers
With the help of example explain handling events in javaFX.

Also asked in Summer 2023 Q5c

(b)
4 marksAsked in 5 of 7 papers
Define exception. Explain throw and throws.

Also asked in Summer 2025 Q4a OR, Winter 2024 Q4a OR, Summer 2024 Q4a, Summer 2023 Q3b

(c)
7 marksAsked in 3 of 7 papers
List various classes of java.io package used for Binary IO.

Also asked in Winter 2023 Q5a, Summer 2023 Q4c OR

Q.5

14 Marks
(a)
3 marks
Compare Set and List in java.
(b)
4 marks
With the help of example explain the priority queue in java.
(c)
7 marksAsked in 5 of 7 papers
Draw and explain life cycle of Thread.

Also asked in Winter 2025 Q4b, Summer 2025 Q5b, Summer 2024 Q5a OR, Summer 2023 Q3a OR

(a)
3 marks
Compare Vector and Stack.
(b)
4 marks
List various static methods of List
(c)
7 marksAsked in 3 of 7 papers
Show the two methods which are used to create a thread in Java.

Also asked in Winter 2023 Q3c, Summer 2023 Q3b OR

More Object Oriented Programming -I papers

Questions repeat across sessions. Working through two or three papers shows you which topics GTU asks most.

Preparing with friends?

Send this paper to your class group. Every question has its own link.

About this paper

Official Gujarat Technological University (GTU) examination paper 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.

ViewDownload PDF