Académique Documents
Professionnel Documents
Culture Documents
1. Write a java program to accept the details of Employee (Eno,EName,Sal) from the user
and insert it into the Database.(use Awt).
[30 marks]
1
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
2
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
2. Create a basic Animation to show the Water Fall (Water Effect). [30 marks]
3. Write the simulation program for Round Robin with time quantum of 2 units. The
arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Waiting time for each process and average waiting
time.
[20 marks]
3
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of student (Rno , SName , Per) from the
user and insert it into the table. (use PreparedStatement Class). [30 marks]
4
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of Doctor (Dno , DName, Salary) from the
user and insert it into the database. (Use PreparedStatement class and AWT).
[30 marks]
2. Create a basic Image slide Animation to show either fading in and out.
[30 marks]
3. Write the simulation program for Round Robin with time quantum of 2 units. The
arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Turnaround Time for each process and average
Turnaround time.
[20 marks]
5
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a menu driven program in JAVA for the implementation of Scrollable ResultSet.
The menus are-
- Move to the next Record.
- Move to the first Record.
- Move to the Previous Record
- Move to the last Record. [30 marks]
3. Write the simulation program for scheduling algorithm using FCFS. The arrival time
and first CPU bursts of different jobs should be input to the system. The output should
give the Gantt chart and Turnaround time for each process and average Turnaround time.
[20 marks]
6
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the empno from the user and update the salary of
employee and display the updated Record on the screen. Employee having fields empno ,
ename and salary. [30 marks]
3. Write a program to implement cat command of Unix on DOS (any two options)
1) cat <filename> To display files on the screen
2) cat < filename It is same as type command
3) cat > filename It is same as copy con command
[20 marks]
7
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of Patient (pno , pname) from the user and
insert it into the database , display it and delete the record of entered pno from the table.
[30 marks]
3. Write the simulation program for scheduling algorithm using FCFS. The arrival time
and first CPU bursts of different jobs should be input to the system. The output should
give the Gantt chart and Waiting time for each process and average times.
[20 marks]
8
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of Doctor (DNo, DName, Address, Salary)
from the user. Insert it into the table and display it on the screen. (use Command Line
arguments). [30 marks]
2. Create a basic slideshow Animation to show the Screen Saver Effect. [30 marks]
9
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to display the record of Student (rno, sname, per) on the screen
by selecting rno from the Choice component. [30 marks]
3. Write the simulation program for preemptive scheduling algorithm using SJF. The
arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Waiting time for each process and average times
[20 marks]
10
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of teacher (Tno,TName,Sal) from the user,
store it into the table and update the salary of employee to entered salary amount and eno
is entered employee eno. [30 marks]
3. Consider a system with ‘n’ processes and ‘m’ resource types. Accept number of
instances for every resource type. For each process accept the allocation and maximum
requirement matrices. Write a program to check if the given request of a process can be
granted immediately or not.
[20 marks]
11
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the number from the user and do the following
- Calculate Factorial of a given Number.
- To check whether given number is prime or not.
(Use Thread) [30 marks]
12
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the details of Employee (Eno , Ename, Sal) from the
user, store it into the database and display that details on the screen .
[30 marks]
3. Write the simulation program for non- preemptive scheduling algorithm using SJF.
The arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Waiting time for each process and average times.
[20 marks]
13
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept the rno of student as a command line argument and
display the record of student (rno, sname, per) on the screen. [30 marks]
2. Create a basic Animation to show the Rain Drop Animation. [30 marks]
14
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program that insert the details of Actor(Ano,AName,Movie) into the
Database and display the result in uppercase on the screen. [30 marks]
2. Create a basic Mask Animation to do Animation of bottle of coco cola getting empty.
[30 marks]
3. Consider a system with ‘n’ processes and ‘m’ resource types. Accept number of
instances for every resource type. For each process accept the allocation and maximum
requirement matrices. Write a program to check if the system is in deadlock or not.
[20 marks]
15
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
3. Write the simulation program for non-preemptive scheduling algorithm using SJF.
The arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Turnaround Time for each process and average
time.
[20 marks]
16
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program which will create two child threads by implementing Runnable
interface; one thread will print even nos from 1 to 50 and other display vowels
[30 marks]
2. Create a basic Mask Animation to show Spot light and text Animation.
[30 marks]
3.Write the simulation program for demand paging and show the page scheduling and
total number of page faults according to MFU page replacement algorithm. Assume the
memory of ‘n’ frames.
[20 marks]
17
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
2. Create a basic Animation using Shape tweening, Frame Animation (copy, Paste).
[30 marks]
3. Write the simulation program for preemptive scheduling algorithm using SJF. The
arrival time and first CPU bursts of different jobs should be input to the system. The
output should give the Gantt chart and Turnaround Time for each process and average
time.
[20 marks]
18
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program Design a screen with two buttons start thread and stop thread.
Clicking on start ,it should start printing “Thread running” until stop button is pressed.
[30 marks]
2. Create a basic Animation to show the Fish Tank Animation – Use movie clip
[30 marks]
19
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to design a screen with two textboxes and start button.
Clicking on start should start two threads printing 1 to 100 in two textboxes.
[30 marks]
3. Write the simulation program for demand paging and show the page scheduling and
total number of page faults according to LFU page replacement algorithm. Assume the
memory of ‘n’ frames.
[20 marks]
20
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program using servlet for e-mail registration with user-id, password,
name, address, fields & display the details on next page.
[30 marks]
3. Write the simulation program for preemptive scheduling algorithm using Priority.
The arrival time, first CPU bursts and process priority of different jobs should be input to
the system. The output should give the Gantt chart and Turnaround Time for each process
and average times.
[20 marks]
21
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1.Write a JAVA program to accept mobile handset details through html page and servlet
will insert the details in handset table(Assume handset table is already present)
[30 marks]
2. Create a basic Mask Animation to do Animation of bottle of coco cola getting empty.
[30 marks]
3. Write the simulation program for demand paging and show the page scheduling and
total number of page faults according to FIFO page replacement algorithm. Assume
memory of ‘n’ frames.
[20 marks]
22
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept student roll number from html page & servlet will the
details of student like name, address etc . Assume student table is already present.
[30 marks]
23
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program using servlet to count the no of times a servlet has been
invoked. [30 marks]
2. Create a basic Mask Animation to show Spot light and text Animation.
[30 marks]
3.Write the simulation program for preemptive scheduling algorithm using Priority. The
arrival time, first CPU bursts and process priority of different jobs should be input to the
system.The output should give the Gantt chart Waiting time for each process and average
time.
[20 marks]
24
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program Write a servlet displaying current date & time also wish the
user accordingly (like a.m. “Good Morning”). [30 marks]
3. Write the simulation program for demand paging and show the page scheduling and
total number of page faults according to LRU page replacement algorithm. Assume the
memory of ‘n’ frames.
[20 marks]
25
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program Create an information servlet that provides information about
HTTP request from a client such as IPaddress, browser type, server name etc.
[30 marks]
3. Write the simulation program for non-preemptive scheduling algorithm using Priority.
The arrival time, first CPU bursts and process priority of different jobs should be input to
the system.. The output should give the Gantt chart and waiting Time for each process
and average time. [20 marks]
26
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to read n strings & insert into ArrayList collection. Display
the elements of collection in reverse order.
[30 marks]
2. Create a basic Image slide Animation to show either fading in and out. [30 marks]
3. Write the simulation program for demand paging and show the page scheduling and
total number of page faults according to SECOND CHANCE page replacement
algorithm. Assume the memory of ‘n’ frames.
[20 marks]
27
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a JAVA program to accept names of n students and insert into LinkedLlist
i) Display the contents of list using Iterator.
ii) Display the content in reverse order. (using ListIterator)
[30 marks]
[20 marks]
28
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
3. Write the simulation program for preemptive scheduling algorithm using Priority.
The arrival time, first CPU bursts and process priority of different jobs should be input to
the system. The output should give the Gantt chart and Turnaround Time for each process
and average times.
[20 marks]
29
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
1. Write a java program which reads a series of first names & stores them in Linked List
The program should not allow duplicate names and it should also allow the user to
search first name. [30 marks]
30
UNIVERSITY OF PUNE
TYBCA (Sem-VI) Practical Examination April/Oct. 2010-2011
Lab course- (Java, Multimedia and OS)
[Duration – 3 hrs] [Maximum Marks: 100]
31