# Information Technology Grade 12 IEB P2 2016 Question Paper

> IEB Grade 12 Information Technology Paper 2 question paper from the 2016, 2 pages. Read online or get the free PDF download, memo linked when available.

- Page: https://www.hlayiso.com/library/it-p2-mark-sheet-2016-pn/e6d4e058-7523-4c11-a739-9659a8a20f04
- Updated: 2026-10-10
- Subject: Information Technology
- Grade: Grade 12
- Document type: Question paper
- Year: 2016
- Paper: 2
- Publisher: IEB
- Curriculum: IEB
- Pages: 2

Breadcrumbs: [Home](https://www.hlayiso.com/) › [Library](https://www.hlayiso.com/library) › [Grade 12](https://www.hlayiso.com/library/grade-12) › [Information Technology](https://www.hlayiso.com/library/grade-12/information-technology) › [Information Technology Grade 12 IEB P2 2016 Question Paper](https://www.hlayiso.com/library/it-p2-mark-sheet-2016-pn/e6d4e058-7523-4c11-a739-9659a8a20f04)

## About this document

Information Technology · Grade 12 · 2016. Question paper, 2 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
NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION – MARK SHEET                              Page 1 of 2

               Place candidate's barcoded
                                                                         I.T. PRACTICAL EXAMINATION 2016
                       sticker here.                   Version: FINAL Marksheet (October 2016)               Prog. Lang.
                                                     Candidate:
   This sheet must be stapled to the front of each     Marker:                                                120          0
              candidates' submission.
              candidate's                            Checksum: 0000-0000-0120                                Total      Pupil

                                                                   SQL
 1.1 SELECT *
     FROM tblItems
     WHERE Retailer = “Home Pride”
 1.2 SELECT Description, Price
     FROM tblItems
     WHERE Price >= 350 AND Price <= 500
     OR: WHERE Price BETWEEN 350 AND 500
 1.3 SELECT BrideName & " & " & GroomName AS CoupleName, MONTH(WeddingDate) AS
     MonthOfWedding
     FROM tblCouples
     ORDER BY MONTH(WeddingDate)
 1.4 UPDATE tblGifts SET Available = True
     WHERE RequestedQuantity > BoughtQuantity;
     (Alternatively: UPDATE tblGifts SET Available = RequestedQuantity > BoughtQuantity)
 1.5 SELECT Retailer, AVG(Price) AS AvgItemPrice
     FROM tblItems
     WHERE Description LIKE '*Platter*' (%Platter% will not work in Access. Do not award marks)
     GROUP BY Retailer
 1.6 SELECT SUM(Price) AS TotalPrice
     FROM tblItems
     WHERE ItemID NOT IN (SELECT ItemID FROM tblGifts) OR
     SELECT SUM (Price) AS TotalPrice
     FROM tblItems LEFT JOIN tblGifts ON tblItems.ItemId = tblGift.ItemID
     WHERE tblGifts.itemID IS NULL
     (If the join is incorrect award no marks. If the ON clause is correct then award 1 mark).
 1.7 SELECT BrideName, Description, RequestedQuantity - BoughtQuantity AS QuantityAvailable
     FROM tblItems, tblGifts, tblCouples
     WHERE tblItems.ItemID = tblGifts.ItemID AND tblCouples.CoupleID = tblGifts.CoupleID
     AND Available = True
     ORDER BY BrideName , RequestedQuantity - BoughtQuantity
     (Accept WHERE … RequestedQuantity > BoughtQuantity instead of Available = True or any other
     working condition)
 1.8 INSERT INTO tblGifts ( ItemID, CoupleID, RequestedQuantity, BoughtQuantity, Available)
     SELECT ItemID, 9, RequestedQuantiy, 0 , True (Hard-coded values) (Field names in select)
     FROM tblGifts
     WHERE CoupleID = 2                                      (Only award for correct nested SELECT)
                                                             Programming
 2.1 Wedding Class: Class header is correct
 2.2 Fields/Properties: attributes declared private name correctly and correct type
 2.3 Constructor: header is correct with correct parameters and values assigned to correct parameters
 2.4 Accessor Methods (getWeddingDate, getVenue, getGuests): named correctly return type is correct and
     returns the correct attribute value
 2.5 equals: method header correct (accept integer for inVenue paramenter) weddingDate attribute
     compared with parameter and venue attribute compared with parameter (accept == for comparison of
     inVenue) and true or false returned (Accept any attempt to convert between integer and string with …)

 2.6 toString: method header correct correct attributes returned with the correct formatting (& need not
     have spaces before and after)

IEB Copyright © 2016

### Page 2

Downloaded from hlayiso.com
NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION – MARK SHEET                         Page 2 of 2

 3.1 BookingDay Class: Class header is correct
 3.2 Attributes: bookingDate declared correctly garden and lake BOTH attributes declared as Wedding
     objects
 3.3 Constructor: inBDate parameter is of the correct type garden and lake attributes are Wedding objects
     inBDate assigned to correct attribute and garden and lake assigned to correct attributes (Penalise for
     incorrect garden and lake types again)
 3.4 getOverBooked: method header correct perform checks in two separate if statements (do not accept if
     …else) that garden or lake properties are not null check the number of guests does not exceed 160 and
     130 respectively; if so, return a string stating overbooked in correct format
 3.5 toString: method header correct check if there is a garden and lake wedding (deduct this markeven if
     already deducted in 3.4) and return toString of respective object(s). Check if neither venue is booked
     and return appropriate message. Return overbooking information

 4.1 VenueManager: Class header is correct
 4.2 PROPERTIES: Private (penalise again for non-private properties) array of wedding objects and array of
     BookingDay objects declared correctly and both of correct size (50 and 30 respectively)
 4.3 Constructor: Accepts filename as a parameter Display error if file does not exist Open file for reading
     Loop through every line in the file (while or for loop accepted) Read a line for the wedding information
     and tokenize. Add a new Wedding object to the array at the correct position called constructor with
     correct parameters
 4.4 listAllWeddings: method header correct, appropriate for loop, concatenate the toString of each object
     with a newline
 4.5 getWeddingsOnDay: Method header (including parameters) correct return null if no wedding is found
     loop through the array of objects use the wedding objects' equals method (or any other method) to
     compare objects return the wedding object if found
 4.6 processBookings: Loop through the array of BookingDay objects
     Generate each day of the month
     Allowance made for days with a single digit
     Search for lake weddings on that day
     Search garden weddings on that day
     Create a new BookingDay object at the correct position using the date and the two wedding objects as
     parameters
     Return the all BookingDay objects toString's with each on a new line

 5.1 Create an interface/form/class/unit called WeddingUI
 5.2 Instantiate a VenueManager Object (Must have filename parameter, -1 if not penalised in 4.3)
 5.3 Methods called and output displayed

 6.1 displayCalendar:
     Method header is correct
     Days of the week as column headings
     Leading spaces before the 1st generated using a loop
     Displays all 30 days in the month generated using a loop
     Days without leading zeros are displays with the correct spacing using an if statement or tabs
     New line after each Sunday checked using some kind of calculation within the loop
     (Give maximum 2 marks for a purely hard-coded solution with 7 if statements and no loops or other if
     statements) (Accept any arrays or data structures that are populated using loops and if statements and
     then just displayed. E.g. 2D Arrays)
6.2 Method called in interface and output displayed

IEB Copyright © 2016

## Related documents

- [IT P2 2016](https://www.hlayiso.com/library/it-p2-2016/fc32e9c8-93a8-4011-9f1c-f3ab055e5022) — Information Technology · QP · 2016
- [IT P2 MG 2016](https://www.hlayiso.com/library/it-p2-mg-2016/3537ff5f-a6a7-417a-97b9-5a29a9bb9b3e) — Information Technology · Memo · 2016
- [IT P1 2016](https://www.hlayiso.com/library/it-p1-2016/36abcfbd-3626-4ede-b6d2-772b9067f2f2) — Information Technology · QP · 2016
- [IT P2 2018](https://www.hlayiso.com/library/it-p2-2018/e1bdd485-1cd8-41f9-b102-083e9d083c4f) — Information Technology · QP · 2018
- [IT P2 2017](https://www.hlayiso.com/library/it-p2-2017/559d140a-6623-438e-b777-547fe9e7f589) — Information Technology · QP · 2017
- [IT P2 Mark Sheet 2017](https://www.hlayiso.com/library/it-p2-mark-sheet-2017/bec2c1c2-fb1d-4fdd-b1ee-e410153dc68f) — Information Technology · QP · 2017

## More from Grade 12 Information Technology

- [IT P1 Memo 2019](https://www.hlayiso.com/library/it-p1-memo-2019/2e8e879b-13ef-4ce8-83ba-2331b6683c7b) — Memo · 2019
- [IT P1 Memo 2019 Afr](https://www.hlayiso.com/library/it-p1-memo-2019-afr/79b825fb-b6d1-44a1-8d21-a4f40b3c05d1) — Memo · 2019 · Afr
- [IT P2 Memo 2019](https://www.hlayiso.com/library/it-p2-memo-2019/5488d1e0-80ec-4830-ae97-f9efc9f9f638) — Memo · 2019
- [IT P2 Memo 2019 Afr](https://www.hlayiso.com/library/it-p2-memo-2019-afr/6bc50b59-2822-44fe-b3d4-7d5c53b2076e) — Memo · 2019 · Afr
- [IT P1 2018](https://www.hlayiso.com/library/it-p1-2018/ee3dec5b-4762-4d89-92a3-c206def9314f) — QP · 2018
- [IT P1 Appendix A 2018](https://www.hlayiso.com/library/it-p1-appendix-a-2018/80f4b92e-8207-4711-83a0-bc4f34a9ecca) — QP · 2018

## Collection

- [Grade 12 IEB past papers](https://www.hlayiso.com/ieb/grade-12/information-technology)

---

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.
