Anda di halaman 1dari 31

UNIVERSITY OF PUNE

BCA (Sem-V) Practical Examination


La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a java program for a cricket pa!er "he program shou# accept the #etais from
user $max 10): %a!er co#e& name& runs& innings' pa!e# an# num(er of times not out) "he
program shou# contain foo*ing menu:
'+nter #etais of pa!ers)
'Dispa! average runs of a singe pa!er)
'Dispa! average runs of a pa!ers) $,se arra! of o(jects - function overoa#ing)
'(ar)" *+,
.) Write /0)1et %rogram to Design foo*ing form an# Dispa! appropriate resut in
message (ox after cicking comman# (utton )
'(ar)" *+,
3) Write 2"M3 co#e to #esign a *e( page #ispa!ing ist of h!perinks) Divi#e the (ro*ser
screen into t*o frames) "he frame on the eft *i (e an image) "he frame on the right *i
(e a menu consisting of h!perinks) 4icking on an! one of these h!perinks *i #ispa!
reate# information as a ne* page *hich must (e open in frame on the right han# si#e)
-elcome to -i.ro Com.an/
a) 5(out ,s
() +mpo!ees
c) 4areers
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) 4reate a cass teephone containing name& teephone num(er - cit! an# *rite necessar!
mem(er functions for the foo*ing:
' 9earch the teephone num(er *ith given name)


1

:mage
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
' 9earch the name *ith given teephone num(er)
' 9earch a customers in a given cit!) $,se function overoa#ing)
'(ar)" *+,
.) Write /0 )1et program to take three text (oxes an# t*o (uttons on the form) +nter
#ifferent strings in first an# secon# text(ox) ;n cicking the <irst comman# (utton&
concatenation of t*o strings shou# (e #ispa!e# in thir# text (ox an# on cicking secon#
comman# (utton & reverse of string shou# #ispa! in thir# text (ox) '(ar)" *+,
3) Write 2"M3 co#e to #ispa! caen#ar of the current month)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a java program *hich creates cass 9tu#ent $=ono& 1ame&' 1um(er of su(jects&
Marks of each su(ject)$1um(er of su(jects varies for each stu#ent)


.

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
Write a parameteri>e# constructor *hich initiai>es ro no& name - 1um(er of su(jects
an# create the arra! of marks #!namica!) Dispa! the #etais of a stu#ents *ith
percentage an# cass o(taine#) '(ar)" *+,
.) Write /0)1et %rogram to Design foo*ing form to store num(ers in singe #imensiona
arra! an# to fin# Maximum no - sum of a num(ers in arra!)
'(ar)" *+,
3) Write 2"M3 co#e to #ispa! foo*ing train #etais using ta(e)
Train name Startin&
.lace
%e"tination .lace Time Fare
5rriva Departure
$In"ert at lea"t 2 recor3")
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) :n a (ank& #ifferent customers having saving account) 9ome customers ma! have taken a
oan from the (ank) 9o (ank a*a!s maintains information a(out (ank #epositors an#
(orro*ers) Design a 0ase cass 4ustomer $name& phone'num(er))Derive a cass Depositor
$accno & (aance) from 4ustomer) 5gain #erive a cass 0orro*er $oan'no& oan'amt) from


3

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
Depositor) Write necessar! mem(er functions to rea# an# #ispa! the #etais of ?n@
customers) '(ar)" *+,
.) Write /0)1et program to a## three text (oxes at runtime) 5o* user to enter vaues an#
then #ispa! Maximum an# Minimum vaue using message (ox after cick on comman#
(utton) '(ar)" *+,
3) Write 2"M3 co#e to ink externa #ocuments) 5fter 4icking on each h!perink reate#
information shou# (e #ispa!e# in the ne* *e( page) ,se appropriate 2"M3 tags or
2"M3 eements to #ispa! the information)
Information of Computer Course
0) 9c) 4omputer 9cience
045
M) 9c) 4omputer 9cience
M45
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a program in java to check *hether the entere# character is apha(et& #igit or space
character) :f it is apha(et then print *hether it is capita or sma apha(et) 5so change the
apha(et into the reverse case) '(ar)" *+,
.) Write /0)1et %rogram to Design foo*ing form to #ispa! 9eecte# 9tream -


