LAB MANUAL OF JAVA PROGRAMMING - MAIT

LAB MANUAL OF

JAVA PROGRAMMING

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING ETCS-357

Maharaja Agrasen Institute of Technology, PSP area, Sector ? 22, Rohini, New Delhi ? 110085

(Affiliated to Guru Gobind Singh Indraprastha University, New Delhi)

MAIT/CSE

1|Page

INDEX OF THE CONTENTS

1. Introduction to the lab manual

3

2. Lab requirements (details of H/W & S/W to be used) 3

3. List of experiments

4

4. List of Advance programs

6

5. Projects to be allotted

7

6. Format of lab record to be prepared by the students. 8

7. Marking scheme for the practical exam

11

8. Details of the each section of the lab along with the examples,

exercises & expected viva questions.

13

MAIT/CSE

2|Page

1. INTRODUCTION TO THE LAB

In java programming section, the applications of Java are taken into account. Applications of Java which are taken into details according to the syllabus prescribed by G.G.S.I.P.U for this lab are:

1. Console Based Programming 2. Applets 3. HTML 4. JDBC

MAIT/CSE

3|Page

2. LAB REQUIREMENTS

For Java Programming

J2SDK 1.7 Java Compatible Web Browser

This Compiler has no special hardware requirements as such. Any System with a minimum 256 MB RAM and any normal processor can use for this lab.

MAIT/CSE

4|Page

JAVA PROGRAMMING LAB

Paper Code: ETCS-357 Paper: Java Programming Lab

List of Experiments: (As prescribed by G.G.S.I.P.U)

1. Create a java program to implement stack and queue concept. 2. Write a java package to show dynamic polymorphism and interfaces. 3. Write a java program to show multithreaded producer and consumer application. 4. Create a customized exception and also make use of all the 5 exception keywords. 5. Convert the content of a given file into the uppercase content of the same file. 6. Develop an analog clock using applet. 7. Develop a scientific calculator using swings. 8. Create an editor like MS-word using swings. 9. Create a servlet that uses Cookies to store the number of times a user has visited your servlet. 10. Create a simple java bean having bound and constrained properties.

NOTE:- At least 8 Experiments out of the list must be done in the semester.

MAIT/CSE

5|Page

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download