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

Ce4002 - Object Oriented Programming With Java

The document outlines the syllabus for the course "Object Oriented Programming with Java" at Uka Tarsadia University. The course is offered in the third semester of the B.Tech program and teaches fundamentals of object-oriented programming using the Java language. It covers topics like classes, objects, inheritance, interfaces, exception handling, and multithreading across 6 units over 15 weeks. The objectives are to understand OOP concepts and create Java programs using sound practices. Students will be able to describe OOP and Java, develop exception handling and file programs, and apply concepts like inheritance and interfaces upon completing the course.

Uploaded by

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

Ce4002 - Object Oriented Programming With Java

The document outlines the syllabus for the course "Object Oriented Programming with Java" at Uka Tarsadia University. The course is offered in the third semester of the B.Tech program and teaches fundamentals of object-oriented programming using the Java language. It covers topics like classes, objects, inheritance, interfaces, exception handling, and multithreading across 6 units over 15 weeks. The objectives are to understand OOP concepts and create Java programs using sound practices. Students will be able to describe OOP and Java, develop exception handling and file programs, and apply concepts like inheritance and interfaces upon completing the course.

Uploaded by

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

Uka Tarsadia University

B. Tech.
Semester III

OBJECT ORIENTED PROGRAMMING WITH


JAVA

CE4002

EFFECTIVE FROM July-2020


Syllabus version: 1.00
Subject
Subject Title
Code

CE4002 Object Oriented Programming with Java

Teaching Scheme Examination Scheme


Theory Practical Total
Hours Credits
Marks Marks Marks
Theory Practical Theory Practical Internal External CIE
3 2 3 1 40 60 50 150

Objectives of the course:


● Understand fundamentals of object-oriented programming and basics of Java
programming.
● Create Java programs using sound OOP practices such as interfaces, exception
handling and multi-threading.

Course outcomes:
Upon completion of the course, the student shall be able to
CO1: Describe the concepts of object-oriented paradigm and Java Programming
Language.
CO2: Explain basic syntax and concepts of Java programming language.
CO3: Use of class and its elements to solve the basic problems.
CO4: Illustrate concepts of object-oriented paradigm with Java programming.
CO5: Develop programs on multithreading and exception handling in Java.
CO6: Develop a file handling programs in Java.

Sr. No. Topics Hours


Unit – I
1 Introduction to Object Oriented Programming and Basic 5
Concept of Java:
Fundamentals of object oriented programming, Procedure
oriented programming vs. Object oriented programming, Object
oriented programming concepts – Classes, Objects, Data
encapsulation and abstraction, Inheritance, Polymorphism,
Dynamic binding, Message passing; Benefits and applications of
object oriented programming, Java history, Java features, Java
virtual machine and byte code, Java environment setup, Structure
of java program, Data types and variables, Type conversion and
casting, Scope of variables and default values of variable, Comment
syntax.
Unit – II
2 Operators, Control Statements, Array and String: 8
Types of operators, Control statements – if, else, nested if, if-else
ladders, switch, while, do-while, for, for-each, break, continue;
enum data type, Single and multidimensional array, String class,
StringBuffer class, Operations on string, Command line argument,
Use of wrapper class.
Unit – III
3 Class, Object and Methods: 9
Object, Class and methods, Access modifier, Method overloading,
Passing and returning object form method, Constructors,
Constructor overloading, Nested classes, this keyword and static
keyword, Garbage collector.
Unit – IV
4 Inheritance, Packages and Interface: 9
Inheritance in java, Super and sub class, Overriding methods,
Polymorphism, Dynamic binding, super keyword, final Keyword,
Abstract methods and classes, Interface, Interface vs. abstract
classes, Packages, Visibility controls.
Unit – V
5 Exception Handling and Thread: 8
Exception: try…catch statement, Multiple catch blocks, throw and
throws keywords, finally clauses, User defined exception, Thread,
Thread life cycle and methods, Creating threads, Thread priority,
Multithreading and thread synchronization.
Unit – VI
6 File Handling: 6
Basics of stream, Stream classes, Creation, Reading and writing
files in context of file handling.

Sr. No. Object Oriented Programming with Java (Practical) Hours


