ICT2611 EXAM
PACK 2023
QUESTIONS AND
ANSWERS
FOR ANY ASSIGNMENT
HELP,
EMAIL:
musyokah11@gmail.com
, Stuvia.com Stuvia.com
- The Marketplace
- The study-notes
to Buy and marketplace
Sell your Study Material
UNIVERSITY EXAMINATIONS
May/June 2020
ICT2611
Graphical User Interface Programming
70 Marks
4 Hours
Instructions
- The question paper consists of four pages including the cover page.
- Please read each question specification carefully.
- Answer all questions, answer format is a pdf file as per specifications for the
questions.
- Marks are given in brackets next to the question.
- Submission procedure as per specificication in formal correspondence from
the university.
- Good Luck!
PLEASE TURN OVER
Downloaded
Downloaded
by: by:
iramoodleycollege
hluksmaduna | hluksmaduna@gmail.com
| iramoodley887@gmail.com Want to earn $1.236
Distribution of this document is illegal extra per year?
, Stuvia.com Stuvia.com
- The Marketplace
- The study-notes
to Buy and marketplace
Sell your Study Material
Question 1 [40 marks]
The specification for this question pertains to an application for calculation and
classification of the bmi for members of the public. Bmi stands for body mass index, this
is a significant health measurement. Bmi is a ratio calculated using the body mass of an
individual and their height. Different countries have different classification scales for
bmi. The table below is for the Republic of South Africa, it represents bmi ranges for
females as well as males. Bmi is a risk factor for a number of non-communicable
diseases including cardiovascular diseases and type 2 diabetes.
bmi classification
bmi < 20 Underweight male
bmi < 19 Underweight female
bmi > 24 Overweight male
bmi > 23 Overweight female
The formula for calculating bmi is the following:
Bmi = Mass(kg) / Height2 (m)
1.1 Draw the flowchart for the procedure for classification of the bmi for an individual.
You must also consider the gender of the individual in the classification.
[12 marks]
1.2 Write the full program for this application in VB.Net. The application must have the
following: a main window with inputs for mass and height; a button for calculating and
classifying the individual’s bmi; and, the application must throw an exception when a
height of zero is entered, and it must alert the user about this, and allow user to re-enter
value. The result can be displayed in a label on the application window. Provide the
source code for the application as well as other information as per stipulation in the
rubric below. [28 marks]
Marking rubric:
- Design of application window. [5 marks]
- Correct calculation and classification of individual bmi. Provide screenshots to prove
application is working correctly. [15 marks]
- Exception handling. [8 marks]
PLEASE TURN OVER
2
Downloaded
Downloaded
by: by:
iramoodleycollege
hluksmaduna | hluksmaduna@gmail.com
| iramoodley887@gmail.com Want to earn $1.236
Distribution of this document is illegal extra per year?
, Stuvia.com Stuvia.com
- The Marketplace
- The study-notes
to Buy and marketplace
Sell your Study Material
Question 2 [20 marks]
The specification for this question is for an array based application for data entry of
values of measurements of the tree heights of a particular specie of tree for a research
project. The table below is a sample of five measurements. The application allows a
user to enter ten measurements only. The measurements should be stored in an array.
The application window should also include two buttons, one for calculating the average
of the measurements and another one for calculating the sum of the measurements.
Provide the source code for the application as well as other information as per
stipulation in the rubric below.
Measurement Height in
meters
1 10.58
2 11.70
3 11.74
4 14.81
5 15.92
Marking rubric:
- Design of application window. Provide screenshot of application window. [4 marks]
- Correct data input of ten values only. [4 marks]
- Data stored in an array. [4 marks]
- Correct calculation of average of the measurements. [4 marks]
- Correct calculation of the sum of the measurements. [4 marks]
PLEASE TURN OVER
3
Downloaded
Downloaded
by: by:
iramoodleycollege
hluksmaduna | hluksmaduna@gmail.com
| iramoodley887@gmail.com Want to earn $1.236
Distribution of this document is illegal extra per year?
Voordelen van het kopen van samenvattingen bij Stuvia op een rij:
Verzekerd van kwaliteit door reviews
Stuvia-klanten hebben meer dan 700.000 samenvattingen beoordeeld. Zo weet je zeker dat je de beste documenten koopt!
Snel en makkelijk kopen
Je betaalt supersnel en eenmalig met iDeal, creditcard of Stuvia-tegoed voor de samenvatting. Zonder lidmaatschap.
Focus op de essentie
Samenvattingen worden geschreven voor en door anderen. Daarom zijn de samenvattingen altijd betrouwbaar en actueel. Zo kom je snel tot de kern!
Veelgestelde vragen
Wat krijg ik als ik dit document koop?
Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.
Tevredenheidsgarantie: hoe werkt dat?
Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.
Van wie koop ik deze samenvatting?
Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper smillanih. Stuvia faciliteert de betaling aan de verkoper.
Zit ik meteen vast aan een abonnement?
Nee, je koopt alleen deze samenvatting voor €2,95. Je zit daarna nergens aan vast.