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 DBATU B.Tech 2019 March 2nd Semester Object Oriented Programming In Java Question Paper

Download DBATU (Dr. Babasaheb Ambedkar Technological University) B Tech 2019 March (Bachelor of Technology) 2nd Semester Object Oriented Programming In Java Question Paper

This post was last modified on 21 January 2020

This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University


DR. BABASAHEB AMBEDKAR TECHNOLOGICAL UNIVERSITY, LONERE

Mid Semester Examination - March 2019

Course: S.Y.B.Tech(CSE)

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

Subject Name: E-1 Object Oriented Programming in Java

Sem: II

Subject Code: BTCOE404

Date: 14/03/2019

Max Marks: 20

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

Duration: 1 Hr.

Instructions to the Students:

  1. Check that you have received a correct Question paper.
  2. Assume suitable data if necessary and mention it clearly.
  3. Draw NEAT labeled diagrams wherever necessary.
  4. --- Content provided by FirstRanker.com ---

Q.1. Attempt Questions (1*6 = 6 Marks)

  1. What is "out" in statement System.out.println()?
    1. class name
    2. function
    3. object
    4. interface
    5. --- Content provided by FirstRanker.com ---

  2. Range of data type "byte" in Java?
    1. -8 to +7
    2. 0 to 256
    3. -128 to +127
    4. -16 to +15
    5. --- Content provided by FirstRanker.com ---

  3. System class is defined in
    1. java.util package
    2. java.lang package
    3. java.io.package
    4. none of these
    5. --- Content provided by FirstRanker.com ---

  4. int x=0,y=0,z=0; x = (++x+y--) * z++; What will be value of x after execution?
    1. -2
    2. -1
    3. 0
    4. 1
    5. --- Content provided by FirstRanker.com ---

  5. What will be the output if(1+1+1+1=4){ System.out.println("TRUE"); } else { System.out.println("FALSE"); }
    1. FALSE
    2. TRUE
    3. compiler error
    4. none of these
    5. --- Content provided by FirstRanker.com ---

  6. size of int in java
    1. 32bit
    2. 16bit
    3. 64bit
    4. 8bit
    5. --- Content provided by FirstRanker.com ---

Q. 2. Attempt any two of the following (2*3 = 6 Marks)

  1. List all features of object technology. Elaborate any three features with real world object.
  2. Write an application in Java to calculate the table of any number read by the user. Display the result in table format as shown. for eg 5*1=5 5*2=10 5*10=50
  3. Differentiate between Primitive Types and Reference Types.
  4. --- Content provided by FirstRanker.com ---

Q.3. Attempt any one of the following (1*8 = 8 Marks)

  1. Design a class to represent a bank account. Include the following members :
    Data members: Name of depositor, Account number, Type of account, Balance amount.
    Methods: assign() to assign initial values, deposit() to deposit an amount, withdraw() to withdraw an amount after checking balance, display() to display name and balance. Create an object to access these methods.
  2. Define Pseudocode. Take an example of class of 12 students had appeared an exam. The grade (marks) earned in this exam are input. Determine the average grade of this class. Do not use array. Formulate algorithm and write a program in java for same using counter control repetition.
  3. --- Content provided by FirstRanker.com ---

***END***

Get more study materials at FirstRanker.com



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

This download link is referred from the post: DBATU B-Tech Last 10 Years 2010-2020 Previous Question Papers || Dr. Babasaheb Ambedkar Technological University