B23-CTS-301 Java OOP Foundations
Part A – Introduction | |||
Subject | BCA (CTIS) | ||
Semester | III | ||
Name of the Course | Java OOP Foundations | ||
Course Code | B23-CTS-301 | ||
Course Type: (CC/MCC/MDC/CC- M/DSEC/VOC/DSE/PC/AEC/ VAC) | CC-A3 | ||
Level of the course (As per Annexure-I | 200-299 | ||
Pre-requisite for the course (if any) | Knowledge of any Computer Programming Language | ||
Course Learning Outcomes(CLO): | After completing this course, the learner will be able to:
1. Implement simple Java programs. 2. Implement multiple inheritance using Interfaces 3. Implement Exception Handling and File Handling. 4. Use AWT to design GUI applications.
5* develop the project using Java. |
||
Credits | Theory | Practical | Total |
3 | 1 | 4 | |
Contact Hours | 3 | 2 | 5 |
Max. Marks:100(70(T)+30(P))
Internal Assessment Marks:30(20(T)+10(P)) End Term Exam Marks: 70(50(T)+20(P)) |
Time: 3 Hrs.(T), 3Hrs.(P) | ||
Part B- Contents of the Course | |||
Instructions for Paper-Setter
The examiner will set a total of nine questions. Out of which the first question will be compulsory. The remaining eight questions will be set from four units, selecting two questions from each. The examination will be of three-hour duration. All questions will carry equal marks. The first question will comprise short answer-type questions covering the entire syllabus. The candidate will have to attempt five questions, selecting one from each unit. The first question will be compulsory. The practicum will be evaluated by an external and an internal examiner. The examination will |
be of three-hour duration. | ||
Unit | Topics | Contact Hours |
I | Object Oriented Programming and Java Fundamentals: Structure of Java programs, Classes and Objects, Data types, Type Casting, Looping Constructs. | 11 |
II | Interfaces: Interface basics; Defining, implementing, and extending interfaces; Implementing multiple inheritance using interfaces Packages: Basics of packages, Creating and accessing packages, System packages, Creating user-defined packages | 11 |
III | Exception handling using the main keywords of exception handling: try, catch, throw, throws, and finally; Nested try, multiple catch statements, creating user-defined exceptions.
File Handling Byte Stream, Character Stream, File I/O Basics, File Operations |
11 |
IV | AWT and Event Handling: The AWT class hierarchy, Events, Event sources, Event classes, Event Listeners, Relationship between Event sources and Listeners, Delegation event model, Creating GUI applications using AWT. | 12 |
V* | Practicum:
Students are advised to do laboratory/practical practice not limited to but including the following types of problems: · WAP to find the sum of 10 numbers, entered as command line arguments. · WAP to find the area of rectangle and circle using Interface. · WAP to implement multiple inheritance. · WAP to show the concept of packages. · WAP to handle the Exception using try and multiple catch blocks and a final block. · WAP for Implementing Calculator in an Applet, use appropriate Layout Manager. · Write Applet code to add two integers in the textbox and their sum should appear in the third textbox. · Write AWT program in Java to find the sum, Multiplication, and average of three numbers entered in three Text fields by clicking the corresponding Labeled Button. The result should appear in the fourth text field. · Write Applet code to show all the activities of Mouse using Mouselistener and MouseMotionlistener. · What are various stream classes in Java? Write Java code to read characters from a file and write into another file. · What are AWT Classes? Write a Java Program to generate Even numbers and Odd Numbers in TextField “T1 and T2 respectively” while pressing buttons “Even” and “Odd”. · Write a program to Copy the text from one file to another using byte stream. |
30 |
Suggested Evaluation Methods | |
Internal Assessment:
➢ Theory · Class Participation: 5 · Seminar/presentation/assignment/quiz/class test etc.: 5 · Mid-Term Exam: 10 ➢ Practicum · Class Participation: NA · Seminar/Demonstration/Viva-voce/Lab records etc.: 10 · Mid-Term Exam: NA |
End Term Examination: A three-hour exam for both theory and practicum. |
Part C-Learning Resources | |
Recommended Books/e-resources/LMS:
· Schildt, H. (2018). Java: The Complete Reference. 10th edition. McGraw-Hill Education. · Balaguruswamy E. (2014). Programming with JAVA: A Primer. 5th edition. India: McGraw Hill Education · Horstmann, C. S. (2017). Core Java – Vol. I – Fundamentals (Vol. 10). Pearson Education · Schildt, H., & Skrien, D. (2012). Java Fundamentals – A Comprehensive Introduction. India: McGraw Hill Education. |