Pokhara University || Fall 2017 || Object Oriented Programming || BBA/ BCIS

Object Oriented Programming Fall 2017

This is the question set along with answers of Object-Oriented Programming Fall 2017, which was taken by Pokhara University.

POKHARA UNIVERSITY –  Object-Oriented Programming Fall 2017

Level: Bachelor                                               Semester: Fall                                   Year:2017

Program: BBA/BBA-BI/BCIS/BHCM/BBA-TT                                             Full Marks: 100

Course:  Object-Oriented Programming                                                                                        Pass Marks: 45

Time: 3 hrs

Section “A”

Very Short Answer Questions

  1. What is byte code? Explain.
  2. Why java is known as platform independent language? Explain.
  3. Why package is an important concept in java?
  4. What is the use of the final keyword in java?
  5. List primitive data types available in java.
  6. Define Wrapper class with example.
  7. In java “String objects are immutable”. Explain.
  8. What is thread priorities? List different priorities values.
  9. What is the purpose of the Date class?
  10. List the way of handling exception in java.

The answers to the above 10 questions

Section “B”

Descriptive Answer Questions

Attempt any six questions
11. hat is Dynamic Method Dispatch? Explain method overloading and method overriding with example.
12. Write a Java program to accept 10 integer numbers from user. Calculate the odd sum and even sum separately and display it on console.
13. What is inheritance? Explain types of Inheritance with suitable example.

a)Write a program to demonstrate Arithmetic Exception Handling.
b)Write a program showing the uses of is Alive() and join() methods of Thread.
14. Explain different Layout Managers available in java.
16. Explain Byte Streams and Character Streams. What is the purpose of Data Input Stream and Data Output Stream classes? Write a program to write integer, double and Boolean data in a file called “Primitives.dat”. And again read those data from the file and display it in console.
17. What are Collections? Explain the uses of Linked List and Array list with an example.

Section “C”

Case Analysis

Eye Clinic in Kathmandu planning to develop a system that helps to keep record of patient who visits the clinic for eye checkup. They named system as “Patient Management System”. You are hired to develop system which includes patient information form. You are required to design the form according to the figure given below. With the help of information given develop patient information form of patient management system.

Pokhara University || Fal 2017 || Object Oriented Programming || BBA/ BCIS

 

When user clicks on add button then you have to accept all information from the patient form and display all the information in Dialog Box using J Option Pane.

The answer to the above case

You may also like Pokhara University || Spring 2017 || Object Oriented Programming || BBA/ BCIS

Do like our page Facebook

Be the first to comment

Leave a Reply

Your email address will not be published.


*