Object Oriented Programming in Java 2019

Question Paper Details
Tribhuwan University
Faculty of Humanities and Social Sciences
OFFICE OF THE DEAN
2019
Bachelor of Computer Applications
Course Title: Object Oriented Programming in Java
Code No: CACS204
Semester: Third Semester
Full Marks: 60
Pass Marks: 24
Time: 3 hours
Candidates are required to answers the questions in their own words as far as possible.

Group B

Official Answer
AI Generated Answer

AI is thinking...

Attempt any SIX questions. [6x5 = 30]

Official Answer
AI Generated Answer

AI is thinking...

2. Define OOP. Explain features of Object Oriented Programming Language. [1 + 4]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

3. Explain different types of control statements used in java. [5]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

4. Define Abstract Class. Explain different types of Access controls available in java.[1 + 4]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

5. Define method overriding? Write any program to implement concept of multiple inheritance in Java. [1 + 4]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

6. Why it is important to handle exception in java? Write a program to illustrate the use of exception handling. [1 + 4]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

7. Define the use of static keyword. Write any four String methods used in java with example. [1 + 4]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

8. Define super, final and this keyword in java. Explain the concept of MVC in brief. [1 + 1 + 1 + 2]

5 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

Group C

Official Answer
AI Generated Answer

AI is thinking...

Attempt any TWO questions. [2x10 = 20]

Official Answer
AI Generated Answer

AI is thinking...

9. a) Define multithreading. Write a java program to show the inter-thread communication. [1 + 4]

b) Define Stream. Write a program in java to copy the content from one file to another. [1 + 4]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

10. a) Define Collection Class. Explain different Wrapper classes and associated methods in java. [1+4]

b) Define AWT. Explain different types of Layout Managers in java. [1 + 4]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...

11. a) List and explain any five swing controls with their uses. [5]

b) Define JDBC. Write a program to display all records from a table of database. [1 + 4]

10 marks
Details
Official Answer
AI Generated Answer

AI is thinking...