Thanks to visit codestin.com
Credit goes to www.scribd.com

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

Assignment01 Oops

The document outlines two assignments for the Object Oriented Programming in JAVA course at Babu Banarasi Das Northern India Institute of Technology for the academic year 2024-25. Each assignment consists of multiple questions focusing on key Java concepts such as architecture, object-oriented programming, threads, exception handling, and lambda expressions, with a maximum score of 25 marks for each. The assignments are designed to assess students' understanding and application of Java programming principles.

Uploaded by

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

Assignment01 Oops

The document outlines two assignments for the Object Oriented Programming in JAVA course at Babu Banarasi Das Northern India Institute of Technology for the academic year 2024-25. Each assignment consists of multiple questions focusing on key Java concepts such as architecture, object-oriented programming, threads, exception handling, and lambda expressions, with a maximum score of 25 marks for each. The assignments are designed to assess students' understanding and application of Java programming principles.

Uploaded by

talk2aps
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Department of Computer Science & Engineering

BABU BANARASI DAS


NORTHERN INDIA INSTITUTE OF TECHNOLOGY
Affiliated to Dr. A.P.J. Abdul Kalam Technical University (AKTU Code : 056)
AKTU Code : 056 Approved by All India Council for Technical Education (AICTE)
Sector II, Dr Akhilesh Das Nagar, Faizabad Road, Lucknow (UP) – India, 226028
Website : www.bbdniit.ac.in
CSE THIRD YEAR / FIFTH SEMESTER / 2024-25
ASSIGNMENT NO: -01
1. Name of Subject: Object Oriented Programming in JAVA
2. AKTU Subject Code: BCS403
3. NBA Subject Code:
4. Unit Covered: 1st Unit
Max Marks: 25
Q. Question Description CO BTL MM
1. Define the Architecture of Java. 1 1 5
2. Compare object-oriented programming and object-based programming with example. List the features of object- oriented programming. 1 3 5
3. Describe object oriented concepts in detail using appropriate java program. 3 2 5
4. Explain Java package and how is it used? Which package is imported, by default? 3 2 5
5. Explain Inner classes in java. Write a Java program to differentiate java overloading and java overriding. 2 3 5

6 Explain types of inheritance using appropriate diagram and Java program. Why multiple inheritance is not supported in Java? Justify your 1 4 5
answer.
7 Explain Method Overloading and Type Promotion with diagram and Java Program.
1 2 5
8 Can we overload Java main () method? If yes, illustrate with Java Program.
1 3 5
9 Give an Example of User defined method and constructor and differentiate using suitable java program.
1 3 5
10 Differentiate between Abstract Class and Interface in Java using program.
1 2 5

CO: Course Outcome BTL: Bloom's Taxonomy Level MM: Max Marks

Name of Faculty:

BBDNIIT 2024-25(Even Semester) Page1


Department of Computer Science & Engineering
BABU BANARASI DAS
NORTHERN INDIA INSTITUTE OF TECHNOLOGY
Affiliated to Dr. A.P.J. Abdul Kalam Technical University (AKTU Code : 056)
AKTU Code : 056 Approved by All India Council for Technical Education (AICTE)
Sector II, Dr Akhilesh Das Nagar, Faizabad Road, Lucknow (UP) – India, 226028
Website : www.bbdniit.ac.in
CSE THIRD YEAR / FIFTH SEMESTER / 2024-25
ASSIGNMENT NO:-02
1. Name of Subject: Object Oriented Programming in JAVA
2. AKTU Subject Code: BCS403
3. NBA Subject Code:
4. Unit Covered: 2nd Unit
Max Marks: 25
Q. Question Description CO BTL MM
1. Define thread. How to create a thread in java. Demonstrate a program that executes two threads. One thread will print the even numbers and 1 3 5
another thread will print odd numbers from 1 to 5.
2. Illustrate the benefits of multi-threaded programming. 1 2 5
3. What are different states in lifecycle of Thread? 3 1 5
4. Explain about user defined exceptions. Demonstrate in Java to create your own exception. 3 3 5
5. Identify the keywords final, finally and finalize different from each other? 2 2 5
6 Differentiate between the throw and throws keywords in Java using appropriate program.
1 4 5
7 Differentiate between Checked Exception and Unchecked Exceptions in Java using suitable program.
1 4 5
8 What is exception handling in Java? Outline the advantages of exception handling.
1 2 5
9 Implement exception handling,file handling, and multi-threading in Java.
1 4 5
10 Explain Lambda Expression Syntax. Analyse a Java Lambda Expression to Create a Thread. 1 2 5

CO: Course Outcome BTL: Bloom's Taxonomy Level MM: Max Marks

Name of Faculty:

BBDNIIT 2024-25(Even Semester) Page2

You might also like