6

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
4omputer Ano*e#ge$,se pane) an# Dispa! foo*ing Message (ox) When cicke# on
1e* (utton form shou# (e reset)



'(ar)" *+,
3) Write a menu #riven program to perform the foo*ing options using 8ava9cript:
1) "o fin# 5rmstrong num(ers (et*een 1 to 1000)
.) "o print sum of the #igit of a num(er)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) ,sing Cla"" impement 2ash ta(e to
1) 5ccept ?n@ recor#s of stu#ents $1ame& %ercentage)
.) Dispa! #etais of a stu#ents


7

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
<in# out highest marks '(ar)" *+,
.) Write /0)1et program to #esign foo*ing form an# Dispa! (inar! & hexa#ecima& an#
octa num(er in particuar text (ox after cicking ok 4omman# (utton)
'(ar)" *+,
3) Write 2"M3 co#e to #esign a *e(site for 4oege profie) Write co#e for 6 separate
pages having #ifferent fienames) +ach page must contain a h!perink to other three pages)
5 pages must have #ifferent (ackgroun#s $coor or image) an# #ifferent tites)
"he first page must contain information a(out the coege an# aso #ispa! at east one
image& *hich must have aternate text $e)g) a##ress of coege)) "his page must provi#e
three h!perinks ' 5(out ,s& Departments& 3a(orator!)
"he secon# page #ispa! information a(out the coege using a ph!sica st!es) 5so make
use of marBuee that scros from right to eft)
"he thir# page #ispa! #ifferent #epartment names of coege using or#ere# ist)
"he ast page #ispa! information of computer a(orator!) "his page must incu#e at east
three paragraphs of text each having #ifferent aignment an# each paragraph shou# use
#ifferent font) '(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 8ava %rogram to accept the #etais of +mpo!ee from the user an# #ispa! it on
the next <rame) $,se 5W")
'(ar)" *+,
.) 4reate the foo*ing appication in /0)1+") "he form shou# contain the foo*ing
menu


C

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
Area Exit
4irce
=ectange
9Buare
;n seection of the menu option ?4irce@& one form shou# (e open in that form user enters
ra#ius into text(ox an# #ispa! area of circe in message (ox) ;n seection of the menu
option ?=ectange@& one form shou# (e open in that form user enters ength an# (rea#th
into text(oxes an# #ispa! area of rectange in message (ox) ;n seection of the menu
option ?9Buare@& one form shou# (e open in that form user enters si#e into text(ox an#
#ispa! area of sBuare in message (ox) '(ar)" *+,
3) Write 2"M3 co#e to #ivi#e the *e( page into #ifferent frames an# each frame *i
#ispa! the text as sho*n (eo*)
;ne "*o
"hree
<our <ive 9ix
9even
+ight 1ine
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 85/5 program to #esign a screen using A4t :


D

9tring ;perations :
+nter 9tring:
"!09c
3;W+= t!(sc
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,
.) Write /0)1et program to search customer recor# using customer name or customer
:# )Dispa! customer recor# in Data Eri#) '(ar)" *+,
3) Write 2"M3 co#e to ink interna #ocuments) 5fter cicking on each h!perink cursor
shou# move to the reate# information on the same page) ,se appropriate 2"M3 tags or
2"M3 eements to #ispa! the information)
-elcome to %5 Y5 Patil Colle&e
+ectronics Department
Mathematics Department
Micro(ioog! Department
4omputer 9cience Department
0iotechnoog! Department
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Define an +mpo!ee cass *ith suita(e attri(utes having get9aar!$) metho#& *hich
returns saar! *ith#ra*n (! a particuar empo!ee) Write a cass Manager *hich exten#s a
cass +mpo!ee& overri#e the get9aar!$) metho#& *hich *i return saar! of manager (!
a##ing traveing ao*ance& house rent ao*ance etc) '(ar)" *+,
.) Design /0 )1et form to #ispa! the empo!ee #etais in gri# vie* as *e as in
"ext(oxes after cicking next an# previous comman# (uttons)$,se Data(ase)


F

:taic
TYBSC
0o#
TYBSC
,%%+= "G094
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]

