100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.6 TrustPilot
logo-home
Exam (elaborations)

ICT2611 EXAM PACK 2023

Rating
-
Sold
-
Pages
41
Grade
A+
Uploaded on
13-10-2023
Written in
2023/2024

QUESTIONS AND ANSWERS

Institution
Course

Content preview

ICT2611
EXAM PACK
2023
QUESTIONS
WITH ANSWERS

, 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 |
| 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 |
| 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 |
| Want to earn $1.236
Distribution of this document is illegal extra per year?

Written for

Institution
Course

Document information

Uploaded on
October 13, 2023
Number of pages
41
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
brightih333 University of South Africa (Unisa)
Follow You need to be logged in order to follow users or courses
Sold
74
Member since
2 year
Number of followers
52
Documents
342
Last sold
2 months ago

4.0

5 reviews

5
3
4
0
3
1
2
1
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions