Question: Help with Python questions. A prototype GUI is developed to allow students to enquire for their TMA and TOA results. The GUI allows student to
Help with Python questions.





A prototype GUI is developed to allow students to enquire for their TMA and TOA results. The GUI allows student to enter their student Id, select TMA or TOA, and click "Enquire" to find out if they "Pass", "Fail" or the marking is still "In Progress". The initial design of the GUI is shown in Figure Q4(a). The following is the initial code for the GUI shown in Figure Q4(a). The user has commented that the scrolled text is not properly placed and the radio buttons for TMA and TOA should be align at the right as shown in Figure Q4(b). Figure Q4(b) Based on the code given, write the necessary changes to correct the placement of the scrolled text and reflect the new position of the radio buttons. (8 marks) Question 4b For simulation purpose, the following data structure is setup to contain the outcomes for TMA and TOA. In each assessment, 'Pass', 'Fail' and 'In Progress' are keys and the values are the list of student Ids. Indicate how this dictionary structure should be declared based on code given. Indicate the line number where the statement should be inserted. (4 marks) Question 4c Write statements that will implement the event handler for Enquire button. I Submit your codes for the enquire() function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
