IN C#
Create classes: Person, Student, Employee, Professor, Staff and Address
In the Main Method, create three Lists for (Student, Staff, and Professor) with hard-coded data for at least 4 entries each.
Implement the menu driven CONSOLE logic as:
Press 1 to modify Student
Press 2 to modify Staff
Press 3 to modify Professor
Press 0 to exit program
|
☐modify Student Menu Press 1 to list all students Press 2 to add a new student Press 3 to update … Press 4 to delete … Press 5 to return to main menu |
☐ modify Staff Menu Press 1 to list all Staff Press 2 to add a new Staff Press 3 to update … Press 4 to delete … Press 5 to return to main menu |
☐modify Professor Menu Press 1 to list all Professors Press 2 to add a new Professor Press 3 to update … Press 4 to delete … Press 5 to return to main menu |
☐ Console application must have a hierarchy of above-shown menus and run continuously until the person quits the application
☐ For Search (required to find and update) must use LINQ.
In: Computer Science
Suppose a study determines that the amount of time that college students on a given campus work out each week changes from university to university. You are intrigued by this and randomly interview 60 BU students. You find that the average weekly gym time is 3 hours, and the standard deviation is 1 hour.
i. Is the sample mean normally distributed? Why or why not?
ii. Your friend thinks the average gym time for Boston University students is equal to 2.5 hours. Test their hypothesis at a 5 percent significance level. Be sure to clearly state the null hypothesis, the rejection region, and your conclusion.
iii. Calculate the p-value. Offer a range if you can't obtain the exact value.
Suppose now you do know that the population standard deviation is 1.
iv. Find the 90 percent confidence interval for the population mean. State the general formula, fill in the appropriate values, and determine the exact boundaries of the interval. [20 points]
In: Statistics and Probability
An article in the October 11, 2006, issue of the Washington Post claimed that 15% of high school students used cursive writing on the essay portion of the SAT exam in the academic year 2005-2006 (Pressler, 2006). Suppose you take a random sample from those exams and see what proportion of the sample used cursive writing for the essay. Assume the sample size is 180 do the following:
In: Statistics and Probability
A schoolteacher is concerned that her students watch more TV than the average American child. She reads that according to the American Academy of Pediatrics (AAP), the average American child watches 4 hours of TV per day (μ = 4.0 hours). She records the number of hours of TV each of her six students watch per day. The times (in hours) are 2.7, 4.8, 4.4, 2.4, 4.1, and 5.6.
(a) Test the hypothesis that her students watch more TV than the
average American child using a 0.05 level of significance and a
one-independent sample t-test. State the value of the test
statistic. (Round your answer to three decimal places.)
t =
(a) State the decision to retain or reject the null hypothesis.
Retain the null hypothesis.
Reject the null hypothesis.
(b) Compute effect size using estimated Cohen's d. (Round
your answer to two decimal places.)
d =
In: Statistics and Probability
Researchers wanted to know whether there was a difference in comprehension among students learning a computer program based on the style of the text. They randomly divided 36 students of similar educational level, age, and so on, into two groups of 18 each. Group 1 individuals learned the software using a visual manual (multimodal instruction), while Group 2 individuals learned the software using a textual manual (unimodal instruction). The following data represent scores that the students received on an exam given to them after they studies from the manuals. Is there a difference in test scores at significance level 0.05? (Independent Means)
|
Visual Manual |
Textual Manual |
||||||
|
51.08 |
60.35 |
57.03 |
76.60 |
64.55 |
43.58 |
39.91 |
72.40 |
|
44.85 |
70.77 |
75.21 |
70.15 |
57.60 |
57.40 |
65.31 |
42.01 |
|
56.87 |
47.60 |
75.28 |
46.59 |
68.59 |
49.48 |
51.95 |
61.16 |
|
57.07 |
81.23 |
80.30 |
67.30 |
50.75 |
49.57 |
49.07 |
|
|
52.20 |
60.82 |
49.63 |
56.54 |
||||
In: Statistics and Probability
Conditional Probability
Problem 1 Conditional probability
In group of 200 university students, 140 are full time students (80 females and 60 males) and 60 no full time students (40 females and 20 males).
Let
M=event a student is male
W=event a student is a female
F=event a student is full time
FC= event a student is not full time
1) Find the probability that a student is male and full time
2) Find the probability that a student is male and is not full time
3) Find the probability that a student is female and full time
4) Find the probability that a student is female and not full time
5) Find complete the following
Table1.1: Joint probability table for full time student
|
Full time |
Not full time |
Total |
|
|
Male |
|||
|
Female |
|||
|
Total |
6) Find the conditional probabilities
6.1)the probabilities of full time for a male student
6.2) the probabilities of full time for a female student
In: Statistics and Probability
Consider the following relational schema:
student(studID, studname, major, advisor)
department(deptname, major)
club(studID,clubname)
professor(profID, profname, building, deptname)
NOTE: KEY ATTRIBUTES ARE IN BOLD
where advisor takes values in the domain of professor names (profname) and
the underline attributes form the primary key of the corresponding relations.
Questions:
2.a. Find all students and their advisors.
2.b. Find all the students who are in any one of the clubs that Jamie Smith is in.
2.c. Find all of the advisors, their buildings and departments that advise students that
are in the same clubs that Jamie Smith participates into.
2.d. Find all professors names and their departments that have offices in the
buildings identified in query 2c.
2.e. Find all student names and their major(s) that participate in Computer Science
Association Club.
In: Computer Science
Large Sample Proportion Problem. A survey was
conducted on high school marijuana use. Of the 2266 high school
students surveyed, 970 admitted to smoking marijuana at least
once. A study done 10 years earlier estimated that 45%
of the students had tried marijuana. We want to conduct a
hypothesis test to see if the true proportion of high school
students who tried marijuana is now less than 45%. Use
alpha = .01.
What is the conclusion for this test?
|
Based on a tests statistic that is not in the rejection region for alpha = .01, we failed to reject the null hypothesis. |
| The p-value was below .01, therefore we failed to reject the null hypothesis. |
| Based on a p-value less than .01, we would reject the null hypothesis and conclude the rate is now lower than 45. |
| The p-value was below .05, but not .01, therefore we failed to reject the null hypothesis. |
In: Statistics and Probability
A university official wishes to determine whether the degree of the instructor is related to the students’ opinion of the quality of instruction received. A sample of students’ evaluations of various instructors is selected, and the data in the table below are obtained. At a = 0.10, can the officials conclude that the degree of the instructor is related to the opinions of the students about the instructor’s effectiveness in the class?
|
Degree of instructor |
|||
|
Opinion Rating |
B.S. |
M.S. |
Ph.D. |
|
Excellent Average Poor |
14 16 3 |
9 5 12 |
4 7 16 |
1. Identify the appropriate test. Why do you consider this test to be the most appropriate for analyzing this study?
2. State the hypotheses.
3. Find the critical value (s).
4. Compute the test value and the p-value.
5. Make a decision and summarize your findings.
6. Discuss any differences in the opinion rating for B.S., M.S., and Ph.D. instructors.
7. What assumptions were made in completing this test?
In: Statistics and Probability
In this section you have discussed taking samples. For this post you will plan how you will take a sample. At NCSU there are approximately 31,000 students and about 7,000 faculty and staff. We would like to compare the cars of students with those of faculty/staff. Specifically we would like to determine if the average mileage (odometer reading NOT MPG) for students’ cars is higher than that of faculty/staff cars. To answer this question we need to collect a sample of cars from each group. In this post you should explain how you would carry out this sample. The sample should consist of 200 subjects with at least 100 subjects from each group. You should explain how you will select this sample and how you would collect the information. You should be complete but you should also be concise. Explain the important details that may be relevant. Your post should be approximately 2 to 4 paragraphs.
In: Statistics and Probability