# Information Technology Grade 11 P1 2018 QP

> Grade 11 Information Technology Paper 1 question paper from the KwaZulu Natal June 2018, 10 pages. Read online or download the free PDF.

- Page: https://www.hlayiso.com/library/it-june-p1-qp-only/743bb597-d018-40b6-acc4-eadcac3b347a
- Updated: 2026-09-27
- Subject: Information Technology
- Grade: Grade 11
- Document type: Question paper
- Year: 2018
- Exam period: KwaZulu Natal June
- Paper: 1
- Curriculum: CAPS
- Pages: 10

Breadcrumbs: [Home](https://www.hlayiso.com/) › [Library](https://www.hlayiso.com/library) › [Grade 11](https://www.hlayiso.com/library/grade-11) › [Information Technology](https://www.hlayiso.com/library/grade-11/information-technology) › [Information Technology Grade 11 P1 2018 QP](https://www.hlayiso.com/library/it-june-p1-qp-only/743bb597-d018-40b6-acc4-eadcac3b347a)

## About this document

Information Technology · Grade 11 · KwaZulu Natal June · 2018. Question paper, 10 pages. Read online or download the PDF.

Read it free online on the page above; download the PDF from there.

## Document text

Text extracted from the PDF. Layout, diagrams and tables may not survive extraction.

### Page 1

___________ Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

education

Department:
Education
PROVINCE OF KWAZULU-NATAL

GREENBURY SECONDARY SCHOOL

INFORMATION TECHNOLOGY
GRADE 11
PAPER 1: PRACTICAL

Date of examination: 05 June 2018

MARKS: 150
TIME: 3 hours

This paper consists of 10 pages including this cover page.

Please turn over

### Page 2

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

GENERAL INSTRUCTIONS AND INFORMATION

1.

This is a three-hour examination.
Answer ALL the questions. Read them carefully and do only what is required.

A Learnerdata folder is supplied. It contains subfolders and data for the applications that you must
develop. Change the name of this Learnerdata folder as instructed by your teacher.

Type in your name and surname as a comment in the first line of each unit.
Save ALL your solutions in the correct folders and sub folders.
Save your work at regular intervals as a precaution against power failures.

During the examination you may use the HELP function (F1) of Delphi. You may NOT make use of
any other resources.

At the end of this examination session you must make sure that ALL the files with your work have
been saved as explained to you by the invigilator/educator. Ensure that ALL files can be read.

Printouts of the programming code of the units will take place after the completion of this
examination session as instructed by the invigilator.

Files Supplied:

The following files can be found in the Data Folder:

Q1xx: Q2xx:

Q1_p.dpr Q2_p.dpr
Q1_u.dfm Q2_u.dfm
Q1_u.pas Q2_u.pas

Candidates. txt

GENERAL SCENARIO

The Student Union asked you to use your problem-solving skills to develop a computer
application for the election.

Pagel

### Page 3

Downloaded from hlayiso.com

Information Technology P1

QUESTION 1

Grade 11/June 2018

The files needed for this question can be found in the folder named Q1.
You have been provided with an incomplete program. Open the project file Q1_p and

complete the program.

User interface:

College Students Union Elections

By
big

Display Candidates

IbIInfo

Search fora candidate __ Close

Page 2

### Page 4

Information Technology P1

Re

Downloaded from hlayiso.com

Grade 11/June 2018

The text file Candidates.txt contains the information of the election candidates. The
candidates’ information is stored in the following format:

IDnumber%Name and Surname “%cell-phone number %Email Address

Example of the information for Delaan Glory:

8801198585081 %Delaan Glory%0775896589%delaanglory@nowitwiz.co.za
Follow the guidelines 1.1.1 to 1.1.5 to complete the code of the ‘Display Candidate’-button:

1.1.1. Declare 3 global arrays, arrName, arrld and arrTel.

Create a global variable to keep track of the total number of people extracted
from the text file. (4)

1.1.2 FormCreate-Event:

Test whether the file exists or not. Display an appropriate message if the file
doesn’t exist and close the program.

Read the candidate’s information from the text file, split the information to

get the ID number, name and cell-phone number. Save the candidates’
information in appropriate arrays for later use. There are only 9 candidates

for the election. (21)

1.1.3 DisplayCandidates-Button:

e Extract the following information from the arrays:
Display only the name and surname, |D-number and the age of the

candidate in neat columns with an appropriate heading.
NOTE: You have to set appropriate tabs for the Display Area.

e Calculate the age by subtracting the candidates birth year from the
current year (2018). Assume that all candidates were born in the 20th
century (1900's). Calculate the total age of all the candidates, this value
will be used at a later stage to calculate the average of all the candidates.

e Determine if the candidate is Male or Female by using the seventh digit of

the ID-number. Values larger than 4 is Male. Keep track of the total for
each gender as you will need the values to be displayed.

Page 3

### Page 5

Downloaded from hlayiso.com

Information Technology P1

Grade 11/June 2018

College Students Union Elections.

Page 4

(al #
Disvlay Candidate: Statistics Search for a candidate Close
Name 1D-number Age
binfo Delaan Glory 8801198585081 3
Dolphin Dolly 9202249536253 26
Duduzile Mazwi 8911143536253 29
Jameson William 8910141536253 29
‘Lebogang Tso 9406147536253 24
Mary Kingdom 8802142536253 30
Eistine Sibanda 9506146536253 23
Pitso Wishu 9108142536253 27
Zuza Cresto 9006128536253 28
(24)
1.1.4 Statistics-button:
This button will be used to display some interesting statistics on the election.
Display the number of Male and Female candidates as well as the average
age of the candidates make use of the totals calculated in 1.1.3.
Display Candidates Statistics Search for a candidate Close
Number of male candidates: 5
Number of female candidates: 4
Iblinfo Average age of candidates: Pa
(8)

### Page 6

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

1.1.5 When the voter clicks on the ‘Search for a candidafe’-button, the appropriate
candidate must be located by searching the ID number.

The voter must enter the |D-number using an inputbox. Make use of a flag
to stop the search process when the number is located.

If the number is found, the information must be displayed on the /bilnfo. If
not found an appropriate message in a showmessage must be displayed
informing the voter that the candidate is not on the list.

Example of output of an existing |D-number 8801198585081:

College Students Union Elections
Gia
Display Candidates _| Statistics earch for.a.candidat Chose _
Number of male candidates: 5
Number of female candidates: 4
Delaan Glory Average age of candidates: 27
8801198585081
0775896589

(17)

TOTAL QUESTION 1: 74

Page 5

### Page 7

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

QUESTION 2

As preparation for the elections, new voters must be able to register. The information
has to be tested for validity before it is written to the file that contains the information
of all these prospective voters.

The files needed for this question can be found in the folder named Q2.
User interface:

College Students Union Elections

ae Register voter | Vote Display results i Close
Full Name: “pom ” | | -FullNames NumberofVoters
1D Number:
Cell Number:
E mail:

Page 6

### Page 8

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

2.4

An array ArrNames is declared and already populated with electoral candidates.
These values will be used at a later stage.

The voters registering will be saved in a text file.

2.1.1. Register-button:

The full name, ID, cell number and email is extracted from the edit
components.

Store these values in variables.

The cell phone number editbox is a compulsory item. If no number is
entered the following error message must be displayed:

College Students Union Elections x

Enter your cell number

The cell phone number must also be tested to ensure it contains 10
characters. If not the following error message must be displayed.

College Students Union Elections 4

Not enough digits in cell number

The cell phone number must only consist of digits. If not the following error
must be displayed.

College Students Union Elections ~

only digits in cell number allowed

If any of the above errors occur in the program, clear the edit box and allow
the user to correct the error.

Test if the file exists, if not the file must be created. If there is an existing file,
the information must be added to the existing data at the end of the file.

The information is stored in a file, Voters.txt, in the following format:
IDNumber%Full name%Cell number%E-mail address

Example:
694854 1258965%James Bond%0752827236%007@gmail.com

Page 7

### Page 9

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

An information message must be displayed confirming that the data is
saved:

| College Students Union Elections x

| New voter cletails saved in textfile

|

The information must be displayed on IbiMessage as follows:

Full Name:

ID Number:
Cell Number: [0752827236 — |

E mail: a0 7@gmaicom |

(37)
2.1.2 New-button:
Clear the information in the edit boxes, and ensure the cursor is placed in
the edit box where the name is entered
Full Name:
ID Number;
Cell Number:
E mail:
(5)

Page 8

### Page 10

Downloaded from hlayiso.com

Information Technology P1 Grade 11/June 2018

2.1.3 Clear Messages-button:

2.14

Only display ‘Message centre’ on the label, IbIMessages:

i Clear Messages |

(1)
FormActivate event:
Sort the arrayNames alphabetically. Simultaneously place/replace the
values of the arrVotes with a 0 (zero). (15)

Vote-Button:

Obtain the number of the candidate being voted for with an input box. The
number 1 represents the first candidate. Update the number of votes cast in
ArrVotes for that specific candidate.

If 5 is selected then the vote count for the 5'* candidate must be increased (6)
in ArrVotes.

Display results-Button:
Display the information in the arrays as follows:

The names of the candidates with the number of votes must be displayed
next to one another, as in the example. An @ sign must also be displayed
for every vote cast. See screenshot below.

Fulldames NumberofVoters
‘Dolphin Dolly i)

‘Glory Delaan 1 &
Jameson Wiliam = 0

oS

Kingdom Mary
Lebagang Tso
Mazwi Duduzile
‘Sibanda Eistine

©
@
@

oooow

Zuza Cresta

(13)
TOTAL Question 2: 76
TOTAL for paper 150

Page 9

## Related documents

- [IT P1 QP NOV 2018 AFR](https://www.hlayiso.com/library/it-p1-qp-nov-2018-afr/e1a2de08-fa87-4035-a20e-9a4592bc210d) — Information Technology · QP · 2018 · Afr
- [IT P1 QP NOV 2018 ENG](https://www.hlayiso.com/library/it-p1-qp-nov-2018-eng/0df14c4a-59b9-4faa-bb90-cf61aa77d817) — Information Technology · QP · 2018 · Eng
- [IT NOV P1 QP ONLY](https://www.hlayiso.com/library/it-nov-p1-qp-only/52bfb555-4406-4fb5-ac5b-77f29c120073) — Information Technology · QP · 2018
- [IT P1 MEMO AFR GR11 NOV 2018](https://www.hlayiso.com/library/it-p1-memo-afr-gr11-nov-2018/3a8ef4dc-f861-4f69-a3a6-14d9a854b5ac) — Information Technology · Memo · 2018 · Afr
- [IT P1 MEMO GR11 NOV 2018](https://www.hlayiso.com/library/it-p1-memo-gr11-nov-2018/2dc78f09-34ed-496f-bafe-607a640e7c71) — Information Technology · Memo · 2018
- [IT JUNE-P1-and-MEMO-1](https://www.hlayiso.com/library/it-june-p1-and-memo-1/0b17b8f6-fad4-47c1-bfc5-ce9d5b3c1302) — Information Technology · Memo · 2017

## More from Grade 11 Information Technology

- [Grade 11 Information Technology P1 November 2026 Mock Memo](https://www.hlayiso.com/library/grade-11-information-technology-2026-november-mock-exam-memorandum-paper-1/726303a4-959e-4bd2-851f-8e5359d8ca7b) — Memo · 2026 · Eng
- [Gr 11 Info Tech ATP 2023-24](https://www.hlayiso.com/library/gr-11-info-tech-atp-2023-24/67fc595c-646e-4c38-9951-fe5fe3a113a7) — ATP
- [IT P1 MEMO GR11 NOV 2022 ENG](https://www.hlayiso.com/library/it-p1-memo-gr11-nov-2022-eng/463c896e-3593-418e-ae29-9566ee4c04d7) — Memo · 2022 · Eng
- [IT P1 MEMO GR11 NOV 2022 AFR](https://www.hlayiso.com/library/it-p1-memo-gr11-nov-2022-afr/bb1a49a4-65e0-428e-9303-788c58ca7b60) — Memo · 2022 · Afr
- [IT P2 GR11 MEMO NOV2022 Afrikaans](https://www.hlayiso.com/library/it-p2-gr11-memo-nov2022-afrikaans/f5015e15-ffe2-4923-9427-07b7a1a37ae1) — Memo · 2022 · Afr
- [IT P1 MEMO GR11 NOV 2022 AFR](https://www.hlayiso.com/library/grade-11-information-technology-2022-exemplar-november-exam-memorandum-paper-1-afrikaans/02cbecc3-c4be-49dd-986d-125a0173594d) — Memo · 2022 · Afr

## Collection

- [Grade 11 past papers](https://www.hlayiso.com/grade-11/past-papers)

---

Hlayiso: free CAPS and IEB past papers, memos, notes and study guides for South African learners. When citing, link the page URL above, not a PDF or /api/ URL.
