MCASemester 22021-22Object Oriented ProgrammingKCA-202

Object Oriented Programming (KCA-202) - AKTU Question Paper 2021-22

MCA · Semester 2 · Free PDF Download

This is the official AKTU Object Oriented Programming Previous Year Question Paper for MCA Semester 2, academic session 2021-22. Published by Dr. A.P.J. Abdul Kalam Technical University (AKTU/UPTU), Lucknow. Free PDF download — no login required.

Course:MCA
Semester:Semester 2
Session:2021-22
University:AKTU / UPTU

Rate this paper

Questions Asked in 2021-22

Object Oriented Programming (KCA-202) — complete question paper

Section AAttempt all q u e s t i o n s i n b r i e f . 2x10 = 20
  • a
    Explain difference between JDK and JRE in Java. 1
  • b
    Object is an instance of class, justify your answer. 1
  • c
    What is the role of cla ss path in Java Package? 2
  • d
    Write 3 use of Encapsulation in Object Oriented Programming. 2
  • e
    Explain difference between throws and throw keyword in Java. 3
  • f
    Draw hierarchical diagram of Java.io package. 3
  • g
    Explain types of ways t o create thread in Java. 4
  • h
    Explain generic progra mming concepts in Java. 4 (i) Draw hierarchical diagram of Java Swing Classes. 5 (j) What is the difference betw een JPanel and JFrame in Java Swing? 5
Section BAttempt any three o f t h e f o l l o w i n g : 10x3 = 30
  • a
    What are uses of this keywor d? Explain with proper example. 1
  • b
    Explain the role of construc tor and also explain how sub cl ass constructor implicitly call super class constructor in Java
  • c
    Write Java program to copy one image to another. 3
  • d
    Write generic Java program that display sum if pass numeric data and merge text if pass string data
  • e
    Explain difference between A WT and Swing with proper example. 5
Section CAttempt any one p a r t o f t h e f o l l o w i n g : 10x1 = 10
  • a
    Explain the compilation and execution process of Java progr am with proper diagram
  • b
    Explain 10 features of Java Programming Language. 1
  • a
    What do you understand by Polymorphism? Explain type of polymorphism with proper example
  • b
    What do you mean by abstract class? How abstract class is d ifferent from Interface
  • a
    Write Java program that accepts a temperature in Celsius. I t should throw an Exception “Temperature Below Normal” when the temperature is less than 20C, throw an Exception “Normal Temperature” when the temperature above 20C and below 40C and throw an Exception “Temperature is High” when the it is greater than
  • b
    Explain the use of Buffere d Reader and Buffered Writer classes with suitable example
  • a
    Describe how inter- thread communication is takes place in java with thread life cycle diagram?
  • b
    Discuss generic bounded cla ss with the help of an suitable example. 4
  • a
    Write Java Swing program that change background color whene ver user click on button and displays the message “Welcome to Java Swing”
  • b
    Determine event? How is event handling done in Java'? Expla in with an example

Question text is extracted from the official AKTU question paper PDF above. Hindi translations are omitted — every question is printed in English in the original paper. Last verified: 2026-08-23.

Repeated Questions — KCA-202

Questions that appeared in more than one session, found by comparing 4 years of Object Oriented Programming papers (2021-22, 2022-23, 2023-24, 2024-25)

2x

Explain difference between JDK and JRE in Java. 1

Appeared in: 2021-22 · 2023-24

2x

Object is an instance of class, justify your answer. 1

Appeared in: 2021-22 · 2023-24

2x

What is the role of cla ss path in Java Package? 2

Appeared in: 2021-22 · 2023-24

2x

Write 3 use of Encapsulation in Object Oriented Programming. 2

Appeared in: 2021-22 · 2023-24

2x

Explain difference between throws and throw keyword in Java. 3

Appeared in: 2021-22 · 2023-24

2x

Draw hierarchical diagram of Java.io package. 3

Appeared in: 2021-22 · 2023-24

2x

Explain types of ways t o create thread in Java. 4

Appeared in: 2021-22 · 2023-24

2x

Explain generic progra mming concepts in Java. 4 (i) Draw hierarchical diagram of Java Swing Classes. 5 (j) What is the difference betw een JPanel and JFrame in Java Swing? 5

Appeared in: 2021-22 · 2023-24

2x

What are uses of this keywor d? Explain with proper example. 1

Appeared in: 2021-22 · 2023-24

2x

Explain the role of construc tor and also explain how sub cl ass constructor implicitly call super class constructor in Java

Appeared in: 2021-22 · 2023-24

2x

Write generic Java program that display sum if pass numeric data and merge text if pass string data

Appeared in: 2021-22 · 2023-24

2x

Explain difference between A WT and Swing with proper example. 5

Appeared in: 2021-22 · 2023-24

2x

What do you understand by Polymorphism? Explain type of polymorphism with proper example

Appeared in: 2021-22 · 2023-24

2x

Explain the use of Buffere d Reader and Buffered Writer classes with suitable example

Appeared in: 2021-22 · 2023-24

2x

Discuss generic bounded cla ss with the help of an suitable example. 4

Appeared in: 2021-22 · 2023-24

2x

Write Java Swing program that change background color whene ver user click on button and displays the message “Welcome to Java Swing”

Appeared in: 2021-22 · 2023-24