0% found this document useful (0 votes)
38 views7 pages

Grade 11 IT November Exam 2021

The document outlines the invigilator instructions and examination details for the Grade 11 Information Technology November Examination 2021, including submission guidelines for answer sheets and practical coding tasks. It specifies the structure of the exam paper, which consists of three questions related to programming skills, arrays and text files, and database management. Each question requires candidates to complete coding tasks in Delphi and submit their work in a Microsoft Word document on my.Impaq.

Uploaded by

jacyreyneke3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views7 pages

Grade 11 IT November Exam 2021

The document outlines the invigilator instructions and examination details for the Grade 11 Information Technology November Examination 2021, including submission guidelines for answer sheets and practical coding tasks. It specifies the structure of the exam paper, which consists of three questions related to programming skills, arrays and text files, and database management. Each question requires candidates to complete coding tasks in Delphi and submit their work in a Microsoft Word document on my.Impaq.

Uploaded by

jacyreyneke3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

INFORMATION TECHNOLOGY 1/2

GRADE 11

TASK 6.1

NOVEMBER EXAMINATION 2021

INVIGILATOR INSTRUCTIONS

• The approved invigilator downloads the unique barcoded cover page from [Link], signs it
and attaches it to the front of the answer sheet for marking purposes.

• The examination answer sheet and unique barcoded cover page must be submitted on
[Link] for marking purposes, with the exception of EGD, Dramatic/Visual Arts and CAT
Practical*, where the invigilator/courier must submit a hard copy at Impaq’s offices by hand.
*Practical papers must be submitted by CD/flash drive.

• A copy of the answer sheet must be kept for any hard copy submissions.

• This paper must be printed in colour.

Page 1 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

INFORMATION TECHNOLOGY
NOVEMBER EXAMINATION 2021
PAPER 1/2
GRADE 11

EXAMINER: J. L. Albertyn TIME: 3 hours


MODERATOR: E. Wagenaar TOTAL: 150

INSTRUCTIONS

1. This paper consists of THREE questions.


2. Read through the whole paper before you start.
3. Answer all the questions.
4. Do only what the question requires. If no error handling is required, no marks will be
allocated for it.
5. All coding should be done by the candidate. No properties of components must be adjusted
using the object inspector.
6. Save your work at regular intervals as a precaution against power failures.
7. During the examination, you may use the HELP function of the software. You may NOT refer
to any other resource material.
8. This is a 3-hour paper. After the three hours, ALL CODE (.pas files) MUST BE COPIED TO
A MICROSOFT WORD DOCUMENT and submitted on [Link].
9. The data files below are required to answer the paper:
Question 1 Question1_u.dfm
Question1_u.pas
Question1_p.dpr
Question 2 Question2_u.dfm
Question2_u.pas
Question2_p.dpr
[Link]
Question 3 Question3_u.dfm
Question3_u.pas
Question3_p.dpr

Page 2 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

To assist in the marking of IT practical papers in both tasks and examinations, Impaq has
decided that the learner’s Delphi code must be copied and saved to a Microsoft Word
document.

Once the learner has completed the programming code in Delphi, he/she must:

• Save their work first. Make an extra copy as a backup and then start with the process
to get it in a Word-document format. Learners must keep the original test/examination
safe in case of any queries.
• Select all his/her coding by holding down the <CTRL> and <A> keys on the keyboard.
This will select ALL the Delphi code in the program he/she was busy with.
• The code needs to be copied by holding down the <CTRL> and <C> keys. This will
copy all the Delphi code in the program he/she was busy with.
• Open Microsoft Word.
• Open a new document in Microsoft Word.
• Hold down <CTRL> and <V>. This will paste the learner’s code into the Microsoft
Word document.
• Repeat this for every question completed.
• Save the Microsoft Word document as the learner’s name and student number.
• Submit the Microsoft Word document on [Link].

Page 3 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

SECTION A

QUESTION 1: GENERAL PROGRAMMING SKILLS

Do the following:

• Open the incomplete program in the Question 1 folder.