'(ar)" *+,
3) Write an 59% co#e to accept #ocHno& #ocHname& cit!& hospHname from user& stores in
#ata(ase an# then #ispa! a #octor #etais on the screen)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1)Write a 8ava program to create . fies <1 an# <.)4op! the contents of fie <1 (! changing
the case into fie <.)
<. I <1
5so cop! the contents of <1 an# <. in <3)
<3 I <1J<.
Dispa! the contents of <3)
,se Comman3 Line Ar&!ment"5
'(ar)" *+,


K

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
.) Write /0)1et %rogram to accept the #etais of 9tu#ents from user *ith proper
vai#ations - store those #etais into the #ata(ase an# #ispa! #etais in Eri# /ie*)$use
Data(ase *ithout *i>ar#)) 9tu#ents having fie# roHnum(er& name& #o( an# cass)
'(ar)" *+,
3) Write 2"M3 an# 499 co#e to #esign a *e( page) Divi#e the (ro*ser screen into t*o
frames) "he first frame *i #ispa! the hea#ing) Divi#e the secon# frame into three
coumns that *i #ispa! the information as sho*n (eo*)
,se +xterna st!e sheet *ith appropriate attri(utes to #ispa! information of each frame)
S!6ect" 7or 3i77erent Seme"ter o7 B5C5A5 co!r"e
F5Y5B5C5A)
Sem I
o 4<
o %%5
o 0;9
Sem II
o %%5
o D0M9
o +ect)
S5Y5B5C5A5
Sem I
o D9
o =D0M9
o 2=M
Sem II
o 4%%
o /0
o 1et*orking
T5Y5B5C5A
Sem I
o 85/5
o D;" 1+"
o :nternet
Sem II
o 5#v) 8ava
o Mutime#ia
o 9!spro
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) 4reate an a(stract cass %erson) Derive t*o casses +mpo!ee an# Worker from it) ,se
proper metho# to accept an# #ispa! the #etais for the same)
"he fie#s of +mpo!ee are +mpHno&+mpHname an# a##ress) 9imiar fie#s for *orker are
name an# *orking hours) '(ar)" *+,
.) Write /0)1et %rogram to accept the #etais of +mpo!ee from user - store those #etais
into the #ata(ase *ith proper vai#ation an# #ispa! #etais in Eri# /ie*)$use Data(ase
*ithout *i>ar#) +mpo!ee having fie#s enum& empname& #o( an# saar!)


10

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,

3) Write 2"M3 an# 499 co#e to #esign a *e( page) Divi#e the (ro*ser screen into t*o
frames) "he first frame *i #ispa! the hea#ing) Divi#e the secon# frame into t*o coumns
"he first coumn *i #ispa! h!perinks) 5fter cicking on each h!perink reate#
information shou# (e #ispa!e# in the secon# coumn in ta(e format)
,se st!e sheet *ith appropriate attri(utes to #ispa! information of each frame)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a java program to accept the #etais of empo!ee from the user an# #ispa!
%a!ment sip on the next <rame)
'(ar)" *+,


Pla/er %etail"
Co!ntr/
1) :n#ia
.) +ngan#
3) 9ri3anka
One %a/ Cric)et (atc8 Score Boar39-
11

%a!erH1ame 1o)of
Matches
pa!e#
1o)of
innings
pa!e#
9core 5verage
9ahin "en#ukar 3.7 3.0 16767 67)63
=ahu Dravi# 310 .F0 10670 3F)1.
5ni Aum(e 31. 1C0 600 10
Dhoni .70 .00 6000 30
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
.) Write /0)1et program to take one ist (ox *hich contains the name of picture fie) :f
!ou cick on particuar picture then that shou# #ispa! on picture (ox *hich is area#!
store in #ata(ase) '(ar)" *+,
3) Write 2"M3 co#e to #esign a *e( page #ispa!ing ist of h!perinks) Divi#e the (ro*ser
screen into t*o frames) "he frame on the eft *i (e a menu consisting of h!perinks)
4icking on an! one of these h!perinks *i #ispa! reate# information as a ne* page
*hich must (e open in frame on the right han# si#e)
:nput Devices
;utput Devices
9torage Devices
e)g)'5fter cicking on input #evices h!perink reate# information in the right frame)
:nput Devices
;utput Devices
9torage Devices
"he ist of :nput Devices
i) Ae!(oar#)
ii) Mouse)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a java %rogram to accept ?n@ no@s through the comman# ine an# store a the prime
no@s an# perfect no@s into the #ifferent arra!s an# #ispa! (oth the arra!s)
'(ar)" *+,


1.

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
.) Write /0)1et program to search empo!ee recor# using empo!eeH:# or empo!eeH
name into #ata(ase )Dispa! empo!ee recor# in Data Eri#)
'(ar)" *+,
3) Write 2"M3 an# 499 co#e to #esign a *e( page #ispa!ing ist of h!perinks) Divi#e
the (ro*ser screen into t*o frames) "he first frame *i #ispa! the hea#ing) Divi#e the
secon# frame into t*o coumns) "he frame on the eft *i (e a menu consisting of
h!perinks) 4icking on an! one of these h!perinks *i #ispa! reate# information as a
ne* page *hich must (e open in frame on the right han# si#e)
,se :nterna st!e sheet *ith appropriate attri(utes to #ispa! information of each frame)
Pla/er" Li"t
Co!ntr/
1) :n#ia
.) 5ustraia
3) 5frica
In3ia
4ricket
1) 9achin "en#ukar
.) Dhoni
3) =ahu Dravi#
"ennis
1) 9ani!a Mir>a
.) 1ehava
3) Mahesh 0hupati
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a program in 8ava to accept name of cities from the user an# sort them in
ascen#ing or#er $,se 4omman# 3ine 5rguments) '(ar)" *+,
.) Write /0 )1et program to create %atient ta(e having fie#s pno& pname& a##ress& phone
num(er) Dispa! 5ppropriate message in message (ox )


13

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,
3) Write 2"M3 co#e to #esign the foo*ing form)
Per"onal In7ormation
<irst 1ame :
3ast 1ame :
5##ress :
Mo(ie 1um(er :
Een#er Mae <emae
Gour :nterests 4omputer 9ports Music
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 8ava program to simuate the arithmetic cacuator $J &' &L & M))5so a## . (uttons
name! ?on@ to start the cacuator an# ?cear@ to cear the text (ox)
Dispa! appropriate error message in the text (ox)


16

Submit Reset
J
1
u
m
(e
r
'
5rithmetic 4acuator
L
1
u
m
(e
r
M
;n 4ear
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,
.) Write /0 )1et program to #esign foo*ing form) "he NN & N & O )OO (utton are use# to
vie* first & previous & next & an# ast recor# respective!) "he a## (utton a## ne* recor# &
save (utton save recor# in #ata(ase) "he cance (utton cance current operation an# exit
(utton exit the appication)

'(ar)" *+,
3) Write a 8ava9cript co#e for counting o##& even& prime num(ers from 1 to100)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 8ava program *hich *i create a frame if *e tr! to cose it& it shou# it@s coor
an# it remains visi(e on the screen$,se s*ing))
'(ar)" *+,
.) Write /0)1et program to #esign foo*ing form to accept #ate from user using caen#ar
contro an# on cicking comman# (utton #ispa! resut in appropriate text(ox in first
text(ox #ispa! #ate increment (! 1 #a! an# in secon# text(ox #ispa! #ate #ecrement (! .
#a! (! using function overoa#ing)


17

J
1
u
m
(e
r
L
1
u
m
(e
r
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]

'(ar)" *+,
3) Write a 8ava9cript co#e *hich *i greet accor#ing to the current timing)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) 4reate a cass 9hape *hich consists one fina metho# area $) an# voume $))4reate three
su(casses =ect& 4irce an# "riange an# cacuate area an# voume of it) '(ar)" *+,
.) Write a program in /0)net to #ispa! the status of mouse using a(e contros program
shou# #ispa! current x&! positions of mouse ) When user cicks eft or right
(uttons a(e shou# in#icate *hich (utton is presse#) %rogram shou# aso in#icates #ou(e
cick )When user cicks on cose & sho* summer! report as given (eo*


1C

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,
0) Write a 8ava9cript co#e for accepting name an# mo(ie num(er from user) $use
vai#ations))
Re:!ire3 Vali3ation" are 9 1ame text fie# shou# not accept num(ers& specia
characters& aphanumeric characters& ength shou# (e .0 characters)
Mo(ie num(er text fie# shou# not accept characters& specia characters& aphanumeric
characters& ength shou# (e 10 #igits)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) 4reate an appication in 8ava using A4t to #ispa! 6 P 6 sBuares on the screen) ;ne of
the (ock *i (e active *ith (ack coor) 5 other (ocks shou# (e fie# *ith (ue coor)
%rovi#e comman# (uttons as foo*s to move the active ce) "he active ce shou# (e
change# on! if it is *ithin the (oun#ar! of the sBuares other*ise give the (eep)


'(ar)" *+,


1D


UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
.) Write /0 )1et program to #esign foo*ing form ) 5ccept 1um(er from user *ith
proper vai#ations 9eect ra#io (utton &after cicking comman# (utton #ispa! resut in
text(ox ) :f num(er. is entere# as >ero an# operator is #ivision then #ispa! error
message@ Divi#e (! Qero@ in resut text(ox )$use exception han#ing)
'(ar)" *+,
*) Write a 8ava9cript co#e for accepting user name an# pass*or# $use vai#ations))
Re:!ire3 Vali3ation" are 9 ,ser name text fie# shou# not accept num(ers& specia
characters& aphanumeric characters& ength shou# (e .0 characters)
%ass*or# text fie# ength shou# not (e ess than 3 characters)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) 4reate an a(stract cass 9hape) Derive three casses sphere& cone an# c!in#er from it)
4acuate area an# voume of a) $,se Metho# overri#ing)
'(ar)" *+,
.) Write /0)net program to #esign a cacuator *ith proper vai#ation)
'(ar)" *+,


1F

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
3) Write a 8ava9cript co#e for cacuating (is) :f Buantit! is ess than 7 then there is an!
#iscount& :f Buantit! is greater than 7 an# ess than .7 then #iscount is 7R& :f Buantit! is
greater than .7 an# ess than 70 then #iscount is 17R& :f Buantit! is greater than 70
#iscount is .0R) '(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 8ava program to #esign a screen using A4t that *i take a user name an#
pass*or#) :f the user name an# pass*or# are not same& raise an exception *ith appropriate
message) ,ser can have 3 ogin chances on!) ,se cear (utton to cear the text (oxes)


1K

1ame
%ass*or#
3ogin 4heck
3ogin 4ear
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
'(ar)" *+,
.) Write a program in /0)1et to compute the tota num(er of stu#ents *ho have passe# in
the <:=9"& 9+4;1D an# "2:=D cass) "he con#ition is
"ota Marks OC0'<irst 4ass
"ota Marks O70 9econ# cass
"ota Marks O60'"hir# cass
"ota MarksN60'<ai
,se appropriate Data(ase )9ho* the tota num(er of stu#ent cass *ise)
5## the foo*ing to !our form
i) <our 3a(e contros
ii) <our "ext 0ox 4ontros
iii) ;ne 4omman# 0utton $<or 9ho*)
'(ar)" *+,
3) Write a 8ava9cript co#e to accept num(er from user) Make a vai#ation an# print that
num(er in reverse or#er)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Design a screen in 8ava to han#e the mouse events an# #ispa! the positions of the
mouse cick in a text (ox) '(ar)" *+,
.) Write a program in /0)1et to #ispa! foo*ing form:


.0

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
5## (utton *i a## the text from text(ox to 3ist1) 0utton ?O@ *i move seecte# items
from 3ist1 to 3ist.& ?OO@ *i move a items from 3ist1 to 3ist.) 0utton @N@ *i move
seecte# item from 3ist. to 3ist1& ?NN@ *i move a items from 3ist. to 3ist1) 4ear (utton
*i cear (oth the 3ist) Whie moving items from 3ist1 to 3ist. #upicates items are not
ao*e#) '(ar)" *+,
3) Write 2"M3 an# 8ava9cript co#e to accept information)



4ear +xit 4ear
<orm1
U"er In7ormation
1ame :
Een#er : Mae <emae
5ge :
2o((ies :
.1

S!mit Re"et
Watching "/
4ricket
=ea#ing
"raveing
0'10
+nter "ext
5##
O
O
O
N
N
N
3ist1 3ist.
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
/ai#ate text(oxes an# #ispa! accepte# information) '(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a java program that #ispa!s the num(er of characters& ines - *or#s from a fie)
'(ar)" *+,
.) Write a program in /0)1et to create a MD: project that ao*s the user to seect mutipe
*in#o*s an# give the status of the current! active *in#o*) "he user shou# not s*itch to
other *in#o* unti the current *in#o* is cose#) "he menu items for the chi# *in#o*s
shou# (e #ifferent from the MD: <orm) '(ar)" *+,
3) Write an 59% co#e to #ispa! sum of a o## num(ers (et*een 1 to .0)
)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


