# Information Technology Grade 11 P1 2017 Memo (Afr)

> Grade 11 Information Technology Paper 1 memorandum from the Eastern Cape November 2017 (Afrikaans), 14 pages. Read online or download the free PDF.

- Page: https://www.hlayiso.com/library/it-p1-gr11-memo-nov2017-afrikaans/d9e85ce1-6cf1-4795-bc4c-1b11c5e7be23
- Updated: 2026-09-27
- Subject: Information Technology
- Grade: Grade 11
- Language: Afrikaans
- Document type: Memorandum
- Year: 2017
- Exam period: Eastern Cape November
- Paper: 1
- Curriculum: CAPS
- Pages: 14

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 2017 Memo (Afr)](https://www.hlayiso.com/library/it-p1-gr11-memo-nov2017-afrikaans/d9e85ce1-6cf1-4795-bc4c-1b11c5e7be23)

## About this document

Information Technology · Grade 11 · Eastern Cape November · 2017 · Afrikaans. Memorandum, 14 pages. Read online or download the PDF.

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

## Matching paper and memo

- [IT P1 GR11 NOV 2017 Afrikaans](https://www.hlayiso.com/library/it-p1-gr11-nov-2017-afrikaans/8d816656-5043-4d1a-9935-8b14eb3225ce) — QP · 2017 · Afr

## Document text

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

### Page 1

Downloaded from hlayiso.com

                        NASIONALE
                    SENIOR SERTIFIKAAT

                          GRAAD 11

                       NOVEMBER 2017

               INLIGTINGSTEGNOLOGIE V1
                     NASIENRIGLYN

PUNTE:   150

                 Hierdie nasienriglyn bestaan uit 18 bladsye.

### Page 2

Downloaded from hlayiso.com
   2                                INLIGTINGSTEGNOLOGIE V1               (EC/NOVEMBER 2017)

ALGEMENE PROGRAMMERING VAARDIGHEDE

                                                                         MAKS.        PUNTE
                               VRAAG 1                                   PUNTE       BEHAAL
Get input from spinedits for adults,  children and pensioners

If VIP checkbox is selected
  get number of VIP tickets from spinedit

Allocation of ticket numbers: (8)

Initialising of variables
VIP tickets start at 1
Other tickets start at 31
Correct allocation of ticket numbers – start  and end
Calculation of total VIP tickets 
Calculation of total other tickets
Calculation of total tickets for all purchases made 

Calculation of the cost: (4)

Ticket costs per category – adults * 80 and (children+pensioners *
50) 
Calculating total cost per purchase
Calculating total cost for all purchases made
                                                                          32
Display: (5)

Heading: SCHOOL PRODUCTION and on next line Show:GALA
NIGHT
Cost of tickets formatted to currency and two decimal places
The ticket numbers that are allocated to this purchase

Write to File: (6)

Assignfile
Rewrite
Write total amount of tickets to file
Write total amount of money to file, formatted to two decimal places
Closefile

Clear button: (4)

Clear the richedit
Set the spinedits to 0
Set the checkbox to uncheck

                                                                          [32]

   Kopiereg voorbehou                                                       Blaai om asseblief

### Page 3

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                 INLIGTINGSTEGNOLOGIE V1                            3

                                                               MAKS.           PUNTE
                             VRAAG 2                           PUNTE          BEHAAL
  2.1    Class scope variable declarations:
          icount
          arrnames,arrsurnames,arrscene[1..100] 
          string

         Test if file exists
           Message to display that the file does not exist
           Close program
         Assignfile 
         Reset file
                                                                22
         Initialise the counter
         Loop 
           Increase the counter
           Read line from text file
           Find position of space
           Get the name and store in array
           Find position of ‘-‘
           Get the surname and store in array
           Store the scene in array
         Close the file
  2.2    Method heading
         Outer loop (icount – 1) 
           Inner loop (k+1) 
             Compare arrsurnames
              3 lines to swop arrnames
              3 lines to swop arrsurnames                       9
              3 lines to swop arrscene

         * the first array that is swopped will be awarded 3
         marks because the next two make use of the same
         logic – must make use of a temporary variable
  2.3    Call the Sort method
         Loop – making use of counter variable
                                                                 4
           Displaying the surnames in uppercase and the
           names
  2.4    Initialise counters
         Loop
           Any method to determine if S1 is present
             Increase counter                                   8
           Any method to determine if S2 is present
             Increase counter
         Display how many people in S1 and in S2
  2.5    Call the Sort method
         Loop
           If Technical or Backstage                           6
             Display arrname ‘ ‘ arrsurname ‘–‘ arrscene

                                                                [49]

Kopiereg voorbehou                                                     Blaai om asseblief

### Page 4

Downloaded from hlayiso.com
4                                INLIGTINGSTEGNOLOGIE V1                     (EC/NOVEMBER 2017)

                                                                       MAKS.          PUNTE
                              VRAAG 3                                  PUNTE         BEHAAL
    3.1   ValidId

          Method heading: id as parameter and Boolean return
          type
          Initialise counters
          Get the numbers in odd positions and add them
          Get the numbers in even positions, multiply by 2
          and put numbers together
                                                                        17
          Add all the numbers (even) 
          Add odd and even
          Get the last digit
          Subtract last digit from 10
          If answer is the same as the last digit in ID
            Return true
          else
            Return false
    3.2   Gender

          Method heading: Id as parameter return type char
          If 7th position of ID less than or equal to 4                7
            Return ‘F’
          else
            Return ‘M’
    3.3   RegCode

          Procedure with sname as parameter
          Initialise variables: icount := 0; k := 1; scode := ‘’ 
          Conditional loop
            Change name to uppercase
                                                                        17
            If letter not a vowel or space
              Add to code
              Increase counter (icount) 
            Increase counter (k) 
          Randomise a number correct range  (100-999)
          Display code, # and random number
    3.4   Get the id
          Get the name
          Get the gender
          If the ID is valid and gender from ID = gender from
                                                                         8
          input
            Call Regcode
          else
            Display a message that information is not correct
                                                                        [49]

Kopiereg voorbehou                                                             Blaai om asseblief

### Page 5

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                  INLIGTINGSTEGNOLOGIE V1                                  5

                                                                        MAKS.           PUNTE
                              VRAAG 4                                   PUNTE          BEHAAL
  4.1      Sort according surname ASC, name ASC                         2
  4.2      NO FILTERS!

           Get the name and surname from inputbox
           Extract the name
           Extract the surname
                                                                          9
           Open the table and set to first record
           Loop through table
            If name  and surname is found
              Display the contact number
            Go to next record
  4.3      Any method may be used. If a filter was used, the filtered
           property should be set to false in the next question.
                                                                          2
           Using the word LIKE
           %Cast Welfare%
  4.4      Any method may be used
           Using recordcount or a counter                                2
           Displaying how many records
  4.5      Insert
           Add the name
           Add the surname                                               5
           Add the contact number
           Post
                                                                         [20]

                                                          TOTAAL:        150

Kopiereg voorbehou                                                            Blaai om asseblief

### Page 6

Downloaded from hlayiso.com
6                                   INLIGTINGSTEGNOLOGIE V1           (EC/NOVEMBER 2017)

VOORBEELDOPLOSSINGS

Vraag 1

unit Question1_u;

interface

uses
 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
 Dialogs, StdCtrls, ComCtrls, ExtCtrls, Spin, Math, Buttons;

type
  TForm1 = class(TForm)
   sedadults: TSpinEdit;
   sedchildren: TSpinEdit;
   redoutput: TRichEdit;
   lbladults: TLabel;
   Label1: TLabel;
   Button1: TButton;
   cbxVip: TCheckBox;
   Label2: TLabel;
   sedpens: TSpinEdit;
   BitBtn1: TBitBtn;
   procedure Button1Click(Sender: TObject);
   procedure FormCreate(Sender: TObject);
   procedure BitBtn1Click(Sender: TObject);
  private
   { Private declarations }
  public
   { Public declarations }
  end;

var
 Form1: TForm1;
 itotalvip, itotalother, itotaltickets : integer;
 rtotalcost : real;

implementation

{$R *.dfm}

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
 redoutput.clear;
 sedadults.Value := 0;
 sedchildren.Value := 0;
 sedpens.Value := 0;
 cbxVip.Checked := false;
end;

Kopiereg voorbehou                                                      Blaai om asseblief

### Page 7

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                     INLIGTINGSTEGNOLOGIE V1                                 7

procedure TForm1.Button1Click(Sender: TObject);
var
 iadults, ichildren, ipens, ivip, istartseat, iendseat : integer;
 rcost : real;
 myfile : textfile;

begin
 ivip := 0;
 iadults := sedadults.Value;
 ipens := sedpens.value;
 ichildren := sedchildren.Value;

 istartseat := itotalother;
 iendseat := istartseat + iadults + ipens + ichildren -1;

 if cbxvip.Checked = true then
  begin
   ivip := strtoint(Inputbox('','How many VIPs?',''));
   istartseat := itotalvip;
   iendseat := istartseat + ivip-1;
  end;
 itotalvip := itotalvip + ivip;
 itotalother := itotalother + iadults + ipens + ichildren;

 rcost := iadults * 80 + (ipens + ichildren) * 50;
 rtotalcost := rtotalcost + rcost;
 itotaltickets := itotaltickets + ivip + iadults + ichildren + ipens;

 redoutput.Lines.Add('School Production');
 redoutput.Lines.Add('Show: GALA NIGHT');
 redoutput.lines.add('Total cost of tickets:'+#9+floattostrf(rcost,ffcurrency,10,2));
 redoutput.Lines.Add('Seats: '+inttostr(istartseat) + '-'+inttostr(iendseat));

 Assignfile(myfile,'Bookings.txt');
 Rewrite(myfile);
 writeln(myfile,'Tickets sold: '+inttostr(itotaltickets));
 writeln(myfile,'Total amount '+floattostrf(rtotalcost,fffixed,6,2));
 closefile(myfile);
 showmessage('File was successfully written');

end;

procedure TForm1.FormCreate(Sender: TObject);
begin
 itotalvip := 1;
 itotalother := 31;
 rtotalcost := 0;
 itotaltickets := 0;
end;

end.

Kopiereg voorbehou                                                              Blaai om asseblief

### Page 8

Downloaded from hlayiso.com
8                              INLIGTINGSTEGNOLOGIE V1                 (EC/NOVEMBER 2017)
Vraag 2

unit Question2_u;

interface

uses
 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;

type
  TForm1 = class(TForm)
   Button1: TButton;
   Memo1: TMemo;
   Button2: TButton;
   Button3: TButton;
   procedure FormCreate(Sender: TObject);
   procedure Button1Click(Sender: TObject);
   procedure Button2Click(Sender: TObject);
   procedure Button3Click(Sender: TObject);
  private
   { Private declarations }
  public
   procedure Sort;
  end;

var
 Form1: TForm1;
 arrnames, arrsurnames, arrscene : array[1..100] of string;
 icount : integer;
implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
 k : integer;
begin
  Sort;
  for k := 1 to icount do
    memo1.Lines.Add(uppercase (arrsurnames[k]) + ' ' + arrnames[k]);
end;
procedure TForm1.Sort;
var
 k: Integer;
 l: Integer;
 stemp1, stemp2,stemp3 : string;

begin
  for k := 1 to icount - 1 do
   for l := k+1 to icount do
     if arrsurnames[k] > arrsurnames[l] then
     begin

Kopiereg voorbehou                                                       Blaai om asseblief

### Page 9

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                 INLIGTINGSTEGNOLOGIE V1                                  9
      stemp1 := arrnames[k];
      arrnames[k] := arrnames[l];
      arrnames[l] := stemp1;
      stemp2 := arrsurnames[k];
      arrsurnames[k] := arrsurnames[l];
      arrsurnames[l] := stemp2;
      stemp3 := arrscene[k];
      arrscene[k] := arrscene[l];
      arrscene[l] := stemp3;
     end;
end;
procedure TForm1.Button2Click(Sender: TObject);
var
 k, ipos, iscene1, iscene2 : integer;
begin
 memo1.Clear;
 iscene1 := 0;
 iscene2 := 0;
 for k := 1 to icount do
 begin
   ipos := pos('S1',arrscene[k]);
   if ipos > 0 then
      inc(iscene1);

  ipos := pos('S2',arrscene[k]);
  if ipos > 0 then
      inc(iscene2);

  end;
  memo1.Lines.Add('Total Scene 1: ' + inttostr(iscene1));
  memo1.Lines.Add('Total Scene 2: ' + inttostr(iscene2));
end;

procedure TForm1.Button3Click(Sender: TObject);
var
 k : integer;
begin
 memo1.Clear;
 Sort;
 for k := 1 to icount do
 begin
   if (arrscene[k] = 'Technical') or (arrscene[k] = 'Backstage') then
     memo1.Lines.Add(arrnames[k] + ' '+arrsurnames[k] + '-' + arrscene[k])
 end;
end;

procedure TForm1.FormCreate(Sender: TObject);
var
 myfile : textfile;
 soneline : string;
 ipos : integer;
begin
   if fileexists('Cast.txt') <> true then

Kopiereg voorbehou                                                           Blaai om asseblief

### Page 10

Downloaded from hlayiso.com
10                             INLIGTINGSTEGNOLOGIE V1   (EC/NOVEMBER 2017)
 begin
   Showmessage('File does not exist');
   Exit;
 end;
 Assignfile(myfile, 'Cast.txt');
 Reset(myfile);
 icount := 0;
 while not eof (myfile) do
 begin
   icount := icount + 1;
   readln(myfile,soneline);
   ipos := pos(' ',soneline);
   arrnames[icount] := copy(soneline, 1, ipos-1);
   delete(soneline,1,ipos);
   ipos := pos('-',soneline);
   arrsurnames[icount] := copy(soneline, 1, ipos-1);
   delete(soneline,1,ipos);
   arrscene[icount] := soneline;
 end;
 closefile(myfile);
end;

end.

Kopiereg voorbehou                                         Blaai om asseblief

### Page 11

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                INLIGTINGSTEGNOLOGIE V1                            11
Vraag 3

unit Question3_u;

interface

uses
 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
 Dialogs, StdCtrls, Math;

type
  TForm1 = class(TForm)
   Button1: TButton;
   Edit1: TEdit;
   Edit2: TEdit;
   Edit3: TEdit;
   procedure Button1Click(Sender: TObject);
  private
   { Private declarations }
  public
   function validid(sid : string) : boolean;
   function gender(sid : string) : char;
   Procedure RegCode(sname : string);
  end;

var
 Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
var
 sid, sname, sgender : string;
begin
 sid := edit1.text;
 sname := edit2.text;
 sgender := edit3.text;
 if (validid(sid)) and (gender(sid)= sgender) then
   regcode(sname)
 else
   Showmessage('Information is not correct');
end;

procedure TForm1.RegCode (sname: string);
var
 icount, k, iran : integer;
 scode : string;
begin
 icount := 0;
 k := 1;
 scode := '';

Kopiereg voorbehou                                                      Blaai om asseblief

### Page 12

Downloaded from hlayiso.com
12                                    INLIGTINGSTEGNOLOGIE V1    (EC/NOVEMBER 2017)
 while icount <> 4 do
 begin
   if NOT(upcase (sname[k]) in ['A','E','I','O','U',' ']) then
   begin
     scode := scode + sname[k];
     inc(icount);
   end;
   inc(k);
 end;
 iran := randomrange(1,1000);
 Showmessage(scode+'#'+inttostr(iran) );
end;

function TForm1.gender(sid: string): char;
begin
  if strtoint(sid[7] ) <= 4 then
    result := 'F'
  else
    result := 'M';
end;

function TForm1.validid(sid: string): boolean;
var
  k, iodd, ieven, isum, icheck, ilast: Integer;
  seven : string;
begin
   seven := '';
   ieven := 0; initialise counters
   iodd := 0;
   for k := 1 to 12 do
   begin
     if k mod 2 = 0 then
       seven := seven + inttostr(strtoint(sid[k])*2)
     else
       iodd := iodd + strtoint(sid[k]);
   end;
   for k := 1 to length(seven) do
     ieven := ieven + strtoint(seven[k]);

     isum := iodd + ieven;
     ilast := strtoint(inttostr(isum)[2]);

  icheck := 10 - ilast;

  if icheck = strtoint(sid[13]) then
    result := true
  else
    result := false;

end;

end.

Kopiereg voorbehou                                                 Blaai om asseblief

### Page 13

Downloaded from hlayiso.com
(EC/NOVEMBER 2017)                 INLIGTINGSTEGNOLOGIE V1                           13
Question 4

unit Question4_u;

interface

uses
 Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
 Dialogs, Menus, Grids, DBGrids, DB, ADODB;

type
  TForm1 = class(TForm)
   ADOTable1: TADOTable;
   DataSource1: TDataSource;
   DBGrid1: TDBGrid;
   MainMenu1: TMainMenu;
   Sort1: TMenuItem;
   FindaContactNumber1: TMenuItem;
   CastWelfare1: TMenuItem;
   AllHelpers1: TMenuItem;
   Remove1: TMenuItem;
   procedure Sort1Click(Sender: TObject);
   procedure FindaContactNumber1Click(Sender: TObject);
   procedure CastWelfare1Click(Sender: TObject);
   procedure AllHelpers1Click(Sender: TObject);
   procedure Add1Click(Sender: TObject);
  private
   { Private declarations }
  public
   { Public declarations }
  end;

var
 Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.AllHelpers1Click(Sender: TObject);
begin
 Showmessage(inttostr(adotable1.RecordCount));
end;

procedure TForm1.CastWelfare1Click(Sender: TObject);
begin
 adotable1.Filter := 'Tasks LIKE ''%'+'Cast Welfare'+'%''';
 ADOTable1.Filtered := True;
end;

procedure TForm1.FindaContactNumber1Click(Sender: TObject);
var
 sname, ssurname, ssearch : string;

Kopiereg voorbehou                                                      Blaai om asseblief

### Page 14

Downloaded from hlayiso.com
14                           INLIGTINGSTEGNOLOGIE V1                 (EC/NOVEMBER 2017)
 ipos : integer;
begin
 ssearch := inputbox('','','');
 ipos := pos(' ',ssearch);
 sname := copy(ssearch, 1, ipos-1);
 delete(ssearch,1,ipos);
 ssurname := ssearch;
 adotable1.Open;
 adotable1.first;
 while not adotable1.eof do
 begin
   if (adotable1['Name'] = sname) and (adotable1['Surname'] = ssurname) then
     Showmessage('Contact Number is '+adotable1['ContactNumber']);
 adotable1.Next;
 end;
 adotable1.Close;
end;

procedure TForm1.Add1Click(Sender: TObject);
begin
  adotable1.Insert;
  adotable1['Name'] := 'Paige';
  adotable1['Surname'] := 'Watson';
  adotable1['ContactNumber'] := '0832454216';
  adotable1.Post;
end;

procedure TForm1.Sort1Click(Sender: TObject);
begin
 adotable1.Sort := 'Surname ASC, Name ASC';
end;

end.

Kopiereg voorbehou                                                     Blaai om asseblief

## Related documents

- [IT P2 GR11 MEMO NOV2017 Afrikaans](https://www.hlayiso.com/library/it-p2-gr11-memo-nov2017-afrikaans/00c98cd3-cf7e-453f-abc1-3494352f8e3c) — Information Technology · Memo · 2017 · Afr
- [IT P1 QP MEMO GR11 NOV2020 Afrikaans D](https://www.hlayiso.com/library/it-p1-qp-memo-gr11-nov2020-afrikaans-d/09d5bea3-08be-4b20-9a72-e526738e9d32) — Information Technology · Memo · 2020 · Afr
- [IT P1 MEMO GR11 NOV 2016 AFRIKAANS](https://www.hlayiso.com/library/it-p1-memo-gr11-nov-2016-afrikaans/b7bff882-1173-460a-856b-d5b2953dc8aa) — Information Technology · Memo · 2016 · Afr
- [IT P2 GR11 QP NOV2017 Afrikaans](https://www.hlayiso.com/library/it-p2-gr11-qp-nov2017-afrikaans/bec5c240-c7a1-4d01-b839-7c3cf5373489) — Information Technology · QP · 2017 · Afr
- [IT P1 QP GR11 NOV2020 Afrikaans](https://www.hlayiso.com/library/it-p1-qp-gr11-nov2020-afrikaans/3004cfd1-3dc0-4c27-8e34-e7946b874eb4) — Information Technology · QP · 2020 · Afr
- [IT P1 QP GR11 NOV2020 Afrikaans D](https://www.hlayiso.com/library/it-p1-qp-gr11-nov2020-afrikaans-d/cca32e2f-eb44-4bc4-a2d6-e9767e9a0e4b) — Information Technology · QP · 2020 · Afr

## More from Grade 11 Information Technology

- [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 QP GR11 NOV 2022 AFR](https://www.hlayiso.com/library/it-p1-qp-gr11-nov-2022-afr/e4251ebe-2f65-4c6f-992b-f7208b36300a) — QP · 2022 · Afr
- [IT P2 GR11 QP NOV2022 Afrikaans](https://www.hlayiso.com/library/it-p2-gr11-qp-nov2022-afrikaans/00d1cb8c-b0d9-41ea-9060-a94b73039d3a) — QP · 2022 · Afr
- [IT P1 QP GR11 NOV 2022 AFR](https://www.hlayiso.com/library/grade-11-information-technology-2022-exemplar-november-exam-question-paper-paper-1-afrikaans/a17870ba-8fac-4013-9eda-0831f367fbca) — QP · 2022 · Afr
- [IT P2 GR11 QP NOV2022 Afrikaans](https://www.hlayiso.com/library/grade-11-information-technology-2022-exemplar-november-exam-question-paper-paper-2-afrikaans/be8f522c-a9ab-4a0d-bbce-f1b478d57356) — QP · 2022 · Afr
- [GEO-Sept-QP & Memo-2015-Gr11](https://www.hlayiso.com/library/geo-sept-qp-memo-2015-gr11/cfa849fa-4151-4938-b293-d0122c3a72c6) — QP + Memo · 2021

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