0% found this document useful (0 votes)
8 views

Assignment 2

The assignment requires students to submit running VB.net projects by September 10, 2021, with specific guidelines on folder organization and submission format. It includes two main questions: the first involves creating a program for budgeting a trip to South Africa and designing an input screen for a sports store's customer database; the second focuses on creating a database for student records and coursework management. Students must ensure their projects compile correctly on both their machines and the instructor's machine.

Uploaded by

Maxwell Mabhikwa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Assignment 2

The assignment requires students to submit running VB.net projects by September 10, 2021, with specific guidelines on folder organization and submission format. It includes two main questions: the first involves creating a program for budgeting a trip to South Africa and designing an input screen for a sports store's customer database; the second focuses on creating a database for student records and coursework management. Students must ensure their projects compile correctly on both their machines and the instructor's machine.

Uploaded by

Maxwell Mabhikwa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment 2

Submit 10 September 2021

NB: VB.net automatically creates folders with names that you save your work with (in my documents), in this course
you are required to submit ONLY running projects. NO PDF OR WORD documents will be accepted, submission
of these is an automatic zero. Number your work (projects) copy all the folders into one folder you shall save with
your Pin Number zip it and submit. It remains the responsibility of the student to submit running /compiling
projects. If it can compile on your machine, it should be able to compile on my machine as well.

Question 1

a) On your proposed visit to South Africa, you will need R500 a day for food, travelling and other
expenses. You need to stay 5 days and wish to take sufficient money to have some R1000 left to buy
presents. How many dollars (USD) will you need to exchange if the rate is R14.25 to 1USD.
(Design an appropriate form and program for this) [10]
b) A new sports store wants you to develop an input screen for its customer database. The required input
information is as follows:
1. Name
2. Age
3. City of Residence
4. Sex (Male or Female)
5. Activities (Running, Walking, Biking, Swimming, Skiing and/or In-Line Skating)
6. Athletic Level (Extreme, Advanced, Intermediate, or Beginner)
Set up the screen so that only the Name and Age (use text boxes) and, City (use a combo box) need to be
typed; all other inputs should be set with check boxes or option buttons where relevant. Apply your
extensive knowledge of good screen design by grouping related items using relevant containers. [10]
c) Create a database for adding, updating and deleting records of the scenario described above. When a
screen of information is complete, a user clicks a Show Profile button which displays the summarized
profile in a message box. This profile message box should resemble this:
[20]

Question 2
A teacher maintains a database containing two tables - Students and Coursework. The Students table has
six fields namely: StudentID, FirstaName, Surname, Address, Next-of-kinName and Next-of-kin
PhoneNumber.
The Coursework table has five fields: StudentID, Assignment1, Assignment2, Test1, Test2. At the
beginning of the semester the Students' table is completely filled in with a record for each student
enrolled to a course and the Grades table has no records.
Create a database for the scenario above (Enter details for 5 students in the Students' table)
Create a form that the teacher will use to connect the Students' details table. Add a button, which on
click should enable the teacher to enter Coursework marks in respective fields and calculate the final
course work which should be set to 30%. Tests and assignments contribute two thirds and one third of
the final coursework respectively. [20]

You might also like