USN 1 D B I S
Wayanamac Education Trust®
DON BOSCO INSTITUTE OF TECHNOLOGY
Kumbalagodu, Mysuru Road, Bengaluru – 560074
www.dbit.co.in Ph:+91-80-28437028/29/30 Fax:+91-80-28437031
Department of Information Science &Engineering
Internal Assessment Test-I
Course Name: Object Oriented Programming with Java Course Code: BCS306A
Date: 01/10/2024 Time: 10.00 AM to 11.30 AM
Semester: III A, B, C Max Marks: 40
----------------------------------------------------------------------------------------------------------------------------- ------------------------------
Note: Answer any TWO full questions, choosing only ONE full question from each part.
Each full question carries maximum of 20 Marks.
Q
PART - A MARKS CO RBTL
NO
1. a) Distinguish between Procedure oriented and Object-oriented paradigm 6 CO1 2
b) Describe the three Object Oriented Principles. 8 CO1 2
c) Explain decision making and branching statements in Java 6 CO1 2
OR
2. a) Describe briefly different data types used in Java 6 CO1 2
b) Distinguish between while loop and do while loop in Java 8 CO1 2
b) Explain the following with respect OOPs
6 CO1 2
i) Data Encapsulation and Data Abstraction ii) Object and Class
Q
PART - B MARKS CO RBTL
NO
3. a) Develop a Java Program to add Two matrices of suitable order N. 6 CO1 3
b) Define an Array. Write the array declaration syntax for
multidimensional arrays. Develop a simple java program to create an 8 CO1 3
array of objects
c) Explain the scope and life time of variables with an example 6 CO1 2
OR
4. a) Describe different control statements in Java with example 6 CO1 2
b) Define type casting and explain two types of conversion with an 8 CO1 3
example
c) Develop a program to find biggest of three number using ternary 6 CO1 2
operator
Course Outcomes CO’s
Demonstrate proficiency in writing simple programs involving branching and
CO1
looping structures
Name & Sign of Course Instructor Scrutinized by (Name &Signature) HoD