0% found this document useful (0 votes)
17 views2 pages

Ia1-Oops With Java - Scheme

The document outlines the IA1 test scheme for the Object Oriented Programming with JAVA course at HKBK College of Engineering. It includes various questions related to OOP concepts, control statements, class and object definitions, constructors, and practical programming tasks. Each question specifies marks allotted and requires explanations, examples, and code demonstrations.

Uploaded by

tahirnaquash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views2 pages

Ia1-Oops With Java - Scheme

The document outlines the IA1 test scheme for the Object Oriented Programming with JAVA course at HKBK College of Engineering. It includes various questions related to OOP concepts, control statements, class and object definitions, constructors, and practical programming tasks. Each question specifies marks allotted and requires explanations, examples, and code demonstrations.

Uploaded by

tahirnaquash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

HKBK COLLEGE OF ENGINEERING,

BANGALORE - 560045
DEPT. OF COMPUTER SCIENCE AND ENGINEERING
IA1-TEST - SCHEME

Subject Name: Object Oriented Programming with JAVA Subject Code: BCS306A
IA Test # :1 Test Date: 01-10-2024
Q# Solution Marks
Allotted

1a Define Abstraction.Explain the 3 principles of oops concept


Defination for Abstraction 1M
Oops 3 Principles explanation 9M

1b
Explain Block of code considering suitable example? 2M
Block of code statement 2M
syntax with example

1c
Identify the different types of lexical issue in java program? 1x6=6M
6 types of lexical issue with explanation

2a Explain any 4 control statements used in JAVA


2MX4=8
Each control statement definition and syntax

2b Construct a java program for basic arithmetic operations with output for the program
Arithmetic operators any 3 3M
3M
Operators with example

2c Demonstrate the working of break and continue statement in JAVA.


Break statement with example 3M
Continue statement with example 3M

3a Explain class and object? With example 2M


Class definition and example 2M
Object definition and example

3b Develop a class called Student ,members USN,name and marks. Design


a method to Display() the student data.
Create class code 2M
Indexing code 2M
Display method code 2M
2M
output
3c What are constructors.explain the types of constructors with examples
Constructor Definition 2M
3X2=6M
2 Types of constructors

4a Construct a program to Stack operation using proper class and methods


Creating class 2M
Stack operation(push,pop,display) 6M
output 2M

4b Design a class called Employee, which models an employee with an ID, name and salary. The
method raiseSalary (percent) increases the salary by the given
percentage. Develop the Employee class and suitable main method for demonstration
Create a class 2M
2M
Methods
2M
output

4c What is this keyword? Explain garbage collection


2M
This key word definition 2M
This key word example

Faculty Name & Sign Course Coordinator DQAC HOD

You might also like