Question: 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

Q4b.

Q4b. For simulation purpose, the following data structure is setup to contain

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.

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)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!