# Information Technology Grade 11 NSC Prelim 2018 QP

> Grade 11 Information Technology question paper from the NSC Prelim Exam 2018, 8 pages. Read online or get the free PDF download, memo linked when available.

- Page: https://www.hlayiso.com/library/it-sept-qp-only/4b62b173-920b-40cf-8691-e621986e8f8a
- Updated: 2026-09-27
- Subject: Information Technology
- Grade: Grade 11
- Document type: Question paper
- Year: 2018
- Exam period: NSC Prelim Exam
- Curriculum: CAPS
- Pages: 8

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 NSC Prelim 2018 QP](https://www.hlayiso.com/library/it-sept-qp-only/4b62b173-920b-40cf-8691-e621986e8f8a)

## About this document

Information Technology · Grade 11 · NSC Prelim Exam · 2018. Question paper, 8 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

KZN DEPARTMENT OF EDUCATION
PINETOWN DISTRICTS
GREENBURY SECONDARY SCHOOL

he in a

SEPTEMBER CONTROL TEST
2018

INFORMATION TECHNOLOGY
GRADE 1]

EXAMINER : M PADAYACHEE MODERATOR: S NAIDOO

DURATION : | 4 HOURS MARK: 60

### Page 2

2

(Please ensure that this paper consists of 7 pages and 2 question)

INSTRUCTIONS AND INFORMATION

1. This question paper contains one question based on general programming
techniques.

2. The duration of this examination is 1% hours.

3. Make sure that you answer the question according to the specifications that are
given in the question. Marks will only be awarded according to the set requirements.

4. Answer only what is asked in the question. For example, if the question does not
ask for data validation, then no marks will be awarded for data validation.

5. Your programs must be coded in such a way that they will work with any data and
not just the sample data supplied or any data extracts that appear in the question
paper.

6. Routines such as search, sort and selection must be developed from first principles.
You may not use the built-in features of a programming language for any of these
routines.

7. All data structures must be defined by you, the programmer. You may not use
components provided within the interface to store and later retrieve data.

8. You must save your work regularly on the folder you have created, or the disk space
allocated to you for this examination.

9. Make sure that your name appears as a comment in every program that you code.
10. You are responsible submission of all code you have written, therefore it is

detrimental that you save your work correctly on the space allocated. Missing pieces
of code will receive a zero mark.

### Page 3

QUESTION ONE:

The advertising department of the local newspaper has a classified section where
readers can place advertisements on a weekly basis. They decided to make use
of a database to assist them in managing the placement of these advertisements.
A program is being developed to make it easier for the staff at the newspaper to
answer certain queries being made frequently. You are required to assist in
developing this program.

The information on the clients who placed advertisements as well as the
advertisements being placed have been captured in a database called
NewspaperDB.mdb.

1.1, Complete the code in the DisplayClients button by formulating an SQL statement
to display all the fields in the ClientsTb table in alphabetical order according to the

names of the clients. Example of output:

