SLIP NO.1
Q1.
<html>
<head>
<style type="text/css">
body
{
background:yellow;
color:red;
}
h1{
color:red;
font-family:times new roman;
font-size:20pt;
text-align:center;
text-transform:uppercase;
background-color:blue;
}
form
{
border-style:dotted;
}
</style>
<form>
<h1>Project Management</h1>
Project Name<input type=text name=t1 placeholder=project
name><br>
Assignned to<select>
<option>Mr.Kale</option>
<option>Mr.Kale</option>
<option>Mr.Kale</option></select><br>
Start date<input type=date><br>
End date<input type=date><br>
Priority <input type=radio name=r1>High <input
type=radio name=r1>avg <input type=radio
name=r1>low<br>
Decription<textarea rows=10 cols=25></textarea>
</form></body>
</html>
-----------------------
SLIP NO.2
Q1.
<HTML>
<HEAD><TITLE><CENTER>My
CITY</CENTER></TITLE></HEAD>
<body style="background-color:red">
<h1 style="color:blue;">Nashik Maharashtra</h1>
<p style="background:yellow;color:blue;textdecoration:overline;border-style:solid;borderwidth:5px;">Landmarks</p><br>
<h2 style="font-family:Berlin Sans FB;fontstyle:italic;color:yellow;border-style:dashed;bordercolor:red;">Kalaram Temple</h2><BR>
<h2 style="font-family:arial;font-style:bold;color:pink;borderstyle:dotted;border-color:black;">Godavri River</h2><BR>
<h2 style="font-familyTimes new roman;fontstyle:italic;border-style:dashed;border-color:red;">Kalaram
Temple</h2><BR>
<IMG SRC="Desert.jpg" WIDTH="400" HEIGHT="400"
ALT="IMAGE CANNOT BE DISPLAYED">
</body>
</HTML>
---------------------
SLIP NO.3
Q1.
<HTML>
<HEAD><TITLE><CENTER>My
CITY</CENTER></TITLE></HEAD>
<body>
<h1 style="background:yellow;color:red;textalign:center;font-family:Comic Sans MS">Infosys</h1><br>
<p style="color:blue;border-style:dotted;bordercolor:black">Infosys Limited is an Indian multinational
information technology company that provides business
consulting, information technology and outsourcing services.
The company was founded in Pune and is headquartered in
Bangalore.[5] Infosys is the second-largest Indian IT company,
after Tata Consultancy Services, by 2020 revenue figures, and
the 602nd largest public company in the world, according to
the Forbes Global 2000 ranking.[6]
On 24 August 2021, Infosys became the fourth Indian
company to reach $100 billion in market capitalization.</p>
</body>
</HTML>
--------------
SLIP NO.4
Q1.
<html>
<body>
<table border=5>
<caption>List of Books</caption>
<tr><td rowspan=2>Item No</td><td
rowspan=2>Name</td><td colspan=2>Price</td>
<tr><td>rs</td> <td>paise</td></tr>
</tr>
<tr><td>1</td><td>python</td><td>500</td><td>50</td></
tr>
<tr><td>2</td><td>Java</td><td>345</td><td>00</td></tr>
</table></body></html>
--------
Slip 5-
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="jumbotron text-center">
<h1>My First Bootstrap Page</h1>
37
<p>Resize this responsive page to see the effect!</p>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4">
<h3>Personal Information</h3>
<p>Add your personal information..</p>
<p>...</p>
</div>
<div class="col-sm-4">
<h3>Educational Information</h3>
<p>Add your educational information....</p>
<p>...</p>
</div>
<div class="col-sm-4">
<h3>Job Profile</h3>
<p>Add your job profile information.....</p>
<p>...</p>
</div>
</div>
</div>
</body>
</html>
Q2)A
import random
import matplotlib.pyplot as plt
# Generate a random array of 50 integers
data = [random.randint(0, 100) for _ in range(50)]
# Line chart
plt.plot(data, color='blue', linestyle='solid', label='Line chart')
# Scatter plot
plt.scatter(range(len(data)), data, color='red', label='Scatter plot')
# Histogram
plt.hist(data, bins=10, color='green', alpha=0.5, label='Histogram')
# Box plot
plt.boxplot(data, patch_artist=True, labels=['Box plot'])
# Add title, labels, and legend
plt.title('Random Data')
plt.xlabel('X-axis')
plt.ylabel('Y-axis')
plt.legend()
# Show plot
plt.show()
B//////////////
import pandas as pd
# Read the CSV file into a pandas DataFrame
df = pd.read_csv("User_Data.csv")
# Print the shape of the DataFrame
print("Shape:", df.shape)
# Print the number of rows and columns
print("Number of rows:", df.shape[0])
print("Number of columns:", df.shape[1])
# Print the data types of each column
print("Data types:")
print(df.dtypes)
# Print the feature names
print("Feature names:")
print(df.columns)
# Print the description of the data
print("Description:")
print(df.describe())
SLIP NO.7
Q1.
<!DOCTYPE html>
<html>
<head>
<style>
#ul-nb {
list-style: none;
margin:0;
padding:0;
overflow: hidden;
background-color: grey;
}
#ul-nb li {
float:left;
padding:15px;
text-align: center;
margin-left:10px;
}
.active {
background-color: white;
}
</style>
</head>
<body>
<ul id="ul-nb">
<li><a class="active" href="#">Home</a></li>
<li><a href="#">Java</a></li>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
</ul>
</body>
</html>
---------------
SLIP NO.8
Q1.
<html>
<body>
<form action="setb1.php" method=post>
Enter first string :<input type='text' name='str1'><br>
Enter second string :<input type='text' name='str2'><br>
<input type=submit value=ok>
</form>
</body>
-------
SLIP NO.9
Q1.
<html>
<body>
<form action=secondprog.php method=post>
<label>Enter the string:*</label><br>
<input type='text' name='string1'><br><br>
<label>choice the separator:*</label><br>
<select name="separator">
<option value="">[select]</option>
<option value="#">#</option>
<option value="%">%</option>
<option value=",">,</option>
<option value="!">!</option>
</select><br><br>
<input type='radio' name="choice" value=1>separate
string<br>
<input type='radio' name="choice" value=2>replace
separator
<!-- for replacement of separator we need another
dropdownlist -->
<select name="newsep">
<option value="">[select]</option>
<option value="#">#</option>
<option value="%">%</option>
<option value=",">,</option>
<option value="!">!</option>
</select><br>
<input type='radio' name="choice" value=3>Get the
last word of String<br>
<br><input type=submit value=ok>
<br><input type=reset value=cancel>
</form>
</body>
</html>
--------------------
Slip10
<html>
<body>
<form action="seta1.php" method=post>
Enter first number<input type=text name=t1><br>
Enter second number<input type=text name=t2>
<input type=submit value=display></form></body></html>
----------
SLIP NO.11
Q1.
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1">
<link rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css
/bootstrap.min.css">
<script
src="https://cdn.jsdelivr.net/npm/jquery@3.6.1/dist/jquery.sl
im.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/um
d/popper.min.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/b
ootstrap.bundle.min.js"></script>
</head>
<body>
<div class="container">
<h2>Button Styles</h2>
<button type="button" class="btn">Basic</button>
<button type="button" class="btn btnprimary">Primary</button>
<button type="button" class="btn btnsecondary">Secondary</button>
<button type="button" class="btn btnsuccess">Success</button>
<button type="button" class="btn btn-info">Info</button>
<button type="button" class="btn btnwarning">Warning</button>
<button type="button" class="btn btndanger">Danger</button>
<button type="button" class="btn btn-dark">Dark</button>
<button type="button" class="btn btn-light">Light</button>
<button type="button" class="btn btn-link">Link</button>
</div>
</body>
</html>
-----------
SLIP NO.12
Q1.
<html>
<body>
<form name="f1" action="setb1.php" method="POST">
Enter the 1st number<input type="text" name="n1">
<br>Enter 2nd number<input type"text name="n2">
<br>Addition<input type=radio name=radio value="a">
<br>Subtraction<input type=radio name=radio value="s">
<br>Multiplication<input type=radio name=radio
value="m">
<br>Division<input type="radio" name="radio" value="d">
<br><input type="submit" value="Answer">
</form>
</body>
</html>
--------------------
0 Comments