The exam is closed book. Dowload the exam below — the math…
The exam is closed book. Dowload the exam below — the mathematical formula sheet is on the last page. Exam 3.pdf You have 3.5 hours to complete the exam. Make sure you state any answers that you know are incorrect and why you know it is wrong. Once you leave HonorLock, you have 10 minutes to upload your exam using the “Upload Your Exam 2” assignment in Quizzes to upload your work.
Read DetailsLINK (fork this): EDITOR Your favorite singer is performing…
LINK (fork this): EDITOR Your favorite singer is performing in Gainesville but they’ve lost their music organization system!! They need YOU to come up with a system to organize their albums and songs. Write a class Album that will have the following specifications: def __init__(self, album_title, artist, year) – Constructor to initialize the Album with an album title, artist, and year def show_info(self) – prints out a string in the format “{album_title} by {artist} came out in {year}.” Then, create a subclass called Song that inherits from the Album class, and includes the attribute song_title. It should also have a show_info(self) method that overrides the show_info method in Album and prints out a string in the format “{song_title} by {artist} is from the album {album_title} and came out in {year}”. just for fun: who is your favorite music artist? # Example usagealbum1 = Album(“Thriller”, “Michael Jackson”, 1982)album1.show_info() # Shows album infosong1 = Song(“Beat It”, “Thriller”, “Michael Jackson”, 1982)song1.show_info() # Shows song info# Output:# Album: Thriller by Michael Jackson, released in 1982# Beat It by Michael Jackson is from the album Thriller and came out in 1982
Read DetailsLINK (fork this): EDITOR For a simple game, there is a Video…
LINK (fork this): EDITOR For a simple game, there is a VideoBox that displays information about the player’s score, current level, and state of the game (playing or paused). You are tasked with designing the VideoBox class which will have the following specifications: def __init__(self, score: int, level: int, is_paused: bool) – Constructor to initialize the VideoBox with an initial score, level, and whether or not the game is paused. def display(self) – RETURNS a string in the format “Score: {score} | Level: {level} | Status: {Paused or Playing}”. For example, the output for a player with a score of 150, on level 3, playing the game would be “Score: 150 | Level: 3 | Status: Playing”. def update_score(self, new_score: int) – SETS, does not add or subtract, the player’s score to the new value passed in. def next_level(self) – INCREMENTS the player’s current level by 1. def pause_game(self) – Sets the game status to PAUSED. def resume_game(self) – Sets the game status to PLAYING. # Example usagevideo_box = VideoBox(150, 3, False) # Starting with score 150, level 3, and game playingprint(video_box.display()) # Output: Score: 150 | Level: 3 | Status: Playingvideo_box.update_score(200)print(video_box.display()) # Output: Score: 200 | Level: 3 | Status: Playingvideo_box.next_level()print(video_box.display()) # Output: Score: 200 | Level: 4 | Status: Playingvideo_box.pause_game()print(video_box.display()) # Output: Score: 200 | Level: 4 | Status: Pausedvideo_box.resume_game()print(video_box.display()) # Output: Score: 200 | Level: 4 | Status: Playing
Read DetailsRemember, we are still grading manually and will give partia…
Remember, we are still grading manually and will give partial credit. The editor is a TOOL that you can use to make solving the problem easier. Regardless, please attempt every question to ensure you get the most partial points possible. You may use the Python Documentation site linked HERE to help you write your programs.
Read Details