Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I have a simple 3 question multiple choice quiz. Please answer all correctly. Ri

ID: 3592377 • Letter: I

Question

I have a simple 3 question multiple choice quiz. Please answer all correctly. Right click and open images in a new tab to view it fullscreen if you're having trouble reading.

Answer this question:

using:

Answer this question:

Using:

Answer this question:

Using:

QUESTION 2 Consider a Python GUI program that produces a window with the following widgets: ea text box to display the value of one element of a given list (e.g., a list of the five vowels); e a button to retrieve the previous value in that list (if there is one). This button is disabled if there is no previous value in the list. a button to retrieve the next value in that list (if there is one). This button is disabled if there is no next value in the list. a label to display the number of the item being displayed and the total number of items (e.g "1/5") The initial output is as shown below 74 Vowels prew >> nedt 1/5 Hitting the" button once (from the initial state above) produces the following output: 74 Vowels- prev > next 2/5 Hitting the>> next" button three more times produces the following output: Vowels- prev >> net 5/5 Most of the back-end of the program has already been written. Amongst other things, the following variables have been created: window = Tk ( ) labe!counter -Label (window, -ext- "") # to di play the current and total item numbers c unter = 0 input-list = ['a', 'e', 'i', 'o', 'u'] # list of vowels # the index of the list item being displayed YOUR TASK is to complete the display_counter function which redisplays the item number afer a button has been pushed and the counter variable has been updated accordingly (eg.. 2/5"). def display_counter ) output - str (

Explanation / Answer

Hi,
Firstly its against chegg policy to post multiple questions as one, we will be affected if we answer more, please understand and post others as separate questions
1. In this question, we have to print the current index / total number of elements,
so the function definition will be
output=str(counter)+"/"+len(input_list)
please note the first element could be counter or counter+1, depending on the index used in the back-end
3. In this we are only selecting the classification column, hence the query will be
select classification from LDL_CHOLESTROL where Min>=100 and Max<=159,
this will only print Borderline High and Optimal.
Thumbs up if this was helpful, otherwise let me know in comments.

Thumbs up if this was helpful, otherwise let me know in comments

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote