Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
. Submissions must be done via Gradescope. You must carefully assign pages to their corresponding questions. You will receive a grade of zero in each case below:
a) Submission is not in PDF format.
b) Questions with no pages assigned to them.
c) Submission that is blurry or too small to read easily. We will not be using the zoom tool or downloading your submission to grade it
. Please submit a single PDF file. Here is a recommended way to achieve this:
a) If you write your derivation on papers, you can scan them into a pdf file (if they are images, paste images to a word document then save as a pdf file).
b) Write your Python code (e.g. in Jupyter notebook) then save it as a pdf file.
c) Combine all the pdf files above into one pdf file.
. If you have difficulty in formatting your submission, please see the “Lab1-preparation” file, or attend TA office hours as soon as possible.
. You may work with a partner for this assignment. If you choose to do so, only one of you should submit the assignment. Ensure to include your partner's name in the designated place in Gradescope, linking the grade to both of you. In the event of forgetting this step, be certain that both names are on the submitted PDF file. If you are not linked to an assignment or your name is not on a submission file, that you will receive a grade of zero.
. Each assignment submission, whether it be an individual submission or a partnered submission, must be your own work. Scholastic offences are taken seriously. Please refer to this website for details:
Grade Breakdown:
Part 1: Written Answer
Total Points: 70
Part 1 – Written Answer (Be sure to show all your work by default)
Question 1 [14 Points]
Movies at a theatre can be rated 1 star, 2 stars, 3 stars, 4 stars or 5 stars, all with an equally likely chance. Assume you go to this theatre to see two movies successively. Then you go back home to check the ratings of these two movies.
a) [2 points] Write out the sample space of all outcomes of the ratings of the two movies (e.g. outcome “12” means the rating of the first movie is 1 star and the rating of the second one is 2 stars).
b) [3 points] Let A be the event that both movies have the same rating. List the outcomes in A. What is P(A)?
c) [3 points] Let B be the event that one movie is rated 2 stars higher than the other movie. List the outcomes in B. What is P(B)?
d) [3 points] Let C be the event that the first movie has a lower rating than the second movie. List the outcomes in C. What is P(C)?
e) [3 points] Are events A & B disjoint events? What does this tell you about the P(A or B)? Calculate P(A or B).