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

JAVA Programming

Uploaded by

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

JAVA Programming

Uploaded by

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

Maya Devi University Selaqui Dehradun School of

Engineering and Computer Science


Department:-Computer Science and Engineering
Semester IV
Course Name: JAVA Programming Evaluation
Components
Course Code: Credit L T P I P E Total
4 3 0 0 50 - 100 150
Course Objectives:
The objectives of the course are to:
1. Understand Object Oriented Programming concepts and basic characteristics of Java.
2. Know the principles of packages, inheritance and interfaces.
3. Define exceptions and use I/O streams.
4. Develop a java application with threads and generics classes
5. Design and build simple Graphical User Interfaces.

Course Outcome:
On successful completion of the course, the student will be able to:
1. Write Java programs with properly designed constants, variables, objects,
methods and reusabilityfunctionality
2. Learn how and where to implement interface and exception-handling concepts.
3. Write multi-threaded programming concepts for concurrency control based
applications.
4. Construct GUI based JAVA enterprise applications
5. Develop web applications using JDBC, RMI and Servlet methodologies.

Unit No. Content Period


Java Basics and Inheritance: The Genesis of Java,
Overview of Java, Data Types, Variables, and Arrays,
UNIT I
Operators, Control Statements, Introducing Classes, 12
Methods and Classes,Type Casting, String Handling,
Abstract Class, Method overriding.
Inheritance: Basics, Using Super, Creating a Multilevel
Hierarchy, Problem with Multiple Inheritance.

Packages, Interfaces and Exception Handling: Packages-


Packages, Access Protection, Importing Packages,
UNIT II
Interfaces- Definition and Implementations,

Exception Handling- Types, Try and Catch, Throw and 10


Finally statements.
Maya Devi University Selaqui Dehradun School of
Engineering and Computer Science
Department:-Computer Science and Engineering
Multi Threading and File Handling: Multithreaded
Programming, Thread Life Cycle Creating Threads,
UNIT III
Creating Multiple Threads, Thread Priorities,
Synchronization, Inter Thread Communication, 12
Suspending, Resuming and Stopping Threads.
File Handling: I/O Basics, Reading Console Input,
Writing Console output, I/ O Classes and Interfaces.

Applets, Event Handling and AWT: Applet Basics,

UNIT IV Applet Architecture, Applet Display Methods, Passing


parameters to Applets,
12
Event Handling: Delegation Event Model, Event Classes,
Event Listener Interfaces,
AWT: Working with Windows, Graphics, Colors and
Fonts, Using AWT Controls, Layout Managers and Menus.

JDBC, RMI And Servlets: JDBC-JDBC Architecture,


The Structured Query Language, JDBC Configuration,

UNIT V Executing SQL, RMI Architecture, A simple


client/server application using RMI, Servlets- Life cycle
of a Servlet, Servlet packages ,Handling HTTP Requests
and Responses.

Suggested
Readings 1. Herbert Schildt, ―Java The complete reference, 8th Edition, McGraw
Hill Education, 2011.
1.Reference
Books 2. Cay S. Horstmann, Gary cornell, ―Core Java Volume –I Fundamentals,
9th Edition, Prentice Hall, 2013.
3. Paul Deitel, Harvey Deitel, ―Java SE 8 for programmers, 3rd Edition,
Pearson, 2015.
4. Steven Holzner, ―Java 2 Black book, Dreamtech press, 2011.

List of 1. Develop a java program to find the sum of odd and even numbers in an
Experiments: array.
2. Develop a java program to print the prime numbers between n1 to n2
using class, objects and methods.
3. Develop a program for calculating the age of a person and
display the age in the form of years, months anddays.
4. Demonstrate a program for method overloading. Consider the
different types of transaction modes used fortransferring
Maya Devi University Selaqui Dehradun School of
Engineering and Computer Science
Department:-Computer Science and Engineering
money. (Credit card, Debit card, Net banking etc).
5. Create a Abstract class and calculate the area of different shapes by
overriding methods.
6. Develop a Library application using multiple inheritances.
Consider Book, Magazines and Journals as base classes and
Library as derived class. In the Book class, perform the operations
like Search Book, Issue Book,Return Book, Renew Book, and Fine
Calculation. In the Magazines and Journals classes, perform issue
and return operations.
7. Develop a program for banking application with exception
handling. Handle the exceptions in following cases:
a) Account balance <1000
b) Withdrawal amount is greater than balance amount
c) Transaction count exceeds 3
d) One day transaction exceeds 1 lakh.
8. Create a student database and store the details of the students
in a table. Perform the SELECT, INSERT,UPDATE and DELETE
operations using JDBC connectivity.

9. Design a login page using servlets and validate the username


and password by comparing the details storedin the database.
10. Mini project (Anyone)

(Front End: Java, Back End: Oracle, define classes for the application and assign
responsibilities)
a) Central Library OPAC Engine
b) ATM Banking
c) Online Shopping
d) E-Ticketing System
e) Student Information Management System
f) City Info Browser
g) E-mail Server

Semester IV
Course Name: Formal Languages & Automata Evaluation
Theory Components
Course Code: Credit L T P I P E Total
4 3 0 0 50 - 100 150

You might also like