0% found this document useful (0 votes)
10 views

OOPs Lab syllabus

The document outlines a course titled 'Object Oriented Programming Lab using Java' offered by the West Bengal State Council of Technical & Vocational Education and Skill Development. It includes course objectives, a detailed list of practical exercises, and expected outcomes for students, emphasizing the development of software applications using Java. Additionally, it provides resources, equipment, and software needed for the course, along with suggested student activities and reference materials.

Uploaded by

ctsarpitadebnath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

OOPs Lab syllabus

The document outlines a course titled 'Object Oriented Programming Lab using Java' offered by the West Bengal State Council of Technical & Vocational Education and Skill Development. It includes course objectives, a detailed list of practical exercises, and expected outcomes for students, emphasizing the development of software applications using Java. Additionally, it provides resources, equipment, and software needed for the course, along with suggested student activities and reference materials.

Uploaded by

ctsarpitadebnath
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

West Bengal State Council of Technical & Vocational Education and Skill

Development (Technical Education Division)

Course Title : Object Oriented Programming Lab using Java


Course Code COPC218
Number of Credits : 1 (L:, T: 0, P: 2)
Prerequisites Any prior knowledge of programming language.
Course Category CST
Course code : Semester : Fourth
General
Duration : 15 weeks Maximum Marks : 100
Teaching Scheme Examination Scheme
Laboratory: 2 hrs/week Continuous Internal Assessment: 60Marks
Total Contact Hours: External Assessment: 40 Marks
30 Hours
Aim: Develop software applications using object
oriented concept in a Java SDK
environment

Course Objectives:
1.Understand fundamentals of programming such as variables, conditional and iterative
execution, methods, etc.
2. Understand fundamentals of object-oriented programming in Java, including defining
classes, invoking methods, using class libraries, etc.
3. Be aware of the important topics and principles of software development.
4. Have the ability to write a computer program to solve specified problems.
5. Be able to use the Java SDK environment to create, debug and run simple Java programs

The practical/exercises are designed to develop different types of skills of the competency.
Following is the list of practical problems.

Sr. Unit Exercise/Practical


No No. (Outcomes in Psychomotor Domain)

1 1 Install JDK, write a simple “Hello World” or similar java program,


compilation, debugging, executing using java compiler and interpreter.
2 2 Write a program in Java to generate first n prime numbers.
3 2 Write a program in Java to find maximum of three numbers using
conditional operator
4 2 Write a program in Java to find second maximum of n numbers
without using arrays
5 2 Write a program in Java to reverse the digits of a number using while
loop
6 2 Write a program in Java to convert number into words & print it
7 2 Write programs in Java to use Wrapper class of each primitive data
types
8 2 Write a program in Java to multiply two matrix
West Bengal State Council of Technical & Vocational Education and Skill
Development (Technical Education Division)
9 3 Write a static block which will be executed before main( ) method in a
class.
10 3 Write a program in Java to demonstrate use of this keyword. Check
whether this can access the private members of the class or not.
11 3 Write a program in Java to develop overloaded constructor. Alsodevelop
the copy constructor to create a new object with the state of
the existing object.
12 3 Write a program in Java to demonstrate the use of private constructorand
also write a method which will count the number of instances
created using default constructor only.
13 3 Write a program in Java to demonstrate the use of 'final' keyword in
the field declaration. How it is accessed using the objects.
14 3 Develop minimum 4 program based on variation in methods i.e.
passing by value, passing by reference, returning values and returning
objects from methods.
15 4 Write a program in Java to demonstrate single inheritance, multilevel
inheritance and hierarchical inheritance.
16 4 Create a class to find out whether the given year is leap year or not.
(Use inheritance for this program)
17 4 Write an application that illustrates how to access a hidden variable. Class A
declares a static variable x. The class B extends A and declaresan instance
variable x. display( ) method in B displays both of these
variables.
18 4 Write a program in Java in which a subclass constructor invokes the
constructor of the super class and instantiate the values.
19 4 Write a program that illustrates interface inheritance. Interface P12
inherits from both P1 and P2. Each interface declares one constant and
one method. The class Q implements P12. Instantiate Q and invoke
each of its methods. Each method displays one of the constants.
20 4 Write an application that illustrates method overriding in the same package
and different packages. Also demonstrate accessibility rules in
inside and outside packages.
21 4 Describe abstract class called Shape which has three subclasses say
Triangle, Rectangle, Circle. Define one method area()in the abstract class
and override this area() in these three subclasses to calculate for specific
object i.e. area() of Triangle subclass should calculate area of
triangle etc. Same for Rectangle and Circle
22 4 Write a program in Java to demonstrate implementation of multiple
inheritance using interfaces.
23 4 Write a program in Java to demonstrate use of final class.

24 5 Write a program in Java to develop user defined exception for 'Divide


by Zero' error.
25 5 Write a program in Java to demonstrate multiple try block and multiple
catch exception
26 5 Write an small application in Java to develop Banking Application in which
user deposits the amount Rs 1000.00 and then start withdrawingof Rs
400.00, Rs 300.00 and it throws exception "Not Sufficient Fund"
when user withdraws Rs. 500 thereafter.
West Bengal State Council of Technical & Vocational Education and Skill
Development (Technical Education Division)
27 5 Write a program that executes two threads. One thread displays “Thread1”
every 2,000 milliseconds, and the other displays “Thread2” every 4,000
milliseconds. Create the threads by extending the Thread
class
28 5 Write a program that executes two threads. One thread will print the
even numbers and the another thread will print odd numbers from 1 to50.
29 5 Write a program in Java to demonstrate use of synchronization of
threads when multiple threads are trying to update common variable.
30 6 Write a program in Java to create, write, modify, read operations on a
Text file.

SUGGESTED LIST OF STUDENT ACTIVITIES


Following is the list of proposed student activities like:
i. Study available small Java application on internet and reuse in your
application
ii. Develop Java object oriented application programs
iii. Present the application developed

Reference Book:
1. Practical Java Project for Beginners, B. M. Harwani, SPD;
2. Intro to Java Programming, Comprehensive Version, 10e, Liang, Pearson;
Course Outcome
On completion of the course the student should be able to:
 Use an integrated development environment to write, compile, run, and test simple
object-oriented Java programs.
 Read and make elementary modifications to Java programs that solve real-world
problems.
 Validate input in a Java program.
 Identify and fix defects and common security issues in code.
 Document a Java program using Javadoc.
 Use a version control system to track source code in a project.

(A) List of Major Equipment/Materials


i. Computer System with latest configuration and memory
ii. Multimedia projector
iii. Internet Access
iv. Access to library resources
(B) List of Software/Learning Websites
i. Java Development Kit:
http://www.oracle.com/technetwork/java/javase/download
s/index.html
ii. http://docs.oracle.com/javase/specs/jls/se7/html/index.html
iii. http://docs.oracle.com/javase/tutorial/java/index.html
iv. http://www.tutorialspoint.com/java/
v. http://www.learnjavaonline.org/
West Bengal State Council of Technical & Vocational Education and Skill
Development (Technical Education Division)
vi. http://www.c4learn.com/javaprogramming/
vii. http://www.learn-java-tutorial.com/
viii. http://www.tutorialspoint.com/javaexamples/

You might also like