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.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started