21CSL35 Object Oriented Programming with JAVA Laboratory syllabus for IS



A d v e r t i s e m e n t

Module-1 Lab 0 hours

Note: two hours tutorial is suggested for each laboratory sessions.

Prerequisite

  • Students should be familiarized about java installation and setting the java environment.
  • Usage of IDEs like Eclipse/Netbeans should be introduced.

Sl. No. PART A – List of problems for which student should develop program and execute in the Laboratory

1 Aim: Introduce the java fundamentals, data types, operators in java

Program: Write a java program that prints all real solutions to the quadratic equation ax2+bx+c=0. Read in a, b, c and use the quadratic formula.

2 Aim: Demonstrating creation of java classes, objects, constructors, declaration and initialization of variables.

Program: Create a Java class called Student with the following details as variables within it.

USN

Name

Branch

Phone

Write a Java program to create n Student objects and print the USN, Name, Branch, and Phone of these objects with suitable headings.

3 Aim: Discuss the various Decision-making statements, loop constructs in java

Program:

A. Write a program to check prime number

B.Write a program for Arithmetic calculator using switch case menu

4 Aim: Demonstrate the core object-oriented concept of Inheritance, polymorphism

Design a super class called Staff with details as StaffId, Name, Phone, Salary. Extend this class by writing three subclasses namely Teaching (domain, publications), Technical (skills), and Contract (period). Write a Java program to read and display at least 3 staff objects of all three categories.

5 Aim: Introduce concepts of method overloading, constructor overloading, overriding.

Program: Write a java program demonstrating Method overloading and Constructor overloading.

6 Aim: Introduce the concept of Abstraction, packages.

Program: Develop a java application to implement currency converter (Dollar to INR, EURO to INR, Yen to INR and vice versa), distance converter (meter to KM, miles to KM and vice versa), time converter (hours to minutes, seconds and vice versa) using packages.

7 Aim: Introduction to abstract classes, abstract methods, and Interface in java

Program: Write a program to generate the resume. Create 2 Java classes Teacher (data: personal information, qualification, experience, achievements) and Student (data: personal information, result, discipline) which implements the java interface Resume with the method biodata().

8 Aim: Demonstrate creation of threads using Thread class and Runnable interface, multithreaded programming.

Program: Write a Java program that implements a multi-thread application that has three threads. First thread generates a random integer for every 1 second; second thread computes the square of the number and prints; third thread will print the value of cube of the number.

9 Aim: Introduce java Collections.

Program: Write a program to perform string operations using ArrayList. Write functions for the following a. Append - add at end b. Insert – add at particular index c. Search d. List all string starts with given letter.

10 Aim: Exception handling in java, introduction to throwable class, throw, throws, finally.

Program: Write a Java program to read two integers a and b. Compute a/b and print, when b is not zero. Raise an exception when b is equal to zero.

11 Aim: Introduce File operations in java.

Program: Write a java program that reads a file name from the user, displays information about whether the file exists, whether the file is readable, or writable, the type of file and the length of the file in bytes

12 Aim: Introduce java Applet, awt, swings.

Programs: Develop an applet that displays a simple message in center of the screen. Develop a simple calculator using Swings.

 

PART B – Practical Based Learning

01 A problem statement for each batch is to be generated in consultation with the co-examiner and student should develop an algorithm, program and execute the program for the given problem with appropriate outputs.

 

Course Outcome (Course Skill Set)

At the end of the course the student will be able to:

CO 1. Use Eclipse/NetBeans IDE to design, develop, debug Java Projects.

CO 2. Analyze the necessity for Object Oriented Programming paradigm over structured programming and become familiar with the fundamental concepts in OOP.

CO 3. Demonstrate the ability to design and develop java programs, analyze, and interpret objectoriented data and document results.

CO 4. Apply the concepts of multiprogramming, exception/event handling, abstraction to develop robust programs.

CO 5. Develop user friendly applications using File I/O and GUI concepts.

 

Assessment Details (both CIE and SEE)

  • The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%.
  • The minimum passing mark for the CIE is 40% of the maximum marks (20 marks).
  • A student shall be deemed to have satisfied the academic requirements and earned the credits allotted to each course. The student has to secure not less than 35% (18 Marks out of 50) in the semester-end examination (SEE).

 

Continuous Internal Evaluation (CIE):

CIE marks for the practical course is 50 Marks. The split-up of CIE marks for record/ journal and test are in the ratio 60:40.

  • Each experiment to be evaluated for conduction with observation sheet and record write-up. Rubrics for the evaluation of the journal/write-up for hardware/software experiments designed by the faculty who is handling the laboratory session and is made known to students at the beginning of the practical session.
  • Record should contain all the specified experiments in the syllabus and each experiment write-up will be evaluated for 10 marks.
  • Total marks scored by the students are scaled downed to 30 marks (60% of maximum marks).
  • Weightage to be given for neatness and submission of record/write-up on time.
  • Department shall conduct 02 tests for 100 marks, the first test shall be conducted after the 8th week of the semester and the second test shall be conducted after the 14th week of the semester.
  • In each test, test write-up, conduction of experiment, acceptable result, and procedural knowledge will carry a weightage of 60% and the rest 40% for viva-voce.
  • The suitable rubrics can be designed to evaluate each student’s performance and learning ability. Rubrics suggested in Annexure-II of Regulation book
  • The average of 02 tests is scaled down to 20 marks (40% of the maximum marks).

The Sum of scaled-down marks scored in the report write-up/journal and average marks of two tests is the total CIE marks scored by the student.

 

Semester End Evaluation (SEE):

  • SEE marks for the practical course is 50 Marks.
  • SEE shall be conducted jointly by the two examiners of the same institute, examiners are appointed by the University
  • All laboratory experiments are to be included for practical examination.
  • (Rubrics) Breakup of marks and the instructions printed on the cover page of the answer script to be strictly adhered to by the examiners. OR based on the course requirement evaluation rubrics shall be decided jointly by examiners.
  • Students can pick one question (experiment) from the questions lot prepared by the internal /external examiners jointly.
  • Evaluation of test write-up/ conduction procedure and result/viva will be conducted jointly by examiners.
  • General rubrics suggested for SEE are mentioned here, writeup-20%, Conduction procedure and result in -60%, Viva-voce 20% of maximum marks. SEE for practical shall be evaluated for 100 marks and scored marks shall be scaled down to 50 marks (however, based on course type, rubrics shall be decided by the examiners)
  • Students can pick one experiment from the questions lot of PART A with equal choice to all the students in a batch. For PART B examiners should frame a question for each batch, student should develop an algorithm, program, execute and demonstrate the results with appropriate output for the given problem.
  • Weightage of marks for PART A is 80% and for PART B is 20%. General rubrics suggested to be followed for part A and part B.
  • Change of experiment is allowed only once and Marks allotted to the procedure part to be made zero (Not allowed for Part B).
  • The duration of SEE is 03 hours
  • Rubrics suggested in Annexure-II of Regulation book

 

Suggested Learning Resources:

1. E Balagurusamy, Programming with Java, Graw Hill, 6th Edition, 2019.

2. Herbert Schildt, C: Java the Complete Reference, McGraw Hill, 11th Edition, 2020

Last Updated: Tuesday, January 24, 2023