Download PTU (I.K. Gujral Punjab Technical University Jalandhar (IKGPTU) ) BE/BTech CSE/IT (Computer Science And Engineering/ Information Technology) 2020 March 5th Sem BTIT 502 Programming In Java Previous Question Paper
Roll No. Total No. of Pages : 02
Total No. of Questions : 09
B.Tech. (IT) (2012 to 2017) (Sem.?5)
PROGRAMMING IN JAVA
Subject Code : BTIT-502
M.Code : 70595
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.
SECTION-A
1. Answer briefly :
a. Define abstraction.
b. What makes Java as platform independent?
c. What is use of Super keyword?
d. What is garbage collection?
e. Define applet.
f. Difference between throw and throws.
g. Define socket.
h. How threads can be assigned priorities?
i. List out the properties of static variables and methods.
j. Define an interface.
FirstRanker.com - FirstRanker's Choice
1 | M-70595 (S2)-1044
Roll No. Total No. of Pages : 02
Total No. of Questions : 09
B.Tech. (IT) (2012 to 2017) (Sem.?5)
PROGRAMMING IN JAVA
Subject Code : BTIT-502
M.Code : 70595
Time : 3 Hrs. Max. Marks : 60
INSTRUCTION TO CANDIDATES :
1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks
each.
2. SECTION-B contains FIVE questions carrying FIVE marks each and students
have to attempt any FOUR questions.
3. SECTION-C contains THREE questions carrying TEN marks each and students
have to attempt any TWO questions.
SECTION-A
1. Answer briefly :
a. Define abstraction.
b. What makes Java as platform independent?
c. What is use of Super keyword?
d. What is garbage collection?
e. Define applet.
f. Difference between throw and throws.
g. Define socket.
h. How threads can be assigned priorities?
i. List out the properties of static variables and methods.
j. Define an interface.
2 | M-70595 (S2)-1044
SECTION-B
2. Explain briefly about access modifiers and their usage.
3. Explain the concept of importing packages in java with example.
4. Explain different types of operators used in Java Programming.
5. Explain thread life cycle.
6. Discuss the differences between overloading and overriding.
SECTION-C
7. What is exception handling? Write a java program to illustrate the use of multi-catch
statement.
8. What are different string handling functions used in java? Write a program to concatenate
two strings in java without using a inbuilt function.
9. Write a Short note on :
a. Bitwise operator
b. Type casting
c. Final keyword
d. Multithreading
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
This post was last modified on 21 March 2020