The following code segment is used for both parts 5 and 6. 1…

The following code segment is used for both parts 5 and 6. 1| if subscription == “Premium” and hd_available:2|     print(“You’ve been upgraded to HD!”)3| elif (subscription == “Premium” or subscription == “Standard”) and sd_available:4|     print(“You’ve been upgraded to SD!”)5| else:6|     print(“You’re on the basic plan.”)   Which of the following values for subscription, hd_available, and sd_available would result in “You’ve been upgraded to SD!” being printed?

1| [fill in blank]2| if minutes_remaining > 90: 3| print(“Wa…

1| [fill in blank]2| if minutes_remaining > 90: 3| print(“Watch a movie!”) 4| elif minutes_remaining > 45: 5| print(“Watch a TV episode!”) 6| elif minutes_remaining > 20: 7| print(“Watch YouTube!”)   Choose the code that when put into line 1 would result in “Watch a TV episode!” being printed.

[Example for writing a program.] When writing a software, yo…

[Example for writing a program.] When writing a software, you may be asked to write an entire program, a program fragment, or a subroutine. In all cases, in our canvas exams, you will see the following sentence: In your provided response, format all text with the “Preformatted” style given by Canvas. (See the dropdown menu above shown as “Paragraph”.) Practice writing parts of a program here to see what works and what does not work. Write at least two lines in a “program” using the proper format; failure to use this formatting in other assignments will cause you to lose points.