Three students A,B,C are nominated for a scholarship which have equal chance of getting a scholarship. Student A asked a professor who knew the result to name one who failed out of the other two nominees. Professor answered it was C. A claimed that his chance has now increased from 1/3 to 1/2. Another student asked what if the professor's answer is student B? A replied that his chance would also be increased to 1/2. The classmate replied that "if your chance will be 1/2 whatever the professor's answer is , why did you have to ask?"
Explain who is right.
A's classmate is right.
Any of the three students A,B or C can get scholarship
Now, irrespective of whether A gets the scholarship or not there will be atleast one more student who do not get the scholarship
So whenever A asks the professor to name one who failed, the professor would have a name of either B or C or both.
Thus, asking the name of one who failed out to the professor does not help A to know or increase chances of him getting the scholarship
Three students A,B,C are nominated for a scholarship which have equal chance of getting a scholarship....
Problem 1 Three students tA, B, C with seemingly equal records have applied for a major scholarship. They have been notified that two winners have been selected, but not which two. An advisor, who is friends with Student A, knows who will win the scholarships. A realizes it would be unethical to ask if they,A, will win. but thinks of asking for one student's name other than themselves. They believe before asking, their chance of winning is '/s. A think...
You have been hired by the CS Department to write code to help synchronize a professor and his/her students during office hours. The professor, of course, wants to take a nap if no students are around to ask questions; if there are students who want to ask questions, they must synchronize with each other and with the professor so that only one person is speaking at any one each student question is answered by the professor, and time, no student...
A student at a university has been doing a project to investigate entertainment habits of students. They have surveyed 100 random students who were each asked three questions: Have you watched a movie in the last week? Have you listened to music in the last week? Have you read a book in the last week? However, the student keeps a very messy room and has lost some of the results. They have been able to find the following results: Of...
Using C++ 1. Driver's The local driver's license office has asked you to create an application that grades the written portion of the driver's license exam. The exam has 20 multiple-choice questions. Here are the correct answers 16. C 17.С 18. B 19. D 20. A 1. B 2. D 3. A 12. C 13. D 14. A 15. D 7.В 9.С 10. D 5. С Your program should store these correct answers in an array. It should ask the...
NEED HELP ASAP Please answer all please. a People with higher incomes might not own TVs or computers with higher incomes likely will have high-speed Internet access, which will lead to spending more time on-i O People with lower incomes might not own TVs or computers. D People who spend time at home on the Internet never watch TV r the students in your statistics class as the population and suppose they are seated in four rows of 10 comes...
Write in C language Identical Prime Factors Today is another bad school day for Bibi. Her math teacher just announced that the class' exam results are horrible: more than half students don't even get a passing grade! After babbling and lecturing the class for almost an hour, the teacher finally calmed down and told the class that she is giving them a chance to fix their score. She will give a challenge, and two fastest students to answer correctly can...
Need help with a C++ program. I have been getting the error "this function or variable may be unsafe" as well as one that says I must "return a value" any help we be greatly appreciated. I have been working on this project for about 2 hours. #include <iostream> #include <string> using namespace std; int average(int a[]) { // average function , declaring variable int i; char str[40]; float avg = 0; // iterating in...
A university computer science department has a teaching assistant (TA) who helps undergraduate students with their programming assignments during regular office hours. The TA’s office is rather small and the TA can help only one student at a time in the office. There are two chairs in the hallway outside the office where students can sit and wait if the TA is currently helping another student. When there are no students who need help during office hours, the TA sits...
You will be developing an Advising Scheduling Management System (ASMS) that can be used managing the advising appointments for Salisbury University professors and their advisees (students). ASMS should have the following functionalities: - There are three kinds of users: professor, student and admin. When ASMS starts, a login screen asks user which kinds of users and then asks user id and password. If id or password are incorrect, issue a warning and redisplay the login screen. - When an admin...
You have been asked to write a program to grade several multiple-choice exams. The exam has 20 questions, each answered with a letter in the range of ‘a’ through ‘f’. The answers key is declared in the program as constant of type string. An example of answer key is “abcdefabcdefabcdefab”. Your program should work for any other answer key. The program should first ask users for the number of students to be graded. Then it should have a while loop...