Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

How. Python. Q4a. Q4b. For simulation purpose, the following data structure is setup to contain the outcomes for TMA and TOA. In each assessment, 'Pass',

How. Python.

image text in transcribed

image text in transcribed

Q4a.

image text in transcribed

Q4b.

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.

{ 'TMA': { 'Pass': ['G123123', 'E223344'],

'Fail': ['E177890', 'M563746'],

'In Progress': ['M998877', 'G432432'] },

'TOA': { 'Pass': ['E223344'],

'Fail': ['G123123'],

'In Progress': ['E177890', 'M563746', 'M998877', 'G432432'] }

Indicate how this dictionary structure should be declared based on code given. Indicate the line number where the statement should be inserted.

Q4c.

Write statements that will implement the event handler for Equire button.

image text in transcribed

image text in transcribed

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). Nrgure (14) 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. Bel Submit your codes for the enquire() function

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Infrastructure For Medical Research In Databases

Authors: Thomas Heinis ,Anastasia Ailamaki

1st Edition

1680833480, 978-1680833485

More Books

Students also viewed these Databases questions

Question

What are some tests of data communications controls?

Answered: 1 week ago