download slip - Code Area

estrapadesherbetSoftware and s/w Development

Nov 18, 2013 (3 years and 8 months ago)

101 views

UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








1




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]


2.
Create a basic slideshow Animation to show the Screen Saver
Effect.











[30

marks]


3.

Writ
e

a program to implement ls command of
UNIX

with
following

options

on DOS


(any two option
s
)


1)

ls To display files


2)

ls

a To display all the hidden files


3
)

ls

m To display the files separated with commas










[
2
0 marks]



4.

Journ
al









[10 marks]


5.

Viva










[10 marks]

UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








2



1.
Write a
M
enu
driven program

in Java for the following.



-

Insert Record into the Table.



-

Update The Existing Record.



-

Display all the Records from the
T
able.















[30 marks]


2.
Creat
e a basic Animation to show the Rain Drop Animation.











[30 marks]


3.

Write

a simulation prog
ram for disk scheduling using
SCAN algorithm.

Accept total number of disk blocks, disk request string, direction of head moment and
current head position f
rom the user. Display the list of request in the order in which it is
served. Also display the total number of head moments.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
























UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








3



1.Write a java program

to
display the Records of Doctor
(DNo,DName,Salary)

from the
database and display it on the screen.(use JTable).

















[30 marks]



2.
Create a basic Animation to show the Water Fall (Water
Effect)
.


[30 marks]


3.
Write the simulat
ion program for
Ro
und 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]


4. Journ
al









[10 marks]


5. Viva










[10 marks]

























UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








4




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]



2.

Create a
basic Animation to show the Realistic Ball Movement.











[30 marks]


3.
Write a simulation program for disk scheduling using SCAN algorithm.

Accept total number of disk blocks, disk request string, direction of head moment and
current head position f
rom the user. Display the list of request in the order in which it is
served. Also display the total number of head moments.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]






























UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








5



1. Write a JAVA prog
ram

to accept the details of Doctor (Dno , DNam
e, 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
Turna
round
time
.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








6



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]



2.
Create a basic Animation to show

the Bubble effect.



[30 marks]


3.
Write the simulation program for scheduling algorithm using
FCFS.
The arrival time
and firs
t 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]



4. Journal









[10 marks]


5. Viva

.









[10 marks]






















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








7



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]


2.
Create a basic Animation to sho
w

the Smoke effect
.



[30 marks]



3.
Write a program to implement cat command of Unix on DOS

(any two option
s
)


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]


4. Journal









[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








8




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 d
elete the record of entered pno from the table.











[30 marks]



2.
Create a basic
Animation to

show

the
Blinking Stars
.



[30 marks]


3.
Write the simulation program for scheduling algorithm using
FCFS.
The arrival time
and first CPU bursts of diffe
rent 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]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








9



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]


3.

Write

a simulation program for disk scheduling using LOOK algorithm.

Accept total number of disk blocks, disk request string, direction of head moment and
current head position from the user. Display the list of request in the order in which
it is
served. Also display the total number of head moments.















[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








10



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]



2.
Create a basic Animation to
do the C
ards (Friendship, Birthday etc
)
.













[30 marks]


3.
Write the simulation program for preemptive scheduling algorithm using SJF. The
arrival time and fir
st 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]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








11



1. W
rite a JAVA program

to accept the details of teache
r (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]



2.
Create a basic Animation
to

show

t
he Realistic Ball Movement.











[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 t
o check if the given request of a process can be
granted immediately or not.











[20 marks]



4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








12



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]



2.
Create a basic Animation
to
show the

Blur Transition Effect.











[30 marks]


3.

Write

a simulation program for disk sc
heduling using FCFS algorithm.

Accept total number of disk blocks, disk request string, direction of head moment and
current head position from the user. Display the list of request in the order in which it is
served. Also display the total number of head
moments















[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








13



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
t
he screen
.













[30 marks]



2.
Create a basic Animation
to show

the
Floating Background.











[30 marks]


3.
Write the simulation program for non
-

preemptive scheduling algorithm using SJF.
The arrival time and first CPU bursts of differen
t 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]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








14



1. Write a JAVA program

to a
ccept 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]


3.

Write

a program to implement ls command of
UNI
X

with following options on DOS

(any two options)


1)ls
-
l

To display long listing of files rowwise


2)ls

Q

To display the file
name in double quotes


3)ls

c To sort the files on last modification time of the files











[
20 marks
]


4. Journal










