Create Employee class with some attributes and method
1. Given a text file contains the name and gender of students, read the file and store the names and genders in a list.
2. Count how many male and female in the list.
3 Store the names of male and female in two different lists.
text file
name,gender
Alice,f
Bruce,m
Cloud,m
Darren,m
Eidy,f
Flower,f
Guile,m
Honda,m
Ilhamah,f
Judy,f
Kennedy,m
Laisy,f
1. Given the scores of students for Mathematics, English and Science, calculate the average score of each student and store it in a list.
2. Write the names, scores of each subject and average scores into a text file or csv file.
Code:
names = ['Zendaya', 'Yaacob', 'Xander', 'Willy',
'Vega', 'Umar', 'Takata', 'Sheena', 'Rhina', 'Queen']
math = [67, 73, 71, 11, 51, 46, 29, 51, 66, 25]
english = [87, 48, 93, 41, 69, 43, 0, 17, 78, 74]
science = [73, 71, 17, 81, 8, 33, 39, 33, 17, 93]
Given a die, it has 6 faces in which each face has either dot/s of 𝑥=1,2,3,4,5 𝑎𝑛𝑑 6. Given it as the population, consider sample of size 𝑛=3. Find the population mean, population variance, population standard deviation, the mean, variance and standard deviation of the sampling distribution of the sample mean and illustrate its probability histogram of the sampling distribution of the sample means
Given a die, it has 6 faces in which each face has either dot/s of 𝑥=1,2,3,4,5 𝑎𝑛𝑑 6. Given it as the population, consider sample of size 𝑛=3. Find the population mean, population variance, population standard deviation, the mean, variance and standard deviation of the sampling distribution of the sample mean and illustrate its probability histogram of the sampling distribution of the sample means
Identify the region/area under the normal curve corresponding to each of the following.
1.Between Z=0 and z=1.36
2.between z=0 and z=1.87
3.between z=1.36 and z= 2.5
4.between -1.36 and z= -1.87
5. Between z=-1.36 and z=2.5
6.between z=1.36 and z=-2.5
What is the capacitance of a parallel plate capacitor with metal plates, each of area 1.00 m2, separated by 1.00 mm?
A sample of 250 workers aged 16 and older produced an average length of time with the current employer of 4.4 years with standard deviation of 3.8 years. Construct a 99.9% confidence interval for mean job tenure of all workers aged 16 or older
The average value of the particulate matter (PM10) in the air of Kuala Lumpur is 77 (μg/m3).. The average value of the particulate matter (PM10) is 65 (μg/m3) as calculated from the sample data. The standard deviation of the population is 44 (μg/m3). Use a significance level of α=0.05 to carry out the analysis.