ClientlD | ClientN ame [TelNum [Subub
BEOI3 Best Cars : (011) 678 9883“ Bedfordview
C4012 .CarSelect (04 Yj 098 3445 Roodepoort
DOOC? DOE (011) 285 9887 Bedfordview
DBOO2 DagBox 082 123 3210 Midrand
ECOO$ EconcTravel (011) 542 3438 © Johannesburg

1.2. Complete the code in the AllAdverts button by formulating an SQL
statement to display all the fields in the AdvertsTb table except the
ClientID field. Also display the ClientName field from the ClientsTb
table. NOTE: You will need to link the tables with an appropriate
where/join clause to be able to do this.

Example of the output:

AdvenID| DatePlaced [oveeksRuminalNumwords [Paid [Category [CientNName
Ano 2008710719 2 72 Twe Animals The Pet Place
aNoo2 2008/10/28 3 27 False Animals DagBox
coon 2008/11/20 2 18 Tue Computers HiTech Goodies
coos 2008/10/12 2 1D False Computers HiTech Goodies
coco! 2008/11/23 2 12 True Computers HiTech Goodies
coon3 2008/11/16 3 14 True Computers Hitech Goodies
stoo2 2008/11/26 2 12 Fale Stationary Scappers Heaven
STOO1 2008/12/17 1 35 False Stationary Scappers Heaven
1 30 True Photographic PhotoPte -

PHOO! = 2008/12/10

1.3. Complete the code in the CatMonth button, by asking the user to enter
the name of the category and the number of the month as inputs.
Formulate an SQL statement to display the AdvertID, DatePlaced and

(3)

### Page 4

4

WeeksRunning fields for the adverts in the category and month entered
by the user. Example of the output where the user enters ‘Computers’ as
the category and 11 as the number of the month (on the next page):

AdverttD | DatePlaced [WeeksPunning
coode 2008/11/20 2
COON 2008/11/23 2
COO03 2008/11/16 3

1.4. Complete the code in the ShortLongAdverts button by formulating an
SQL statement to display the AdvertID, the number of words and the
names of the clients who placed adverts with less than 15 and more than
30 words. Display suitable headings. NOTE: You will need to link the
tables with an appropriate where/join clause to be able to do this.
Example of the output:

AdvertlO [Number of Werds| Client Name

ANOO1
cooo4
Coon
coos
SToo2
87001
Joo01

Ca003
CA005

12 The Pet Place

10 Hitech Goodies
12 HiTech Goodies
14 HiTech Goodies
12 Scappers Heaven
35 Sceppers Heaven:
35: DOE

j4 CarSelect

35 Pedigiee Cars

(8)

1.5. Complete the code in the UpdateAdverts button by asking the user to

enter the ID of the advert and the number of words to be added.

(a) Formulate an SQL statement to update the number of words for the
advert in the first SQL string.
(b) Display the IDs and the number of words of all the advertisements after
it has been updated in the second SQL string.

j
fd
'

i

AdvertID Warde

CANO.
CA003

cé004
Jo001

30002

Cé00S
cocd2
AMOOL
SMOI2
CA006

(6)

ID ANOO1 was updated from 19 to 22 words.

1.6. Complete the code in the NotPaid button by asking the user to enter a
letter of the alphabet. Formulate an SQL statement to display the IDs of

### Page 5

5

the adverts that have not been paid for in the categories starting with the
letter entered by the user. Also display the names of the categories and
the names of the clients as well as the Paid field. NOTE: You will need to
link the tables with an appropriate where/join clause to be able to do this.
Example of the output if the user enters the letter S as input:

AdvertlD [Category [Name of Client [Has Paid (6)
51002 Stationery Scappers Heaven False

SPOO1 Sports SportsPio False

STO01 Stationery Scappers Heaven False

1.7. Complete the code in the CostAdverts button. Formulate an SQL
statement to list the AdvertiD, DatePlaced, NumWords,
WeeksRunning and Cost of all the advertisements placed after 16
November 2008. Cost is a calculated field. The cost of an advertisement
must be calculated at 50c per word per week, Example of output:

AdvertiO|[DatePaced [Numwords [WeeksRunning| Cost
CA0NS 2008/12/15 Ea 3°R 52.50
coo02 2008/11/20 18 2-R 16.00
CAGDE : 2008/12/01 25 2 A 25.00
$T002 2008/11/26 12 2-R 12.00
PROO1 2008/12/10 15) 2-15.00
SPO03 2008/12/10 18 2 F18.00
cAOD1 2008/12/10 15 3-R 22.50
coom 2008/11/23 12 2A 12.00
PHOO 2008/12/10 30 1715.00
sto! 200Zt aw P1750
(6)
1.8. Complete the SQL code in the CountCellphones button that will
determine and display the number of clients with cellphone numbers. A
cellphone number starts with 0 as the first digit. Example of output:
Number of clients with cellphone numbers |
a
(4)

[40}

### Page 6

QUESTION TWO
Write RAD code for the following buttons in the Q2 tabsheet:

N.B. All RAD code must be written from first principles. No predefined methods will be
accepted.

2.1. Code the button AmntOwing to receive the name of a category as an input and
The price per word. Display the date of the advert, the client |D and the amount owed
for the adverts that have not been paid. Display the total amount owed. Use the rich
edit area for all your displays as shown below: (12)

Sample Input:

Enter Category Enter Price per word

[cars if 5,00
|
| | OK | Cancel OK Cancel
g1 Q2

‘DATE OF ADVERT © CLIENT ID AMOUNT OWED
2008/10/10 BEO13 R145.00
2008/10/24 cAD12 100,00
| 2008/11/12 CAg12 R75.00
2008/12/15 PEOI4 RA75.00

‘The total owing for for Cars is R495.00

Amount Owing

### Page 7

2.2. Program the ClientsInSuburb button to display all Client names of the suburb
selected from the combo box. (8)

Sample run:

Clients in Centurion are : poco
Cenburien

: eee i
: The Pet Place

|PhotoPro

'SportsPro

i
|
‘Pedigree: Cars }
i
'
\
|
i

Amount Owing Clients In a Suburb

[20]

TOTAL = 60

GREENBURY SECONDARY SCHOOL
DEFARTHENT OF MATHS 6 SCIENCES

a 4.0.0. MPL PALLAY
wy é

&

## 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 P2 GR11 QP NOV2018 Afrikaans D](https://www.hlayiso.com/library/it-p2-gr11-qp-nov2018-afrikaans-d/efb9ea69-0c0c-4423-a8c5-4b0b4c18f010) — Information Technology · QP · 2018 · Afr
- [IT P2 GR11 QP NOV2018 English D](https://www.hlayiso.com/library/it-p2-gr11-qp-nov2018-english-d/5dd44487-dd7e-48c8-af01-69892d313447) — Information Technology · QP · 2018 · Eng
- [IT JUNE P1 QP ONLY](https://www.hlayiso.com/library/it-june-p1-qp-only/743bb597-d018-40b6-acc4-eadcac3b347a) — Information Technology · QP · 2018
- [IT NOV P1 QP ONLY](https://www.hlayiso.com/library/it-nov-p1-qp-only/52bfb555-4406-4fb5-ac5b-77f29c120073) — Information Technology · QP · 2018

## 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.