1 a. Write a program to print Hello CGPIT on the console. 2
b. Write a program to print inputs given from command line
arguments on the console.
c. Write a program to check whether given number is Armstrong
or not.
2 a. Write a program using switch which takes two command line 2
arguments. First argument is a string (odd, even, avg, sum)
specifies the operation and second argument (number N) is the
upper limit of the range starting from 0.
Ex. 1) Arguments: even 10; Output: 0 2 4 6 8 10.
2) Arguments: sum 5; Output: 15
b. Write a program to sort an array of N integer.
3 a. Write a program to remove duplicate characters from a string. 2
b. Write a program to insert character at specific location of a
string.
4 Design a class to represent a Bank account. 2
Fields:
1. Name of account holder
2. Account number
3. Balance in the account
Methods:
1. To deposit amount
2. To withdraw amount after checking for balance
3. To display the details of account
Write a program to create account for two customers.
5 Create class Box which has members height, width, length and 2
method volume() to calculate the volume of Box. Write a program
to display volume of two boxes. Use default constructor and
parameterized constructor to initialize data members.
6 Create a class student which contains data members enrollment 2
number, marks1, marks2 and marks3. It contains methods set()
and get() to take input and print the values of attributes. Create
another class result by inheriting class student. Result class
contains the field total_marks and method dis_res() which displays
the percentage of a student. Write a program to display the results
of two students.
7 Write a Java class ShapeArea which calculates the area of square 4
rectangle and circle. Write a program to print area of square,
rectangle and circle. Demonstrate the concept of method
overloading.
Create class Bank with member function getInterestRate(). Create
another three class SBI and AXIS by inheriting class Bank. These
classes overrides member function getInterestRate() of class Bank.
Write a program to find the interest rate for each of the bank using
the concept of method overriding.
8 Write a program to demonstrate uses of final and static keyword. 2
Create a base class Vehicle with member variable speed. Create
another class Bike which inherits class Vehicle and has member
variable speed. Write a program to demonstrate uses of super
keyword.
9 a. Create abstract class department with data members 4
university, college, method display() and abstract method
subject_list(). Create subclasses CE and EE which implements
the method subject_list(). Write a program to display subjects
offered by CE and EE department.
b. Define an interface bird having the methods food() and voice().
Define two classes sparrow and peacock to implement the
interface bird. Write a program to test sparrow and peacock
classes.
10 a. Write a program to handle following exceptions: 2
1. StringIndexOutOfBoundsException
2. NullPointerException
3. NumberFormatException
b. Write a program to generate and handle a custom exception to
validate the entered phone number.
11 Write an application that executes two threads. One thread 2
Displays “I’m Thread 1“every 1,000 milliseconds. And the other
displays “I’m Thread 2 “every 3,000 milliseconds. Create the
threads by a) implementing the Runnable interface & b) extending
Thread class.
12 Write a program to copy the content of one file into another file. 2
13 Write a program to create chat application using socket 2
programming.

Text book:
2. Herbert Schildt – “Java – Complete Reference”, McGraw Hill.

Reference books:
5. E. Balagurusamy – “Programming with Java”, McGraw-Hill.
6. Daniel Liang – “Introduction to Java Programming (Comprehensive version)”,
Pearson.
7. Sachin Malhotra and Saurabh Chaudhary – “Programming in Java”, Oxford University
Press.

Course objectives and Course outcomes mapping:


● Understand fundamentals of object-oriented programming and basics of Java
programming: CO1, CO2, CO3
● Create Java programs using sound OOP practices such as interfaces, exception
handling and multi threading: CO4, CO5, CO6

Course units and Course outcomes mapping:


Unit Course Outcomes
Unit Name
No. CO1 CO2 CO3 CO4 CO5 CO6
1 Introduction to Object oriented
programming and Basic concept of 
Java
2 Operators, Control Statements, Array

and String
3 Class, object and methods 
4 Inheritance, Packages and Interface 
5 Exception handling and Thread 
6 File handling 

Programme outcomes:
PO 1: Engineering knowledge: An ability to apply knowledge of mathematics,
science, and engineering.
PO 2: Problem analysis: An ability to identify, formulates, and solves engineering
problems.
PO 3: Design/development of solutions: An ability to design a system, component, or
process to meet desired needs within realistic constraints.
PO 4: Conduct investigations of complex problems: An ability to use the techniques,
skills, and modern engineering tools necessary for solving engineering
problems.
PO 5: Modern tool usage: The broad education and understanding of new
engineering techniques necessary to solve engineering problems.
PO 6: The engineer and society: Achieve professional success with an understanding
and appreciation of ethical behaviour, social responsibility, and diversity, both
as individuals and in team environments.
PO 7: Environment and sustainability: Articulate a comprehensive world view that
integrates diverse approaches to sustainability.
PO 8: Ethics: Identify and demonstrate knowledge of ethical values in non-classroom
activities, such as service learning, internships, and field work.
PO 9: Individual and team work: An ability to function effectively as an individual,
and as a member or leader in diverse teams, and in multidisciplinary settings.
PO 10: Communication: Communicate effectively on complex engineering activities
with the engineering community and with society at large, such as, being able
to comprehend and write effective reports and design documentation, make
effective presentations, and give/receive clear instructions.
PO 11: Project management and finance: An ability to demonstrate knowledge and
understanding of the engineering and management principles and apply these
to one’s own work, as a member and leader in a team, to manage projects and
in multidisciplinary environments.
PO 12: Life-long learning: A recognition of the need for, and an ability to engage in life-
long learning.
Programme outcomes and Course outcomes mapping:
Programme Course Outcomes
Outcomes CO1 CO2 CO3 CO4 CO5 CO6
PO1  
PO2  
PO3  
PO4  
PO5
PO6
PO7
PO8
PO9
PO10
PO11
PO12

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy