Bca 651 Java Lab Assignment
Bca 651 Java Lab Assignment
On
BCA651
Web Technologies & Java
Programming Lab
Submitted To:
Submitted
By:
Ms. Shikha Garg
Mr. Deependra Rastogi
Student Name :
Enrollment No. :
Course :
Section: B
LAB ASSIGMENT NAME Web Technology (HTML)
LAB ASSIGMENT NO. - 1
S
No
1
2
3
4
5
6
7
Program Name
Write HTML code for inserting image in
background of the web page and a moving
text My Page.
Write HTML code for creating an ordered
list of product. List should contain at least
10 items.
Create a html page that contains any
multiline text for describing TMU using
paragraph [<p> tag] and line break [</br>
tag].
Create a html page and apply horizontal
rule.
Write HTML code for creating an unordered
list of product. List should contain at least
10 items. Also add heading to the page
My List
Write the following text in HTML(i) 2H2O
(ii) CopyRight(c)
Create a html page that contains the text
as Teerthanker Mahaveer University and
make it (I) bold (II) italic (III) underlined
(IV) emphasized (V) striked (VI) centered
Create a html page that display computer
code like
for i = 1 to 10
print i
next i
Create a html page having ordered list as
1)
MCA
MASTER
OF
COMPUTER
APPLICATIONS
2)
MBA-MASTER
OF
BUSINESS
Page
No
Date
Sign
Remar
k
ADMINISTRTION
3)
BBA-BECHLOR
OF
BUSINESS
ADMINISTRTION
4)
BCABECHLOR
OF
COMPUTER
APPLICATIONS
10
Create a html page having some text like
WEB TECHONOLOGIES.
i) i) Take background color of the document
as yellow.
ii) ii) Take some image in the background of
the document.
S
No
1
2
3
4
5
6
Program Name
Page
No
Telephone
Bill
Gates
555
854
77 555
855
77
Date
Sign
Remar
k
as vertical direction.
7
Create a html page and apply style on all
header from h1 to h6 and make color of all
header green and font size of all header
same. Group all headers elements.
8
Create a html page that uses external style
sheet namely style.css and mention style
like background color of the body as
white, color of h1 header as green and
font-size of h1 header as 20pt, color
horizontal rule as navy, font-size for
paragraph as 14pt, left margin of
paragraph text as 50pt and finally hover
style color for hyperlink as yellow
9
Create a html page and apply different
types of color for the hyperlink when it is
visited then set color as red ,when it is
hover then set color as yellow and when it
is active then set color as blue.
10
Display the Text Box, Radio Button and Text
Area in an HTML page. Also check whether
they are null or not.
LAB ASSIGMENT NAME Web Technology (HTML)
LAB ASSIGMENT NO. - 3
S No
Program Name
2
3
4
5
6
7
Page
No
Date
Sign
Remar
k
9
10
Program Name
Page
No
Date
Sign
Remar
k
3
4
9
10
11
12
13
Note: n <= 5
Sample Input: Enter the size of the
matrix : 4
Sample Output: The Magic Matrix of
size 44 is:
14
15
16
17
18
19
20
21
Attribute
s
Name
Roll no,
Course
Branch
Branch,
Grade
Methods
Constructor
Constructor,
display
Constructor,
display
Constructor,
display
Qualificati
Constructor,
on,
display,
Designatio setQualificati
n
on, promote
Create an abstract class Shape with
methods
Person
calc_area and calc_volume. Derive three
classes Sphere(radius) , Cone(radius, height)
and Cylinder(radius, height), Box(length,
breadth, height)
area and
Studentfrom it. Calculate
Teacher
volume of all. (Use Method overriding).
Graduate
Post Graduate
Define
an abstract
class Staff with
members name and address. Define two
subclasses of this class FullTimeStaff
(department, salary) and PartTimeStaff
(number_of_hours, rate_per_hour). Define
appropriate constructors. Create n objects
which could be of either FullTimeStaff or
PartTimeStaff class by asking the users
choice. Display details of all FullTimeStaff
22
S No
Program Name
Page
Date
Sign
Remar
No
1
10
11
12
13
14
15
16
17
SOW, SO SO YOU
WORD TO BE DELETED: SO
WORD POSITION IN THE SENTENCE: 4
OUTPUT:
18
cover.
Sample Output: Cover its by book a judge
not do
19
20
S No
Program Name
Page
No
viewer or browser.
WAP to print different shapes on an
Applet window like square, rectangle,
window.
WAP to add 3 buttons on an Applet
labeled
Red,
Green
and
Blue.
The
Date
Sign
Remar
k
and vice-versa.
Write an applet with a button at its lower
portion, when the button is clicked, the
program creates one more internal frame
and displays it at the center of the
applet.
Write an applet that contains textfields
and
radio
buttons.
The
user
enters
are 0.
Write an Applet program to display a
11
moving Ball.
WAP to create a Frame window along
with a button. The program should open
a new Frame window when the button is
12
clicked.
WAP to display a progress bar and a
button using Swing. The progress bar
should be filled with a delay of 0.5
13
14
15
16
17
displayed easily.
Write a Menu Driven program in JFrame.
is clicked.
WAP to display the use of Split pane,
19
Image.
WAP to
20
demonstrate
the
use
of
22
all
the
records
from
the
Create
an
application
which
stores,
25
26
table. (MY-SQL)
WAP to display a message on a JSP page.
Design a login page in jsp and check
whether the user is authorized or not.
Also welcome the user by its name and
displaying
the
current
time
and
an
image.