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 B-Tech CSE-IT 2020 Dec 5th Sem 70595 Programming In Java Question Paper

Download PTU (I.K.Gujral Punjab Technical University (IKGPTU)) B-Tech (Bachelor of Technology) (CSE-IT)- Computer Science Engineering -Information Technology 2020 December 5th Sem 70595 Programming In Java Previous Question Paper

This post was last modified on 13 February 2021

PTU B.Tech Question Papers 2020 December (All Branches)


FirstRanker.com

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 :

  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

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

Answer briefly :

  1. Why Java is called platform independent language?
  2. What is abstract class?
  3. What is a reference variable in java?
  4. What is the purpose of garbage collector in java?
  5. --- Content provided by​ FirstRanker.com ---

  6. What is the need of super keyword?
  7. What is run time exception? Give example.
  8. What is the difference between process and a thread in java?
  9. What is JDBC?
  10. Define server socket.
  11. --- Content provided by FirstRanker.com ---

  12. What are command line arguments in java?

FirstRanker.com

SECTION-B

  1. Write a program in java to print first five elements of a Fibonacci series using for loop.
  2. What is multithreading? How java implements its thread model?
  3. --- Content provided by​ FirstRanker.com ---

  4. Write a program in java to copy the string from one file into another file.
  5. Explain briefly about the access modifiers in java and their usage.
  6. Write a program to demonstrate the different types of inheritance in java.

SECTION-C

  1. What is exception handling? Discuss different types of exceptions and Write a java program to illustrate the use of try and multi-catch statement.
  2. --- Content provided by​ FirstRanker.com ---

  3. What are different types of operators used in java? Write a program in java to demonstrate the concept operator precedence.
  4. a) Write a short note on :
    1. Applet
    2. Importing of package
    3. “this” keyword
    b) Write a short note on :
    1. Method overloading
    2. --- Content provided by‌ FirstRanker.com ---

    3. Finalize method
    4. Type casting

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

--- 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 ---