This download link is referred from the post: PTU B.Tech Question Papers 2020 December (All Branches)
Roll No. || [T T T TTTT] Total No. of Pages : 02
Total No. of Questions : 18
--- Content provided by FirstRanker.com ---
B.Tech. (IT) (2012 to 2017) (Sem.-5)
PROGRAMMING IN JAVA
Subject Code : BTIT-502
M.Code : 70595
Time : 3 Hrs. Max. Marks : 60
--- Content provided by FirstRanker.com ---
INSTRUCTION TO CANDIDATES :
- SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
- SECTION-B contains FIVE questions carrying FIVE marks each and students have to attempt any FOUR questions.
- SECTION-C contains THREE questions carrying TEN marks each and students have to attempt any TWO questions.
SECTION-A
--- Content provided by FirstRanker.com ---
Answer briefly :
- Why Java is called platform independent language?
- What is abstract class?
- What is a reference variable in java?
- What is the purpose of garbage collector in java?
- What is the need of super keyword?
- What is run time exception? Give example.
- What is the difference between process and a thread in java?
- What is JDBC?
- Define server socket.
- What are command line arguments in java?
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
- Write a program in java to print first five elements of a Fibonacci series using for loop.
- What is multithreading? How java implements its thread model?
- Write a program in java to copy the string from one file into another file.
- Explain briefly about the access modifiers in java and their usage.
- Write a program to demonstrate the different types of inheritance in java.
--- Content provided by FirstRanker.com ---
SECTION-C
- What is exception handling? Discuss different types of exceptions and Write a java program to illustrate the use of try and multi-catch statement.
- What are different types of operators used in java? Write a program in java to demonstrate the concept operator precedence.
- a) Write a short note on :
- Applet
- Importing of package
- βthisβ keyword
- Method overloading
- Finalize method
- Type casting
--- 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 B.Tech Question Papers 2020 December (All Branches)
--- Content provided by FirstRanker.com ---