This download link is referred from the post: PTU MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
Firstranker's choice
FirstRanker.com
Roll No. | Total No. of Questions : 18 |
Total No. of Pages : 02 |
MCA (2015 to 2018) (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 :
- SECTIONS-A, B, C & D contains TWO questions each carrying TEN marks each and students have to attempt any ONE question from each SECTION.
- SECTION-E is COMPULSORY consisting of TEN questions carrying TWENTY marks in all.
--- Content provided by FirstRanker.com ---
SECTION-A
- What is the meaning of access control of variables and functions in java? Explain the different access control mechanisms in java with the help of a suitable program.
- Why is the need of JVM in the execution of any java program? Discuss the structure of any Java program.
SECTION-B
--- Content provided by FirstRanker.com ---
- What are packages? How are packages created and accessed in java and also briefly discuss the naming conventions used in packages?
- What are different types of exceptions in java? Explain the exception handling mechanism in particular to handling multiple exceptions with the help of a suitable program.
SECTION-C
- Define applet. How is an applet different from an application? Write a java program to create an applet which will have a line, an Oval & a Rectangle using different graphics class functions.
- What is JDBC? Write a pseudo code program in java for connecting a front end application with the backend database.
--- Content provided by FirstRanker.com ---
SECTION-D
- What are java sockets? Discuss the different methods of creating connection and connectionless sockets in java with the help of a suitable program.
- What are servlets? Discuss the Servlet life cycle along with compilation and deployment of a servlet with the help of a simple program.
SECTION-E
--- Content provided by FirstRanker.com ---
- What are the advantages of Java programming over C++?
- What is byte code?
- Give one example of type casting in java.
- Define Runnable Interface.
- What are the characteristics of static members in java?
- Define Generic Servlet.
- Why do we use JSP?
- Which function is used for rotation transformation in JAVA?
- Define Event Handling.
- Which tag in HTML is used to pass the parameters in an applet?
--- Content provided by FirstRanker.com ---
--- 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.
--- Content provided by FirstRanker.com ---
This download link is referred from the post: PTU MCA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University