ASSIGNMENT–I
CSE/AIML
AcademicYear 2025-26 Dept.
Program BE Date of issue /10/25
Year/Semester/Sec rd
2rd year/3 sem Date of submission /10/25
CourseCode BCS306A [Link] 10
CourseName OOPs with Java
Note 1. Answer all the questions
2. Each question carries 10marks.
Q. RBT**
Questions Marks COs*
No. level
1 Explain Three OOPs principles 10 CO1 L1
What are keywords and Identifiers? List the rules to write an identifiers L1
2 10 CO1
3 Draw the flow diagram for various data type supported in Java? 1) Explain integer data 10 CO1 L1
type with their types. 2) Explain character data type in java.
4 What is type conversion and casting? List all the rules for type promotion 10 CO1 L3
5 Explain an array declaration and initialization in Java with suitable example L2
10 CO1
List and explain all operators with suitable syntax L2
6 10 CO1
Define variable and dynamic initialization variable with syntax and example in Java L2
7 10 CO1
8 What is control statement? Explain Java selection statements with examples? 10 CO1 L2
9 Explain iteration statements with code snippet. 10 CO1 L1
10 What is Type Inference? How type inference work with local variables and for loop. 10 CO1 L3
11 With syntax and explain jump statements in java with an example and expected output. 10 CO1 L3
12 Explain the following with suitable Java tokens(Lexical issues) 10 CO1 L1
[Link]
[Link]
3. Separators
13 Write a java program to count down from 10, printing exactly ten lines of “tick” using 10 CO1 L3
while loop.
14 Define class and object. How to create object of that class with an example. 10 CO1 L2
15 What are constructor? Explain two types of constructor with an example. 10 CO2 L2
16 Explain the use of this method in Java with an example. 10 CO2 L2
17 Write a program to declare class called Employee,which models an employee with 10 CO2 L2
ID,name,salary and create a method raiseSalary(percent)increases the salary by the given
percentage. Develop the Employee class and suitable main method for demonstration.
18 10 CO2 L2
19 10 CO2 L2
*CourseOutcomes(COs):
CONO. Cos
CO1 Demonstrate proficiency in writing simple programs involving branching and looping structures.
CO2 Design a class involving data members and methods for the given scenario.
CO3 Apply the concepts of inheritance and interfaces in solving real world problems.
**RevisedBloom’sTaxonomy(RBT)Levels:
RBT Remember Understand Apply Analyze Evaluate Create
RBT Levels L1 L2 L3 L4 L5 L6
Prepared by
(NameofFaculty/Designation/Dept.&Sign)
Prof. Saroja Maralanavar/[Link]/AIML