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.Sc IT (BCA) 2019 May 5th Semester 74376 PROGRAMMING IN JAVA Question Paper

Download PTU (Punjab Technical University) BSc IT (BCA) 5th Semester 74376 PROGRAMMING IN JAVA Last 10 Years 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011 and 2010 Previous Question Papers.

This post was last modified on 07 December 2019

This download link is referred from the post: PTU B.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University


Total No. of Pages : 02

Roll No.

Total No. of Questions : 07

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

B.Sc.(IT) (2015 & Onward) (Sem.-5)

PROGRAMMING IN JAVA

Subject Code : BSIT-502

M.Code: 74376

Time: 3 Hrs.

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

Max. Marks : 60

INSTRUCTIONS TO CANDIDATES :

  1. SECTION-A is COMPULSORY consisting of TEN questions carrying TWO marks each.
  2. SECTION-B contains SIX questions carrying TEN marks each and students have to attempt any FOUR questions.

SECTION-A

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

  1. Answer briefly :
    1. Define Java Virtual Machine.
    2. What are command line arguments?
    3. Differentiate between while and do-while.
    4. Write any two uses of constructor.
    5. --- Content provided by FirstRanker.com ---

    6. What is wrapper class?
    7. Define interface.
    8. Discuss briefly about Naming Convention while creating a Package.
    9. Differentiate between Error and Exception.
    10. What are Applets?
    11. --- Content provided by FirstRanker.com ---

    12. What is ActionListener?

FirstRanker.com

SECTION-B

  1. a. What are Java Tokens? Discuss the basic structure of a Java program.
    b. Write a Java program to check whether a number is Prime or not. Also explain its output.
  2. --- Content provided by FirstRanker.com ---

  3. a. What is meant by method overloading? Explain with the help of suitable example.
    b. Differentiate between Array and String. Also write a program for simple inheritance.
  4. Explain the following by writing an appropriate java code :
    a. Creating a Package.
    b. Adding a Class to a Package.
  5. --- Content provided by FirstRanker.com ---

  6. a. State and explain the life cycle of an Applet.
    b. What is meant by Graphics programming? Explain.
  7. a. Demonstrate the use of try, catch and finally block.
    b. Explain the application of AWT Package.
  8. a. Discuss various mouse events along with their respective listeners.

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

    b. Demonstrate the use of FileInputStream and FileOutputStream by writing a java code snippet.

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.Sc IT (BCA) Last 10 Years 2010-2020 Previous Question Papers || Punjab Technical University