FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download PTU MCA 2020 March 3rd Sem 74076 Java Programming Question Paper

Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) MCA (Master of Computer Application) 2020 March 3rd Sem 74076 Java Programming Previous Question Paper

This post was last modified on 22 March 2020

1 | M-74076 (S6)-642

Roll No. Total No. of Pages : 02
Total No. of Questions : 09
MCA (2015 & Onwards) (Sem.?3)

--- Content provided by FirstRanker.com ---

JAVA PROGRAMMING
Subject Code : MCA-304
M.Code : 74076
Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :

--- Content provided by FirstRanker.com ---

1. SECTIONS-A, B, C & D contains TWO questions each carrying TEN marks each
and students have to attempt any ONE question from each SECTION.
2. SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY
marks in all.

--- Content provided by FirstRanker.com ---

SECTION-A
1. Discus method overloading and overriding in detail with example. (10)
2. a) What is Object Oriented Programming? What are silent features of it? Explain the
structure of Java program. (7)
b) List the differences between Java and C++. (3)

--- Content provided by FirstRanker.com ---

SECTION-B
3. What is Package? Write a Program in Java to explain the concept and use of Package.
(10)
4. What are the various ways of creating a thread? How synchronization can be added in
Java?s thread? Illustrate with example. (10)

--- Content provided by FirstRanker.com ---

SECTION-C
5. What is an Applet? How do applets differ from application programs? How arguments
can be passed to an applet? (10)
6. a) What is the use of JDBC? Explain with suitable examples. (5)
b) What is a Swing? Explain the concept and role of swings briefly with a program in

--- Content provided by FirstRanker.com ---

Java. (5)
FirstRanker.com - FirstRanker's Choice
1 | M-74076 (S6)-642

Roll No. Total No. of Pages : 02

--- Content provided by FirstRanker.com ---

Total No. of Questions : 09
MCA (2015 & Onwards) (Sem.?3)
JAVA PROGRAMMING
Subject Code : MCA-304
M.Code : 74076

--- Content provided by FirstRanker.com ---

Time : 3 Hrs. Max. Marks : 60
INSTRUCTIONS TO CANDIDATES :
1. SECTIONS-A, B, C & D contains TWO questions each carrying TEN marks each
and students have to attempt any ONE question from each SECTION.
2. SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY

--- Content provided by FirstRanker.com ---

marks in all.

SECTION-A
1. Discus method overloading and overriding in detail with example. (10)
2. a) What is Object Oriented Programming? What are silent features of it? Explain the

--- Content provided by FirstRanker.com ---

structure of Java program. (7)
b) List the differences between Java and C++. (3)
SECTION-B
3. What is Package? Write a Program in Java to explain the concept and use of Package.
(10)

--- Content provided by FirstRanker.com ---

4. What are the various ways of creating a thread? How synchronization can be added in
Java?s thread? Illustrate with example. (10)
SECTION-C
5. What is an Applet? How do applets differ from application programs? How arguments
can be passed to an applet? (10)

--- Content provided by FirstRanker.com ---

6. a) What is the use of JDBC? Explain with suitable examples. (5)
b) What is a Swing? Explain the concept and role of swings briefly with a program in
Java. (5)
2 | M-74076 (S6)-642

--- Content provided by FirstRanker.com ---

SECTION-D
7. What is Servlet? Explain different types of servlets with suitable examples. (10)
8. Write various methods associated with TCP and UDP sockets. Also differentiate between
TCP and UDP sockets. (10)

--- Content provided by FirstRanker.com ---

SECTION-E
9. Write short notes on following with help of example/diagram if needed : (2?10 = 20)
a) How are arrays declared in JAVA?
b) doPOST method
c) JSP

--- Content provided by FirstRanker.com ---

d) Method Overriding
e) Autoboxing and Unboxing
f) Garbage Collection
g) User defined Exceptions
h) HttpServlet

--- Content provided by FirstRanker.com ---

i) Dynamic Binding
j) Java Development Kit



--- Content provided by FirstRanker.com ---

NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any
page of Answer Sheet will lead to UMC against the Student.
FirstRanker.com - FirstRanker's Choice