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

PTU B.Tech CSE 5th Semester May 2019 70595 PROGRAMMING IN JAVA Question Papers

PTU Punjab Technical University B-Tech May 2019 Question Papers 5th Semester Computer Science Engineering (CSE)

This post was last modified on 04 November 2019

This download link is referred from the post: PTU B.Tech Dec 2018 5th Semester Question Papers || Punjab Technical University


FirstRanker.com

Roll No. EEEEEEEEEEE Total No. of Pages : 02

Total No. of Questions : 09

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

B.Tech. (IT) (2011 Onwards) (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 has to attempt any FOUR questions.
  3. SECTION-C contains THREE questions carrying TEN marks each and students has to attempt any TWO questions.

SECTION-A

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

Q1 Answer briefly :

  1. Use of wrapper class.
  2. Java tokens.
  3. String buffer.
  4. Limitations of Java programming language.
  5. --- Content provided by FirstRanker.com ---

  6. Layout manager.
  7. Socket.
  8. Difference between throw and throws.
  9. This pointer.
  10. List the different stages in the life cycles of a thread.
  11. --- Content provided by FirstRanker.com ---

  12. What are applets?

SECTION-B

  1. Explain Java garbage collection mechanism.
  2. How packages are created and accessed in Java. Briefly explain the naming convention in packages?
  3. Explain the steps involved in creating and executing a java program.
  4. --- Content provided by FirstRanker.com ---

  5. Write a Java code that generates custom exception if any value from its command line arguments is negative.
  6. Explain the life cycle of applet.

SECTION-C

  1. Write a program in Java to find nth prime number where n is any integer and should be taken as input from the user.
  2. Explain the difference between method overriding and method overloading with the help of suitable example.
  3. --- Content provided by FirstRanker.com ---

  4. What is multithreading in Java? Explain the inter thread communication with the help of suitable example.

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 Dec 2018 5th Semester Question Papers || Punjab Technical University