• Enter your name and surname as a comment in the first line of the Question1_U.pas
file.
• Compile and execute the program. The program currently has no functionality.
• The program contains FIVE panels with different related questions.

Follow the instructions below to complete the code for EACH section of QUESTION 1, as
described in QUESTION 1.1 to QUESTION 1.5.

1.1 Write code in the [OnCreate] event handler on the form to do the following:

1.1.1 Display the slogan “We are the GREATEST” on the panel pnlQ1_1
provided. (2)

1.1.2 Set the background colour of the panel to yellow. (2)

1.1.3 Set the font size of the text to 15. (2)

Example of output when the program is executed:

1.2 Write code for the [Generate numbers] event handler that will do the following:

1.2.1 Non-locally, create an array of 10 integers. (3)

1.2.2 Randomly generate an array of 10 integers between 10 and 40 (both


numbers inclusive), using a for loop. (5)

1.2.3 Generate a string of the numbers generated. Display the number string in
the rich edit provided under the heading “Number generated”. Clear the
rich edit before displaying the generated numbers. (5)

1.3 Write code for the event handler of the button [Largest number] that will find the
highest number in the array and display it in the rich edit. (6)

Page 4 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

1.4 Write code for the event handler of the button [Display all even numbers]. (5)

1.5 Write code for the event handler of the button [Total and Average] that will
calculate the total and average of the numbers in the array. (5)

1.6 Write code for the button [Display all prime numbers] that will display all the
prime numbers in the array. (10)

[45]

QUESTION 2: ARRAYS AND TEXT FILES

Open the incomplete program in the Question 2 folder. A hockey club has players that
have played five games this season. The text file [Link] has the details of the players:
Their names and their five scores of the season. They have asked you to help them
managing the player data using a program. Complete the incomplete file Question2_U.pas
by doing the following:

2.1 Declare two non-local arrays, one called arrName (contains the names of the
players) and on called arrPoints (contains the average of points for the season for
each player). There are at most 50 names and points. Also declare an integer to
keep track of the size of the array. (5)

2.2 In the onActivate event handler:


2.2.1 Set two tab stops for the redDisplay rich edit at 100 and 200. (3)
2.2.2 Check if the file exists and display a suitable message if not. (4)
2.2.3 Open the file [Link] (3)
2.2.4 Read through the file line for line until the end of the file is reached. (4)
2.2.5 Extract the name of the player and his/her five scores. Find the average of
the scores. (7)
2.2.6 Read the name of the player to the name array. (2)
2.2.7 Read the average score of the player to the points array. (2)

Page 5 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

2.3 2.3.1 Write code for a function DisplayNames that will display the names and
averages of each player. (6)
2.3.2 Write code for the [Display Array] event handler that will call
DisplayNames and display the name of every player and their average
score under the heading: NAME <tab> Average points (4)

2.4 2.4.1 Write code for a procedure sortPoints that will sort the players according
to their points highest to the lowest. and display the name and points of
every player. (8)
2.4.2 Write code for the [SortArray] event handler that will call sortPoints and
DisplayNames that will clear the rich edit, sort and display the names and
averages in the rich edit. (2)

2.5 2.5.1 Write code for a function searchPlayer that will receive the name of a
player and return the name and average of the player. If the player does
not exist, display a suitable message. (7)
2.5.2 Write code for the [Search] event handler that will allow the user to enter
a player and call the seachPlayer function. (3)

2.6 Button btn2_6


There are 22 players in the text file that has been read to the array. Create two
text files: [Link] and [Link]. Sort the array and display the first 11 players
with their best scores in the [Link] and the players with the 11 lowest scores in
the [Link]. Also display the A-team and B-team players in the two separate
rich edits provided on the form. (5)
[65]

QUESTION 3: DATABASE

Data of the coaches appear in a database called [Link]. Use the data in the
table tblCoaches to do the following with the data in the database:

3.1 Sort the data alphabetically according to sport and then coaches.
Example of output:

(5)

Page 6 of 7 © Impaq
November Examination 2021
G11 ~ Information Technology P1/2