..

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a java program that rea#s ine of integers) Dispa! each integer an# aso #ispa!
sum of a integers
'(ar)" *+,
.) Write a program in /0)1et to the foo*ing operation on the =ich test (ox vaues

i) <ont 9t!e
ii) <ont 4oor
iii) :n#ent
iv) 9ave text
v) +xit
5## the foo*ing to !our form

i) ;ne =ich "ext 0ox
ii) 9ix comman# 0utton contros $<ont 9t!e& <ont 4oor& :n#ent& 9ave "ext& +xit)
'(ar)" *+,
3) Write a 8ava9cript co#e to cacuate maximum& minimum& sum an# average of num(ers
in an arra!) Make a vai#ation)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


.3

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a java program to accept a num(er from the user& if num(er is >ero then thro* user
#efine# exception S1um(er is 0T other*ise check *hether no is prime or not $,se static
ke!*or#))
'(ar)" *+,
.) Write a program in /0)1et to create a simpe +#itor) 4reate a (utton that *i ao* the
user to access functions ike <ie open& 9ave& <in#)
'(ar)" *+,
3) Write an 59% co#e to #eete first recor# from stu#ent ta(e an# #ispa! remaining recor#
on the screen) $9tu#ent ta(e shou# contain #etais as ' rono& stu#Hname& a##ress))
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


.6

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a package for Eames& *hich have t*o casses :n#oor an# ;ut#oor) ,se a function
#ispa! $) to generate the ist of pa!ers for the specific games) ,se #efaut an#
parameteri>e# constructors) Make use of protecte# access specifier) 5so use finai>e $)
metho#) '(ar)" *+,
.) Write a program in /0)1et *hich contains a form& a text (ox an# 3a(e) Write a co#e& $:
suggest the A+G %=+99 event proce#ure of the text (ox) using the 9eect 4ase statement&
that accepts a character into the text (ox& an# #etermines *hether the character is a /o*e)
:n the 3a(e& #ispa! if a note sa!ing that this character is a /o*e)
'(ar)" *+,
3) Write an 59% co#e to rea# empHno& empHname& a##ress& saar! from the #ata(ase)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


.7

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) 4reate a .ac)a&e TYBSc *hich *i have . casses as cass (at8ematic" *ith a
metho#s to a## t*o num(ers& a## three foat num(ers an# cass (axim!m *ith a metho#
to fin# maximum of three num(ers) $Make use of finai>e)
'(ar)" *+,
.) Write a program in /0)1et to #o the foo*ing operation on 3ist 0ox an# 4om(o (ox
contros
i) 5## :tem
ii) =emove :tem
iii) 9ort :tems
iv) 9inge seection of :tem
v) Muti seection of :tem
vi) +xten#e# Muti 9eect ;f :tem
vii) Dispa!ing Mutipe 4oumns of +ntries
viii) 4ear :tems)
5## the foo*ing to !our form

i) ;ne 3ist 0ox 4ontro
ii) ;ne 4om(o 0ox 4ontro
iii) ;ne 4omman# 0utton$<or =emove)
'(ar)" *+,
3) Write an 59% co#e to accept pro#Hco#e& pro#Hname& Bt!& price& totaHprice from user&
store in #ata(ase an# then #ispa! a pro#uct #etais on the screen)
'(ar)" 0+,
6) /iva '(ar)" 1+,