[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








15




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 Anima
tion to do
A
nimation 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
requirem
ent matrices. Write a program to check if the system is in deadlock or not.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








16




1. Write a JAVA program

which will generate following threads

I.

To display 10 terms

of Fibonacci series.

II.

To display 1 to 20

in reverse order



[30 marks]



2.
Create a basic
Mask
Animation
to do Animation of your B.C.
A. Course (Introduction).











[30 marks]


3.
Write the simulation program for non
-
preemptive scheduling algorithm us
ing 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]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








17




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 Animati
on 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]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








18




1. Write a Java program to display “Hello Java” 50 times using multithreading











[30 marks]



2.
Create a basic Animation
using Shape tweening, Frame Ani
mation (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 Tur
naround Time for each process and average
time.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








19




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]


3.
Write a program to implement following Unix commands

(any two option
s)


1)mv <source file> <target file
> It moves source file into target file

2) cp

<source file> <target file> IT copies source file into target file

3) rm
<
filename
> It deletes

the file

















[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








20




1. Write

a JAVA
program to

design a screen with two textboxes and start

b
utton.



Clicking on start should start two
threads printing

1 to 100 in two
textboxes.

[30 marks]



2.

Create a
basic Animation to show

the Wate
r F
all (Water
Effect)
.











[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 mar
ks]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








21




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]



2
.
Create a basic slideshow Animation to show the Screen Saver
Effect.













[30 marks]


3.
Write the simulation program for preemptive scheduling algorithm using Priority.
The arrival time, first CPU bursts and process priority of different job
s shou
ld be input to
the system
. The output should give the Gantt chart and Turnaround Time for each process
and average times.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








22




1.
Write a JAVA program

to accept mob
ile 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]


4. Journal









[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








23




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]



2.
Create a basic Ma
sk Animation to do Animation of your B.C.
A. Course (Introduction).











[30 marks]


3.
Write a program to implement following Unix commands

(any two options)




1)
wc

c <filename> Displays no of characters for the given file.



2) wc

w <fi
lename> Displays no of words for the given file.


3) wc

l <filename> Displays no of line for the given file.











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








24




1. Write

a JAVA program

using servle
t 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. T
he
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]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








25




1. Write a JAVA program Write a servlet displaying current date & time also wish the


user accordingly (like a.m. “Good Morning
”)
.




[30 marks]



2.

Create a basic Animation to show the Bubble effect.















[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]


4. Journal









[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








26




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]


2.

Create

a basic Animation to show the Blur Transition Effect.














[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 inpu
t to
the system.. The output should give the Gantt chart and waiting Time for each process
and average time.








[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]

















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








27




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 th
e page scheduling and
total number of page faults according to SECOND CHANCE page replacement
algorithm. Assume the memory of ‘n’ frames.











[20 marks]





4. Journal









[10 marks]


5. Viva










[10 marks]


















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








28




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]



2.
Create a basic Animation

to do the Cards (Friendship, Bir
thday etc.)













[30 marks]

3.
Write a program to implement following
UNIX

commands

(any two options)






1)
grep

c pattern filename



Displays count of no. of occurrences for a given pattern

2) grep

n
pattern filename

Displays line no. along wi
th the line

3)

grep


v
pattern filename

Does not display lines for matching pattern













[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]













UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








29





1.
Write a java program to read n integers into LinkedList collection



Do the following operations

i)

Display only negative integers

ii)

Delete the last element




[30 marks]



2.
Create a basic Animation
to show

the Smoke effect
.



[30 marks]


3.
Write the simulation program for preemptive scheduling algorithm using Priority.
Th
e 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]


4. Journal









[10 marks]


5. V
iva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








30





1.
Write a java program which reads a series of
first names

& stores them in
Linked List



T
he program should not allow duplicate names and it should also allow the user to




search first name.








[30 m
arks]



2.
Create a basic slideshow Animation to show the Screen Saver
Effect.











[30 marks]


3.
Write a program to implement following
UNIX

commands

(any two options)




1) mkdir
<pathn
a
m
e
> It creates new directory for a given path

2) cd
<pathname
> It changes directory to a given paths

3)

rmdir

<pathname> It deletes removes directory for a given path











[20 marks]


4. Journal









[10 marks]


5. Viva










[10 marks]
















UNIVERSITY OF PUNE

TYBCA (Sem
-
VI
)
Practical Examination

Lab course
-

(Java, Multimedia and OS)

[Duration


3 hrs]


[Maximum Marks: 100]








31