Retrieving academic index assets...
Makaut
HomePYQsTests
Pricing
Sign Up
Makaut

The premier academic archive for MAKAUT students, providing curated previous year questions, solutions, and official syllabus resources.

Get the Mobile App
GET IT ONGoogle Play
Download on theApp Store
Download from Indus App Store
Platform
  • Home
  • PYQs
  • Question Papers
  • Viva Questions
  • Important Questions
  • Syllabus
  • Academic Tools
  • Pricing
  • Blog
Guidelines
  • Disclaimer
  • Community Guidelines
Company
  • About
  • Contact
  • FAQ
Legal
  • Privacy Policy
  • Terms of Service
  • Refund Policy
  • Cookie Policy
  • Subscription Policy
© 2026 MAKAUT Study Dev Hub. All rights reserved.
Platform version: v1.0.0
Home/PYQs/Sem 5/Object Oriented Programming/2017
PCC-CS503Sem 5 • 2017 Exam
Full Marks: 70 • Time: 3 Hours

MAKAUT Object Oriented Programming 2017 Question Paper

Official theoretical question paper for Object Oriented Programming (PCC-CS503) conducted by Maulana Abul Kalam Azad University of Technology. All questions from Groups A, B, and C are reproduced below with marks weightings.

Download MAKAUT Object Oriented Programming 2017 Question Paper PDFView All PCC-CS503 Papers

AGroup A — Objective / Multiple Choice Questions

10 × 1 = 10 Marks
1(i)[1 Mark]

Which of the following cannot be used for a variable name is Java?

a) Identifier
b) Keyword
c) Identifier & keyword
d) None of these.
1(ii)[1 Mark]

Which one of the following is a valid declaration of an Applet?

a) Public class MyApplet extends java.applet.Applet;
b) Public Applet MyApplet;
c) Public class MyApplet extends applet implements Runnable;
d) Abstract class MyApplet extends java.applet.Applet;
e) Class MyApplet implements Applet;
1(iii)[1 Mark]

What is the range of the char type?

a) 0 to 2^16
b) 0 to 2^15
c) 0 to 2^16 - 1
d) 0 to 2^15 - 1.
1(iv)[1 Mark]

What is the output of this program? ```java class area { public static void main(String args[]) { double r, pi, a; r = 9.8; pi = 3.14; a = pi * r * r; System.out.println(a); } } ```

a) 301.5656
b) 301
c) 301.56
d) 301.56560000.
1(v)[1 Mark]

What is an example of polymorphism?

a) Inner class
b) Anonymous classes
c) Method overloading
d) Method overriding.
1(vi)[1 Mark]

Exception is defined in which package?

a) java.util
b) java.lang
c) java.awt
d) java.io
1(vii)[1 Mark]

The relation between classes can be represented by

a) polymorphism
b) method
c) message
d) inheritance.
1(viii)[1 Mark]

The import statement is always

a) the first non-comment statement in a java program file
b) the default non-comment statement in java program file
c) a non-comment statement and can be defined anywhere in the program
d) none of these.
1(ix)[1 Mark]

Method overloading occurs only when

a) the names and the type signature of two methods are not identical
b) the names and the type signature of two methods are identical
c) the names and the return types of two methods are identical
d) only the names are identical.
1(x)[1 Mark]

Which of the following values can a Boolean variable contain?

a) True & False
b) 0 & 1
c) Any integer value
d) True.

BGroup B — Short Answer Conceptual Questions

3 × 5 = 15 Marks
2[5 Marks]

What is byte code? What does the JVM do? Why is Java called compiled-interpreted language?

3[5 Marks]

Discuss Applet life-cycle indicating the functions.

4[5 Marks]

a) What is command line argument? b) Compare string and stringBuffer class.

5[5 Marks]

What is the base class of Error and Exception? Differentiate between throw and throws.

CGroup C — Long Answer Analytical & Numerical Questions

3 × 15 = 45 Marks
6[15 Marks]

a) What is mutable strings? b) What are the benefits of organizing classes into package? c) How can you create your own package and add classes in that? Explain with an example. d) Explain with the help of an example, how java gets benefited by using interface.

7[15 Marks]

Write short notes on any three of the following: a) Wrapper class b) Meta class c) Abstraction d) Polymorphism.

8[15 Marks]

a) Write a program running a main thread and a child thread simultaneously. b) List various attributes of Applet tag used in HTML. c) Write a Java program that uses the draw polygon () method of Graphics class to draw a triangle with End points (25, 30), (75, 80) and (50, 50).

9[15 Marks]

a) Why does Java have two ways to create child threads (by extending thread or implementing Runnable) and which approach is better? b) Define an exception called "NotEqualException" that is thrown when a float value is not equal to 3.14. Write a program that uses that user defined exception. c) Write a multithreading program to generate the square roots to the first 30 natural numbers using Runnable interface. d) What do you mean by Synchronization? Why do we need it?

10[15 Marks]

a) How is applet different from frame and page? b) How are threads made to communicate with each other? Explain with example. c) Explain any three events with suitable example.

← 2016 Question Paper2023 Question Paper →