CS701 : Software Practice and Experience Laboratory 2004-2005


Quiz 1

Topic : Java
Date : October 12, 2004,  2pm to 4pm.

General Instructions

  1. Sit only at the place assigned to you. Do not access any other system.
  2. You can use internet, API documentation, tutorials and your own assignment code.
  3. Accessing email, messanges  or any other personal communication (including phones) are not allowed during examination hours.
  4. Sharing files is strictly prohibited.
  5. There will be no extension of time. The upload form will be closed at 4pm.
  6. Quiz evaluation will be from 4pm-6pm.

Question 1 : GUI

Download file Q1.java and update it as per instructions given in it. 
Following are some screen shots of expected output.
snapshot1

snapshot2

snapshot3

Question 2 : Database and File handling

 Download file Q2.java and update it as per instructions given in it.
 If required : Jdbc MySql driver.
 db.conf file db.conf.
 Sample input and output file.



Submission Guidelines

  1. Submission through upload form.
  2. Only one submission allowed per person.
  3. Submission will be two files Q1.java and Q2.java. No other files should be attached. Not even db.conf/makefile or any intermediate file  generated by program or created by user.
  4.  Should not change the structure of the file like not using db.conf etc.
  5.  Final submission will be <rollno>.tgz which will explode into <rollno> directory containing two java files.


Sample Solutions : 

Q1.java , Q2.java