.C

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
7) 8ourna '(ar)" 1+,
1) Write a program in 8ava to =ea# &,p#ate an# Deete an! recor# from #ata(ase) "he
#ata(ase *i (e create# in appropriate (acken#)
Data(ase a(out +ement $ ;x!gen& 2!#rogen) has foo*ing fie#s $ 5tomic *eight &
1ame& 4hemica s!m(o)
"he input shou# (e provi#e# through 4omman# 3ine 5rgument aong *ith the appropriate
#ata)
+x) 8ava %gmHname =
Wi rea# an# sho* the contents of the ta(e)
+x) 8ava %gmHname , 10 @;x!gen@ 13D
Wi up#ate the recor# accor#ing to the name specifie#) (#%BC)
$,se of fie han#ing concept) '(ar)" *+,
.) Write a program in /0)1et to #o foo*ing
a) 4reate a project *ith a singe form& a comman# (utton an# a common #iaog
contro) When the comman# (utton is cicke#& open the common #iaog (ox to
permit the user to change the 0ack4oor of the form)
() 4reate a project *ith singe form& a comman# (utton& a common #iaog contro
an# a(e) ,se a common #iaog (ox to permit the user to change the font si>e of
the a(e)
'(ar)" *+,
3) Write an 59% co#e to accept projectHco#e from user& #eete that project #etais from the
?%roject@ ta(e an# #ispa! message on the screen) $%roject ta(e shou# contain project
#etais as ' projectHco#e& projectHname& startH#ate& en#H#ate))
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


.D

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a cass St!3ent *ith attri(utes ro no& name& age an# course) :nitiai>e vaues
through parameteri>e# constructor) :f age of stu#ent is not in (et*een 17 an# .1 then
generate user'#efine# exce.tion S5ge 1ot Within "he =angeT):f name contains num(ers or
specia s!m(os raise exce.tion ;1ame not vai#<5
'(ar)" *+,
.) Write a program in /0)1et to #o the foo*ing
a) 9ho* the progress on form using %rogress(ar
() ,se the "imer contro
c) "o see the progress take sho* progress status (utton
#) 5fter competing progress sho* the Main MD: <orm)
'(ar)" *+,
3) Write an 59% co#e to accept itemHno& itemHname& Bt!& price& totaHprice from user& store
in #ata(ase an# then #ispa! a item #etais on the screen in ta(e format)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


.F

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
1) Write a 8ava program to accept ist of fies as comman# ine arguments) Dispa! the
name an# si>e of a the fies) Deete a fies *ith extension as ?)htm@ from the current
#irector!) 5ppropriate error messages shou# (e printe#)$,se vector 5rra!)
'(ar)" *+,
.) Write a program in /0)net to #ispa! the status of mouse using a(e contros program
shou# #ispa! current x&! positions of mouse ) When user cicks eft or right (uttons a(e
shou# in#icate *hich (utton is presse#) %rogram shou# aso in#icates #ou(e cick )When
user cicks on cose & sho* summer! report as given (eo*
'(ar)" *+,
3) Write 2"M3 program using a 59% co#e to #ispa! foo*ing:


.K

UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
St!3ent In7ormation
Roll No 9
Name 9
A33re"" 9
P8one N!mer 9
Email I3 9
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,
1) Write a 8ava program to #esign a screen using A4t that *i create four text fie#s) <irst
for the text& secon# for *hat to 7in3 an# thir# for re.lace) Dispa! resut in the fourth text
fie#) 5so #ispa! the count of tota no) of repacements ma#e) "he (utton cear to cear
the text (oxes)
'(ar)" *+,


30

S!mit Re"et
+nter "ext
"ext "o <in#
"ext to =epace
1o) ;f occurrences
<in#
<in# an# =epace
=epace 4ear
UNIVERSITY OF PUNE
BCA (Sem-V) Practical Examination
La co!r"e- (#AVA$ %OT NET$ Internet Pro&rammin&)
[Duration 3 hrs] [Maximum Marks: 100]
.) Write a program in /0)1et to #o foo*ing
a) 4reate a project *ith a singe form& a comman# (utton an# a common #iaog
contro) When the comman# (utton is cicke#& open the common #iaog (ox to
permit the user to change the 0ack4oor of the form)
() 4reate a project *ith singe form& a comman# (utton& a common #iaog contro
an# a(e) ,se a common #iaog (ox to permit the user to change the font si>e of
the a(e)
'(ar)" *+,
3) Write an 59% co#e to #ispa! a pa!er #etais store# in the #ata(ase on the screen in
ta(e format) $%a!er #etais are ' pno& pname& a##ress& gameHname)
'(ar)" 0+,
6) /iva '(ar)" 1+,
7) 8ourna '(ar)" 1+,


31

Anda mungkin juga menyukai