Final Lab Exam
1.
Css code for above image is as follows:
#container
{
width: 90%;
margin: 10px auto;
background-color: #fff;
color: #333;
border: 1px solid gray;
line-height: 130%;
}
#top
{
padding: .5em;
background-color: #ddd;
border-bottom: 1px solid gray;
}
#top h1
{
padding: 0;
margin: 0;
}
#leftnav
{
float: left;
width: 160px;
margin: 0;
padding: 1em;
}
#content
{
margin-left: 200px;
border-left: 1px solid gray;
padding: 1em;
max-width: 36em;
}
#footer
{
clear: both;
margin: 0;
padding: .5em;
color: #333;
background-color: #ddd;
border-top: 1px solid gray;
}
#leftnav p { margin: 0 0 1em 0; }
#content h2 { margin: 0 0 .5em 0; }
Html code :
<html>
<head>
<link rel="stylesheet" type="text/css"
href="mystyle.css" />
</head>
<body>
<div id="container">
<div id="top">
<h1>DA-IICT</h1>
</div>
<div id="leftnav">
<p>
Sen, also a professor of economics at Jawaharlal Nehru University (JNU), said: "We should not be concerned about the decline of the share of agriculture in the GDP, but should be concerned about the fact that the share of labour force in agriculture is not coming down commensurately."
</p>
</div>
<div id="content">
<h2>Lab Exam</h2>
<p>
"Agricultural markets in India are now transforming into multiple service centres for farmers and not just places of selling their products," Pawar said, adding that such a decentralised model of making market infrastructure work as an extension is quite relevant for African countries as well.
</p>
<p>
Milk production in India, world's largest producer, is projected to go up to 108 million tonne next year from an estimated 105 MT this fiscal, according to the US Department of Agriculture (USDA).
In its latest report on India's Dairy and Dairy Products, the USDA said: "Strong farm-gate prices along with rising domestic demand for a variety of milk products, supported by growth of the Indian economy, are the primary factors driving increased production".
USDA added, Punjab, Karnataka, Gujarat and Andhra Pradesh are giving special emphasis to cross-breed cow development programmes leading to improvement in the milk productivity rate in these states.
</p>
</div>
<div id="footer">
Easy question paper !!!
</div>
</div>
</body>
</html>
Now modify the above code and make it in 3 column template. Create separate CSS and HTML file.
2. A new drug for treating some disease has been proven to be effective 70% of the time. The drug is administrated to a sample of 9 patients suffering with the disease. Let the random variable X denote the number of patients cured. Simulate this sampling process 20 times, tabulate the simulated results, obtain the theoretical binomial distribution (n=9, p=0.7), and compare the simulated results.
3.
Production planning problem
A company manufactures four variants of the same product and in the final part of the manufacturing process there are assembly, polishing and packing operations. For each variant the time required for these operations is shown below (in minutes) as is the profit per unit sold.
Variant / Assembly / Polish / Pack / Profit in Rs.1 / 2 / 3 / 2 / 1.50
2 / 4 / 2 / 3 / 2.50
3 / 3 / 3 / 2 / 3
4 / 7 / 4 / 5 / 4.50
· Given the current state of the labour force the company estimate that, each year, they have 100000 minutes of assembly time, 50000 minutes of polishing time and 60000 minutes of packing time available. How many of each variant should the company make per year and what is the associated profit?
· Suppose now that the company is free to decide how much time to devote to each of the three operations (assembly, polishing and packing) within the total allowable time of 210000 (= 100000 + 50000 + 60000) minutes. How many of each variant should the company make per year and what is the associated profit?
4. A farmer has 1000 acres to be allocated among three crops. The number of person-hours per acre required for each corp and its profit per acre are given as follows.
Person-hour per acre
3 / 5 / 4
Profit per acre
$600 / $300 / $500
Ifthe farmer has at most 6000 person-hours available, determine the number of acres of each crop that should be planted to maximize the total profit.
· Formulate this as a linear programming problem.
· Use a spreadsheet to solve the problem.
5. A market research team has take random samples of male and female employees working in the telecom sector. The sample yielded the following datasets on gender-wise salaries of the employees (in thousands of dollar/year)
Male:
32 / 37 / 36 / 32 / 5176 / 37 / 42 / 40 / 32
62 / 43 / 42 / 44 / 41
55 / 39 / 48 / 47 / 60
Female:
41 / 21 / 61 / 38 / 4126 / 61 / 60 / 34 / 24
30 / 37 / 31 / 27 / 39
34 / 33 / 34 / 34 / 35
Compare the dataset in terms of box-whisker plot .