You are on page 1of 5

RICHFIELD GRADUATE INSTITUTE OF TECHNOLOGY (PTY) LTD

FACULTY OF INFORMATION TECHNOLOGY

PROGRAMMING 512
2ND SEMESTER ASSIGNMENT

Name & Surname: _________________________________ ICAS No: _________________

Qualification: ______________________ Semester: _____ Module Name: _____________________

Date Submitted: ___________

ASSESSMENT CRITERIA MARK EXAMINER MODERATOR


ALLOCATION MARKS MARKS
MARKS FOR CONTENT
QUESTION ONE 40
QUESTION TWO 30
QUESTION THREE 30
TOTAL MARKS 100
MARKS FOR TECHNICAL ASPECTS
1. TABLE OF CONTENTS
Accurate numbering according to the numbering in
text and page numbers.
2. LAYOUT AND SPELLING
Font Calibri 12
Line Spacing 1.0
Margin should be justified.
3. REFERENCE
According to the Harvard Method
TOTAL MARKS
TOTAL MARKS FOR ASSIGNMENT 100
Examiners Comments:

Moderators Comments:

Signature of Examiner: Signature of Moderator:


NB: 1. Candidates are advised to read the guide lines on page 2.
2. Assignment questions are on page 3.
3. For reference use prescribed, recommended books and other Programming for source
you may come across.

Page 1 of 5
The purpose of an assignment is to ensure that the Learner is able to:

Use methods of enquiry and research in a disciplined field.


Interpret and evaluate text.
Have a sound understanding of key principles and theories, rules and awareness.
Solve unfamiliar problems using correct procedures as well as investigate and critically
analyse information and report thereof.

Present and communicate information reliably and coherently.

Instructions and guidelines for writing assignments

1. Use the correct cover page provided by the institution.


2. All essay type assignments must include the following:
2.1 Table of contents
2.2 Introduction
2.3 Main body with subheadings
2.4 Conclusions and recommendations
2.5 Bibliography
3. The length of the entire assignment must have minimum of 5 pages. Preferably typed with font size 12
3.1 The quality of work submitted is more important than the number of assigned pages.
4. Copying is a serious offence which attracts a severe penalty and must be avoided at all costs. If any
learner transgresses this rule, the lecturer will retain the assignments and ask the affected learners to
resubmit a new assignment which will be capped at 50%.
5. Use the Harvard referencing method.

Page 2 of 5
QUESTIONS [100 MARKS]
QUESTIONS ONE [40 MARKS]
Suppose the sequential file ALE.TXT contains the information shown in Table 1.1. Write a program to
use the file to produce the Table 1.2 in which the baseball teams are in descending order by the
percentage of games won. Note : A batting average can be displayed in standard form with Format
Number(ave, 3, vbFalse).

Table 1.1 American League East games won and Lost in 2002.
Team Won Lost

Baltimore 67 95
Boston 93 69
New York 103 58
Tampa Bay 55 106

Toronto 78 84

Table 1.2 Final 2002 American League East standings.

American League East


Team Won Lost Percentage

New York 103 58 0.640


Boston 93 69 0.574

Toronto 78 84 0.481
Baltimore 67 95 0.414

Tampa Bay 55 106 0.342

QUESTIONS TWO [30 MARKS]

A) Voting Machine. PC Training and Business College students bring a computer to their annual
meeting to use in the election of a new SRC president. Write a program to handle the
election. The program should add each candidate to a list box as he or she is nominated.
After the nomination process is complete, students should be able to approach a computer
one at a time and double-click on the candidate of their choice. When a Tally Votes
command button is clicked, a second list box, showing the number of votes received by each
candidate, should appear alongside the first list box. Also, the name(s) of the candidate(s)
with the highest number of votes should be displayed in a picture box. [10]

Page 3 of 5
B) Design and write a program that inputs a sentence. Convert the first letter of the sentence to
uppercase, place a period (full stop) at the end of the sentence, and then display the new
sentence. None of the remaining letters in the sentence are to be uppercase.
[10]
C) Design and write a basic calculator system in vb.net, the calculator should be able to add,
minus, divide , subtract and multiply, and it should have numbers on it. [10]

QUESTIONS THREE [30 MARKS]

Develop a student registration system that store student information in Microsoft access database.
Below is the outlines of the look and what the system should include and perform.

Page 4 of 5
TOTAL 100

Page 5 of 5

You might also like