3.2 Display the average kit price of all the sports in a showMessage.
Example of output:

(10)

3.3 Display the highest kit price of all the sports in a showMessage.
Example of output:

(6)

3.4 Clear the rich edit. Display a heading: “Coach Sport” and all names and sports
where the kit prices are higher than the average in the rich edit provided. Set the
tab stop of the rich edit to 100. (10)

3.5 Allow the user to enter a sport in an input box. The event handler must search for
the sport in the table. If the sport exists, display the sport name of the coach and
the price of the kit in the rich edit. If the sport does not exist display an appropriate
message. (9)
[40]

GRAND TOTAL: 150

Page 7 of 7 © Impaq

Common questions

Powered by AI

Requiring students to code without using the object inspector ensures that they demonstrate their knowledge of programmatic approaches rather than relying on visual tools provided by the IDE. This method emphasizes understanding of the underlying code structure and logic, testing the student’s capabilities in writing and understanding code from scratch, which can provide a more accurate assessment of their programming skills .

These instructions simulate real-world scenarios where data must be read, processed, and displayed in real-time, requiring students to apply critical thinking and problem-solving skills. It enhances their ability to work with file I/O, arrays, and data manipulation, and encourages efficient coding practices by handling errors and exceptions, thereby deepening their understanding of programming beyond theoretical knowledge .

Requiring submission in both soft and hard copy formats ensures examination integrity by providing multiple forms of verification and backup, which helps prevent data loss and enables thorough review processes. However, it presents logistical challenges, such as increased administration work and potential for errors in handling physical copies, which necessitates clear guidelines and efficient operational frameworks to manage effectively .

Converting Delphi code into a Microsoft Word document may be necessary to streamline the review and marking process. It ensures that all submissions are in a consistent and easily readable format, reducing the risk of software compatibility issues that could arise from viewing raw Delphi files. This process also allows examiners to easily annotate and provide feedback within the Word document .

Learning to identify and display prime numbers in arrays emphasizes understanding of number theory concepts within programming. It encourages students to develop and implement efficient algorithms for filtering and testing that are fundamental in computer science. Such exercises enhance their logical reasoning and ability to optimize code, leading to a deeper comprehension of how algorithms function to solve intricate problems efficiently .

The procedures for database manipulation tasks enhance a student's data handling capabilities by requiring them to engage with database querying, sorting, and display mechanics. These skills are crucial for efficient data retrieval and presentation. Engaging with real-life database structures helps students understand the impact of database optimization and structuring on application performance and usability. Such tasks foster skills in data visualization and interpretation, essential for roles in data analysis and management .

Sorting player data by points allows the hockey club to easily identify top-performing players and assess team strengths and weaknesses. It facilitates strategic decisions regarding training and game-time allocations and enables more effective communication and reporting to stakeholders. This program structure allows for dynamic updates and easy retrieval of sorted performance data, enhancing data-driven decision-making processes .

The signing and attaching of the barcoded cover page by approved invigilators serve as a form of verification and authentication, ensuring that the submitted examination materials are legitimate and have been properly supervised. This procedure likely aims at maintaining the integrity of the examination process and ensuring that submissions are accounted for and can be easily tracked and identified .

Incorporating array sorting and searching functions into the curriculum provides students with essential foundational skills in algorithmic thinking and data management. These tasks develop logical reasoning and problem-solving skills that are critical in programming. They also prepare students for more complex topics like data structures and algorithms by illustrating the importance of efficiency and optimization in coding. However, relying too heavily on these practices can limit exposure to a broader range of practical applications, potentially necessitating a balanced curriculum .

This restriction is likely to encourage students to develop a strong foundation in understanding core programming concepts and problem-solving techniques rather than reliance on external resources. It tests their ability to recall and apply knowledge under pressure, possibly increasing stress but also preparing them for real-world scenarios where quick decision-making and problem-solving are crucial. However, it may disadvantage students who are less adept at memorization or have test anxiety, potentially impacting their performance .

You might also like