Object Oriented Programming using Java Lab Syllabus (BCA 104P)
Object Oriented Programming using Java Lab BCA 104P
All syllabus, notes, question bank & PYQ for this subject
- English
- Semester 2
- 0 downloads
- 0 views
Syllabus — Object Oriented Programming using Java Lab
Download PDFBCA 104P · 2 credits · L-T-P 0-0-4
GGSIPU | Paper code BCA 104P | L-T-P 0-0-4 | Credits 2
Course Name: Object Oriented Programming using Java Lab 0 4 2 LEARNING OBJECTIVES: In this course, the learners will be able to develop expertise related to the following:
- Learn how to implement Object Oriented concepts through Java.
- Identify and apply the Java thread model to program Java applications.
- Develop GUI applications using Java swings PRE-REQUISITES:
- Programming fundamental
- Object-Oriented concepts COURSE OUTCOMES (COs): After completion of this course, the learners will be able to: CO # Detailed Statement of the CO
- CO1: Illustrate the Object-Oriented paradigm and Java language constructs
- CO2: To inculcate concepts of inheritance to create new classes from existing ones and design the Classes needed given a problem specification. To familiarize the concepts of packages and interfaces.
- CO3: To manage input output using console and files
- CO4: To facilitate students in handling exceptions and defining their own exceptions. To apply the Java Thread model to develop multithreading applications. List of Practicals
S. No. Detailed Statement Mapping to CO # Core Practicals (Implement minimum 10 out of 15 practical) 1 Write a program declaring a class Rectangle with data CO1 member’s length and breadth and member functions Input, Output and CalcArea. 2 Write a program to demonstrate use of method overloading CO1 to calculate area of square, rectangle and triangle. 3 Write a program to demonstrate the use of static variable, CO1 static method and static block. 4 Write a program to demonstrate concept of ``this``. CO1 5 Write a program to demonstrate multi-level and hierarchical CO2 inheritance. 6 Write a program to use super() to invoke base class CO2 constructor. 7 Write a program to demonstrate run-time polymorphism. CO1 8 Write a program to demonstrate the concept of aggregation. CO2 9 Write a program to demonstrate the concept of abstract class CO2 with constructor and ``final`` method. 10 Write a program to demonstrate the concept of interface CO1 when two interfaces have unique methods and same data members. 11 Write a program to demonstrate checked exception during CO4 file handling. 12 Write a program to demonstrate unchecked exception CO4 13 Write a program to demonstrate creation of multiple child CO4 threads. 14 Write a program to use Byte stream class to read from a text CO3 file and display the content on the output screen. 15 Write a program to create User defined exception. C04 Application Based Practicals (Implement minimum 5 out of 10 practicals) 1 Create a class employee which have name, age and address CO1 of employee, include methods getdata() and showdata(), getdata() takes the input from the user, showdata() display the data in following format: Name: Age: Address: 2 Write a Java program to perform basic Calculator operations. CO1 Make a menu driven program to select operation to perform (+ - * / ). Take 2 integers and perform operation as chosen by user. 3 Write a program to make use of BufferedStream to read lines CO3 from the keyboard until 'STOP' is typed. 4 Write a program declaring a Java class called CO4 SavingsAccount with members ``accountNumber`` and ``Balance``. Provide member functions as ``depositAmount ()`` and ``withdrawAmount ()``. If user tries to withdraw an amount greater than their balance then throw a user-defined exception. 5 Write a program creating 2 threads using Runnable interface. CO4 Print your name in ``run ()`` method of first class and "Hello Java" in ``run ()`` method of second thread. Note:
- In total 15 practicals to be implemented. 2 additional practical may be given by the course instructor.
- This is a suggestive list of programs. However, the instructor may add programs as per the requirement of the course.
Prepared from the official GGSIPU syllabus. Please check the latest official notification on ipu.ac.in for any change.
Ratings & Reviews
No reviews yet — share your experience with this item.