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 2021 Jan ECE 5th Sem 78761 Java Programming Question Paper

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

This post was last modified on 26 June 2021

This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University


FirstRanker.com
Firstranker's choice

Roll No. LT TP Total No. of Pages : 02

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

Total No. of Questions : 18
B.Tech. (ECE) (Sem.-5)
JAVA PROGRAMMING
Subject Code : UC-BTEC-901F-18
M.Code : 78761

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

Time : 3 Hrs. Max. Marks : 60

INSTRUCTIONS 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.
  4. --- Content provided by FirstRanker.com ---

SECTION-A

Write briefly :

  1. What do you understand from ‘public static void main (String [] args)’?
  2. Differentiate between JVM, JRE and JDK.
  3. What are access modifiers? List various types of access modifiers in Java.
  4. --- Content provided by FirstRanker.com ---

  5. What are wrapper classes in Java?
  6. Why is Java considered portable language?
  7. What is the difference between ‘StringBuffer’ and ‘StringBuilder’?
  8. How to determine factorial of an integer using Java?
  9. What is Object Oriented Programming approach?
  10. --- Content provided by FirstRanker.com ---

  11. What is lambda expression in Java? Give an example.
  12. What are encapsulation and polymorphism in Java?

SECTION-B

  1. What are the advantages and disadvantages of Java over C++?
  2. Write a Java program to check if the given number is prime number or not?
  3. --- Content provided by FirstRanker.com ---

  4. What is inheritance in Java? Write a program to showcase inheritance.
  5. What are different ways of creating objects in Java? Give examples.
  6. Write a Java program to swap two numbers without using a third variable?

SECTION-C

  1. a) What are data types in Java and their required memory sizes to store values?

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

    b) List various operators in Java and give their precedence order.
  2. a) What is function overloading in Java?
    b) Why does Java not support (i) multiple inheritances and (ii) pointers?
  3. a) What is applet in Java? Discuss it life cycle.
    b) What are different steps involved in database connectivity?
  4. --- 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.

FirstRanker.com



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

This download link is referred from the post: PTU B.Tech 5th Semester Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University