100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
ICT2611 EXAM PACK 2023 R60,00   Add to cart

Exam (elaborations)

ICT2611 EXAM PACK 2023

 8 views  0 purchase

QUESTIONS AND ANSWERS

Preview 4 out of 41  pages

  • October 13, 2023
  • 41
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
All documents for this subject (8)
avatar-seller
jpapaya
ICT2611
EXAM
PACK 2023
QUESTIONS AND
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 | 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?

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through EFT, credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller jpapaya. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for R60,00. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

76669 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Start selling
R60,00
  • (0)
  Buy now