YOU MUST USE THE REMOTE PROCTOR SYSTEM TO TAKE THIS EXAM. Pl…
YOU MUST USE THE REMOTE PROCTOR SYSTEM TO TAKE THIS EXAM. Please follow the instructions below : Your Photo ID MUST be clearly shown to the camera so it can be confirmed. Your cameras MUST not be covered during the exam. If the camera is not capturing your environment and not recording during the exam, you WILL be required to take the exam again with a completely different exam version Your exam environment MUST be confirmed with a COMPLETE 360°scan of the room, NOT halfway and including your desk. There must not be any other monitors on your desk even if they are turned off. You MUST face towards your computer screen during the entire exam This is a closed note and closed book exam. Class notes and textbooks MUST not be used. Dry-erase white board may be used; you must CLEARLY show both sides of the board to the camera before you begin. You must erase everything you write on the board during the test and show the erased board to the camera after you finish You may use a calculator that is not part of your cell phone or your computer and you must show the calculator to the camera. IMPORTANT: The use of any resources during this exam, such as textbooks, notes, computer files, powerpoint slides, the internet, or other people is strictly prohibited. Doing so constitutes an act of academic dishonesty which will result in a grade of zero and is subject to academic penalties and a report of academic misconduct.
Read DetailsSpring Break is fast approaching, and you’re writing a proph…
Spring Break is fast approaching, and you’re writing a prophecy to decide where TAs are going on vacation! Write a function called goSpringBreak() that takes two parameters: locationDict, a dictionary in the form {destination: [list_of_voters]}, and prediction, which is the destination the Spring Break prophecy predicts will have the most votes. The function should determine which destination received the most votes. If the destination with the most votes matches prediction, print “The prophecy foretold this…”. Otherwise, print “The prophecy was wrong this time…”. In both cases, the function should then return the destination received the most votes. Note: You may assume there will be no ties and no empty lists. Example #1: locationDict = {“Puerto Rico”: [“Bella”, “Daniel”], “Mexico City”: [“Kaylee”, “Ruishan”, “Angelina”], “Miami”: [“Kaiden”]} >>> goSpringBreak(locationDict,”Puerto Rico”) Expected Output #1: The prophecy was wrong this time… Mexico City Example #2: locationDict = {“Miami”: [“Daniel”],”New York”: [“Angelina”], “Cancun”: [“Bella”, “Ruishan”, “Kaylee”]} >>> goSpringBreak(locationDict, “Cancun”) Expected Output #2: The prophecy foretold this… Cancun
Read Details