A. State the null hypothesis (𝐻𝑜) and the alternative hypothesis (𝐻𝑎) for each
of the following. (10 points)
1. A medical trial is conducted to test whether or not a new medicine reduces
cholesterol by 25%.
𝐻𝑜:
𝐻𝑎:
2. We want to test whether the mean GPA of students in a certain college is different
from 2.0 (out of 4.0).
3. We want to test if college students take less than five years to graduate from
college, on the average.
𝐻𝑜:
𝐻𝑎:
4. On a state driver’s test, about 40% pass the test on the first try. We want to test if
more than 40% pass on the first try.
𝐻𝑜:
𝐻𝑎:
5. A research on whether computer aided instruction is better than lecture method
of a lesson presentation.
𝐻𝑜:
𝐻𝑎:
Create a “Boss” class that inherits from the “Armed Enemy” class. Implement an additional
armor level field for the “Boss” class and provide suitable getter and setter methods. Create a
“Boss” Object in the main function to test the functionality of your “Boss” class.
Task 3:
Consider a class Computer having Two fields (i.e. companyName, price) and A single function named show() A class named Desktop inherits Computer class and adds fields representing color, monitor size, and processor type and Override function named show() to display values of its all attributes A class named Laptop inherits Computer class and adds fields representing color, size, weight, and processor type and Override function named show() to display values of its all attributes In Main() instantiate objects of derived classes to access respective show() functions to see the polymorphic behavior.
Task 2:(Inheritance and Polymorphism)
We want to calculate the total marks of each student of a class in Physics, Chemistry and
Mathematics and the average marks of the class. The number of students in the class are entered by the user. Create a class named Marks with data members for roll number, name and marks. Create three other classes inheriting the Marks class, namely Physics, Chemistry and Mathematics, which are used to define marks in individual subject of each student. Roll number of each student will be generated automatically.
Task 1:(Inheritance and Polymorphism)
Make a class named Fruit with a data member to calculate the number of fruits in a basket. Create two other class named Apples and Mangoes to calculate the number of apples and mangoes in the basket. Print the number of fruits of each type and the total number of fruits in the basket.
Assuming no molecules escape or are added, what happens to the mass of water in a pot when it cools? Is it observable in practice? Explain
Do the question with only python
Write a program in which you need to
Create a class called ‘SHAPE’ (should be made an abstract class) having two instance variable Length (double), Height (double)
instance method Get Data () to get and assign the values (to length &Height) from the user
it also has a method Display Area () to compute and display the area of the geometrical object.
Inherit two specific classes ‘TRIANGLE’ and ‘RECTANGLE’ from the base class that utilize the base class method.
Using these three classes design a program that will accept dimension of a triangle/rectangle interactively and display the area.
Hint:
Area of Triangle=1/2(L*h)
Area of Rectangle=L*h
Whenever solid calcium hydroxide, Ca(OH)2 (commonly known as lime) is present in water, it dissolves according to the equation:
Ca(OH)2(s) ↔ Ca2+(aq) + 2OH-(aq)
until the rate of the backward reaction equals the rate of the forward reaction and the solution is saturated.
A CAPE Chemistry student sought to determine the solubility product, Ksp of calcium hydroxide by titrating saturated solution of Ca(OH)2 against standardized hydrochloric acid solution, HCl. The saturated Ca(OH)2 solution was filtered, to remove excess solute, and 25mL aliquots were titrated against 0.10M HCl solution using bromothymol blue indicator.
A CAPE Chemistry student sought to determine the solubility product, Ksp of calcium hydroxide by titrating saturated solution of Ca(OH)2 against standardized hydrochloric acid solution, HCl. The saturated Ca(OH)2 solution was filtered, to remove excess solute, and 25mL aliquots were titrated against 0.10M HCl solution using bromothymol blue indicator.
Calculate the concentration of Calcium Hydroxide.
Use the equilibrium expression for the dissolution of Ca(OH)2 to determine the concentration of Ca2+ and OH–. [3]
According to the school librarian, the average number of pages of books in the reference section is 240. To
test her claim, she collected a sample of 15 books and after noting the number of pages of each book, she
determined that the mean number of pages is 224.6 with a standard deviation of 4.1. At α = 0.01, will the
librarian be able to prove her claim?