Download PTU B.Tech 2021 Jan ECE 5th Sem 78710 Programming In Java Question Paper

Download PTU (Punjab Technical University) B.Tech (Bachelor of Technology) / BE (Bachelor of Engineering) 2021 January ECE 5th Sem 78710 Programming In Java Previous Question Paper


Roll No.
Total No. of Pages : 02
Total No. of Questions : 18
B.Tech. (ECE) (Sem.?5)
PROGRAMMING IN JAVA
Subject Code : BTEC-905D-18
M.Code : 78710
Time : 3 Hrs. Max. Marks : 60
INST RUCT IONS T O CANDIDAT ES :
1 .
SECT ION-A is COMPULSORY cons is ting of TEN questions carrying TWO marks
each.
2 .
SECT ION-B c ontains F IVE questions c arrying FIVE marks eac h and s tud ents
have to atte mpt any FOUR q ues tions.
3 .
SECT ION-C contains THREE questions carrying T EN marks e ach and s tudents
have to atte mpt any T WO questio ns.
SECTION-A
Write briefly :
1)
Define Java tokens.
2)
Differentiate Applet with Applications.
3)
Give complete meaning of statement "public static void main (String arg[])".
4)
What is the difference between if and switch statement?
5)
Write the difference between break and continue statements.
6)
Write the importance of interfaces.
7)
What is the need of packages?
8)
What is a listener in context to event handling?
9)
What is RMI?
10) What is JDBC?
1 | M - 7 8 7 1 0
( S 2 ) - 3 5 8


SECTION-B
11) Explain what makes Java a platform-independent language?
12) Write a program to implement the Fibonacci series using for loop control structure.
13) What is inheritance? Why Java does not support multiple inheritance?
14) What are the different types of controls in AWT? Explain.
15) What are Java Beans? What are the advantages of Java Beans? Explain different
properties of a Java Bean.
SECTION-C
16) Explain in detail that makes Java the most popular, preferable language over the years.
17) What is error and exception handling in Java? How would you handle the exception using
Try and Catch?
18) What is an Applet? How applets are different from standalone Java application
programs? Discuss.
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.
2 | M - 7 8 7 1 0
( S 2 ) - 3 5 8

This post was last modified on 26 June 2021