Exhibitors must register with the committee to ensure that no double bookings occur - NSC Information Technology - Question 5 - 2016 - Paper 2
Question 5
Exhibitors must register with the committee to ensure that no double bookings occur.
5.1.1 The electronic form below was designed to be used for online registration... show full transcript
Worked Solution & Example Answer:Exhibitors must register with the committee to ensure that no double bookings occur - NSC Information Technology - Question 5 - 2016 - Paper 2
Step 1
Critically comment on the layout of the components of the form, by indicating TWO ways in which the layout can be improved.
96%
114 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
To improve the layout of the electronic registration form, consider the following:
Group Related Information: Components that are related to personal information and exhibition details should be placed together. This allows users to navigate the form more efficiently without confusion.
Optimize Button Placement: The submit button should be located at the bottom right side of the form, ensuring it is the last thing users encounter after filling out the form. Additionally, arranging the text boxes and buttons in a top-to-bottom and left-to-right manner would enhance readability.
Step 2
Critically evaluate the components on the form that are used to obtain data from the user. Identify TWO poorly chosen components and suggest a more suitable component in EACH case. Motivate EACH suggestion.
99%
104 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
Checkboxes for Gender: Using checkboxes for gender selection limits the user to one selection option, which can lead to confusion. Suggestion: Utilize radio buttons instead to allow users to select only one option easily.
Input for Number of Tables: Inputting the number of tables can lead to incorrect entries. Suggestion: A combo box or a spinner could be used to restrict users to valid values (e.g., 1-10) while making it clear that these are the only acceptable options.
Step 3
Draw a UML (unified modelling language) diagram for the objStand object class.
96%
101 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Write pseudocode to generate the random number and calculate the answer for the sequence generated. DO NOT DISPLAY the sequence of terms.
98%
120 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
randNum ← generate random number in the range 1 to 10
denominator ← randNum
Answer ← 0
For index from 1 to randNum do
Fraction ← index / denominator
If index is odd then
Answer ← Answer + Fraction
Else
Answer ← Answer - Fraction
End for
Step 5
Copy and complete the trace table below to determine what the output of this program segment will be.
97%
117 rated
Only available for registered users.
Sign up now to view full answer, or log in if you already have an account!
Answer
A | Is A>3? | B | Astring | Is B>A? | Display
1 | No | | | |
2 | No | | | |
3 | No | | | |
4 | Yes | 1 | * | Yes | *
5 | Yes | 2 | ** | Yes | **
6 | Yes | 3 | *** | Yes | ***