Signature
Signature Of
Of Internal Examiner
External Examiner
ACKNOWLEDGEMENT
A project usually falls short of its expectations unless guided
by the right person at the right time. This project would not
have been completed without the direct and indirect support of
"Mrs Mallick" and school authorities. She provided me
with an environment conductive of healthy learning and her
support. This project would not have been such a success
without her contribution. Last but not the least, I would
like to thank my Family, Friends and all those who helped
me in some way or the other in successful completion of the
project.
Ankur verma
INDEX
JAVA ;-
1.
Design a GUI application to accept the cost price and selling price
form the user in two text fields then calculate the profit or loss
incurred.
2.
Create a GUI application for repeatedly doing a task based on the
user input. (Example: To display the multiplication table of a
number input by the user)
3.
Design a GUI application that round off’s a given number up to selected
digits.
4.
Design a GUI application to accept two numbers in a text field and
interchange the values of first number and second number using a temporary
variable.
5. TEXT MANAGER
6.
7.
ROOT CACULATOR
8.
DIGIT CALCULATOR
9.
ELECTRONIC SHOP
10.
ICE CREAM SHOP
11.
HOTEL
12.
BILLING
JAVA ;-
1: Design a GUI application to accept the cost price and
selling price form the user in two text fields then calculate
the profit or loss incurred.
SOURCE CODE:
RUN MODE:
RUN MODE:
3. Design a GUI application that roundoff’s a given number up to
selected digits.
DESGIN MODE
SOURCE CODE:
RUN MODE:
4 Design a GUI application to accept two numbers in a text field and
interchange the values of first number and second number using a
temporary variable.
DESGIN MODE
SOURCE CODE:
RUN MODE:
5. TEXT MANAGER
DESGIN MODE:
SOURCE CODE:
RUN MODE:
6. Design a GUI application in JAVA to accept two numbers in a text
filed and interchange the values if first number and second number
using temporary variable.
DESGIN MODE
SOURCE CODE:
RUN MODE:
7. ROOT CACULATOR
DESIGN MODE:
SOURCE CODE:
RUN MODE:
8 ELECTRONIC SHOP
9. ICE CREAM SHOP
DESIGN MODE
RUN MODE
SOURCE CODE
10. HOTEL
DESIGN MODE
SOURCE CODE
RUN MODE
MY SQL
TABLE IS CHARITY
Q1-display the first name in lower case
Q2-display all last name of people of Mumbai city in
uppercase
Q-4display first name concatenated with last name for all the
employees
Q5-display length address along with person id
Q7-display last name and first name of people who have “at”
in second or third position in their first name
Q8-display the position of “a” in last name in every row
Q9-display last name and first name of people who have “a”
as the lasT character in their first name
TABLE SPORTS
’
Q2-Display the no. of students in each class in table
students.
1. Table items
CREATING TABLE
INSERTING VALUES
Q1-Display the avg rate of a south Indian item.
HTMT
Q1 TO DISPLAY SALARY IN TABLE
CODE
<html>
<head>
<title>HTML Table</title>
</head>
<body>
<table border = "1" width = "100%">
<tr>
<td>
<table border = "1" width = "100%">
<tr>
<th>Name</th>
<th>Salary</th>
</tr>
<tr>
<td>Ramesh Raman</td>
<td>5000</td>
</tr>
<tr>
<td>Shabbir Hussein</td>
<td>7000</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
RESULT
Q2 CREAT A FORM FOR CAB
CODE
<HTML>
<HEAD>
<TITLE> FORM </TITLE>
</HEAD>
<BODY>
<form >
<p>
<label>Name
<input type="text" name="customer_name" required>
</label>
</p>
<p>
<label>Phone
<input type="tel" name="phone_number">
</label>
</p>
<p>
<label>Email
<input type="email" name="email_address">
</label>
</p>
Which taxi do you require?
<p><label> <input type="radio" name="taxi" required value="car"> Car
</label></p>
<p><label> <input type="radio" name="taxi" required value="van">
Van </label></p>
<p><label> <input type="radio" name="taxi" required value="tuktuk">
Tuk Tuk </label></p>
Extras
<p><label> <input type="checkbox" name="extras" value="baby">
Baby Seat </label></p>
<p><label> <input type="checkbox" name="extras"
value="wheelchair"> Wheelchair Access </label></p>
<p><label> <input type="checkbox" name="extras" value="tip"> Stock
Tip </label></p>
<p>
<label>Pickup Date/Time
<input type="datetime-local" name="pickup_time" required>
</label>
</p>
<p>
<label>Pickup Place
<select id="pickup_place" name="pickup_place">
<option value="" selected="selected">Select One</option>
<option value="office" >Taxi Office</option>
<option value="town_hall" >Town Hall</option>
<option value="telepathy" >We'll Guess!</option>
</select>
</label>
</p>
<p>
<label>Dropoff Place
<input type="text" name="dropoff_place" required
list="destinations">
</label>
<datalist id="destinations">
<option value="Airport">
<option value="Beach">
<option value="Fred Flinstone's House">
</datalist>
</p>
<p>
<label>Special Instructions
<textarea name="comments" maxlength="500"></textarea>
</label>
</p>
<p><button>Submit Booking</button></p>
</form>
</BODY>
</HTML>
RESULT
XML
Q1. Write an xml on type of plants with there
price and botanical name
<?xml version="1.0" ?>
<CATALOG>
<PLANT>
<COMMON>Bloodroot</COMMON>
<BOTANICAL>Sanguinaria canadensis</BOTANICAL>
<ZONE>4</ZONE>
<LIGHT>Mostly Shady</LIGHT>
<PRICE>$2.44</PRICE>
<AVAILABILITY>031599</AVAILABILITY>
</PLANT>
<PLANT>
<COMMON>Columbine</COMMON>
<BOTANICAL>Aquilegia canadensis</BOTANICAL>
<ZONE>3</ZONE>
<LIGHT>Mostly Shady</LIGHT>
<PRICE>$9.37</PRICE>
<AVAILABILITY>030699</AVAILABILITY>
</PLANT>
<PLANT>
<COMMON>Marsh Marigold</COMMON>
<BOTANICAL>Caltha palustris</BOTANICAL>
<ZONE>4</ZONE>
<LIGHT>Mostly Sunny</LIGHT>
<PRICE>$6.81</PRICE>
<AVAILABILITY>051799</AVAILABILITY>
</PLANT>
<PLANT>
<COMMON>Cowslip</COMMON>
<BOTANICAL>Caltha palustris</BOTANICAL>
<ZONE>4</ZONE>
<LIGHT>Mostly Shady</LIGHT>
<PRICE>$9.90</PRICE>
<AVAILABILITY>030699</AVAILABILITY>
</PLANT>
<PLANT>
<COMMON>Dutchman's-Breeches</COMMON>
<BOTANICAL>Dicentra cucullaria</BOTANICAL>
<ZONE>3</ZONE>
<LIGHT>Mostly Shady</LIGHT>
<PRICE>$6.44</PRICE>
<AVAILABILITY>012099</AVAILABILITY>
</PLANT>
<PLANT>
<COMMON>Ginger, Wild</COMMON>
<BOTANICAL>Asarum canadense</BOTANICAL>
<ZONE>3</ZONE>
<LIGHT>Mostly Shady</LIGHT>
<PRICE>$9.03</PRICE>
<AVAILABILITY>041899</AVAILABILITY>
</PLANT>
</CATALOG>