Top Banner
IEB Copyright © 2013 PLEASE TURN OVER NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 2013 INFORMATION TECHNOLOGY: PAPER I Time: 3 hours 180 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY 1. This question paper consists of 12 pages. Please check that your question paper is complete. 2. Read the questions carefully and make sure that you answer all parts of each question. 3. Answer ALL questions – there are no options in this paper. 4. Show all working where applicable. 5. Non-programmable calculators may be used. 6. Number your answers exactly as the sub-questions are numbered. 7. Start each answer to each question on a new page. 8. Please leave a line open between sub-questions. 9. It is in your own interest to write legibly and to present your work neatly.
63

NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

Mar 14, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

IEB Copyright © 2013 PLEASE TURN OVER

NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 2013

INFORMATION TECHNOLOGY : PAPER I Time: 3 hours 180 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY

1. This question paper consists of 12 pages. Please check that your question paper is complete. 2. Read the questions carefully and make sure that you answer all parts of each question. 3. Answer ALL questions – there are no options in this paper. 4. Show all working where applicable. 5. Non-programmable calculators may be used. 6. Number your answers exactly as the sub-questions are numbered. 7. Start each answer to each question on a new page. 8. Please leave a line open between sub-questions. 9. It is in your own interest to write legibly and to present your work neatly.

Page 2: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 2 of 12

IEB Copyright © 2013

SCENARIO 'Re-engineering the human ...' Experts from a biometric engineering team predict that bionic technology will give us longer, healthier lives in the future. 'Re-engineering the human', explores some remarkable breakthroughs in the design of prosthetic limbs, artificial organs, bones and even blood cells. Bionic limbs with machine intelligence can now sense their environment and predict a user's intentions. Smarter, stronger, speedier robotics will someday enhance the power of the able-bodied. A new prosthetic arm actually composed of a swarm of robots, each with a detachable segment housing a processor that works in concert with the others, is bringing new hope to many people.

[Adapted from: Popular Mechanics, June 2012] QUESTION 1 The biometric engineering team needs help with the following terms: (State TWO key facts for each term) 1.1 Cloud Computing

1.2 RFID

1.3 System Software 1.4 Virtualisation 1.5 Firmware 1.6 VPN 1.7 Digital signature 1.8 RSI 1.9 UML 1.10 Android

[20]

1

1 Biometrics – identification of humans by their characteristics or traits, e.g. fingerprint reader to gain access to a secure room.

Page 3: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 3 of 12

IEB Copyright © 2013 PLEASE TURN OVER

QUESTION 2 The biometric engineering team has many considerations preparing disabled people for the world they have to live in. They need advice when reviewing the following devices for assisting the disabled. 10 Device A: Samsung Galaxy Note 10.1

Cellular connectivity GSM/3G/4G Bands 850 / 900 / 1800 / 1900 HSPA 850 / 900 / 1900 / 2100 (3G model)

Display 10.1" LCD at 1 280 × 800 149 ppi pixel density

Processor Samsung Exynos 4 Quad 1.4 GHz quad-core

Graphics Mali-400 MP4 GPU RAM 2 GB Storage 16/32/64 GB internal user storage

microSDXC slot Connectivity Wi-Fi 802.11 b/g/n

Bluetooth 4.0 Infrared

Camera 5 MP rear camera with LED flash 1.9 MP front camera

Ports Samsung proprietary connector 3.5 mm audio jack S-Pen slot

Launch OS Embedded Android 4.0 'Ice Cream Sandwich' [<http://www.neowin.net/news/review-samsung-galaxy-note-101>]

Device B: The Lenovo IdeaPad Yoga 13 Convertible laptop

[<http://www.cnet.com/laptops/lenovo-ideapad-yoga-13/4505-3121_7-35477652.html>]

Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-

Core) [2.6 GHz Turbo boost] 64 bit Graphics Clock Rate 850 MHz [1100 MHz Turbo boost] Operating system MS Windows 8 Chipset Mobile Intel QS77 Express Bus Speed 1 600 MHz / PC3-12800 Memory 8 GB DDR3L SDRAM Hard drive description 128 GB SSD / Serial ATA-300 Graphics Intel HD Graphics 4000 Audio Stereo speakers, combo headphone / microphone jack Data USB 2.0, SD card reader

Page 4: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 4 of 12

IEB Copyright © 2013

Networking Ethernet, 802.11n Wi-Fi, Bluetooth 2.1 Device B has a chipset. Name the TWO components that usually make up a

chipset. (2) 2.2 Examine Device A. 2.2.1 What is the frequency of the processor? (1) 2.2.2 By using the connectivity terminology listed in the advertisement for

Device A, briefly explain TWO methods that can be used to share data between the tablet and the laptop. (4)

2.2.3 Give TWO input methods that can be used on Device A. (2)

2.2.4 Explain what 'embedded' in terms of the Operating System means in

Device A. (2)

2.2.5 Give TWO features one can use on the tablet to improve the usability for the visually impaired. (2)

2.3 Refer to Device B. 2.3.1 Explain what the '64' refers to in the processor and give an advantage of a

64-bit operating system. (2) 2.3.2 The device has turbo boost which overclocks the CPU. Explain the

difference between clock multiplication and overclocking. (2) 2.3.3 Distinguish between 'Graphic Clock Rate' and 'Bus Speed'. (2) 2.3.4 Which part of the FSB (Front Side Bus) dictates how much RAM can be

accessed? (1) 2.3.5 Define 'access time' in terms of a mechanical hard drive. (2) 2.3.6 Why does a Solid State hard drive use less power than a hard drive? (1)

2.3.7 Give TWO other advantages of a Solid State hard drive. (2) 2.4 Give TWO advantages of choosing Device B over Device A. (2) 2.5 Give TWO disadvantages of choosing Device B over Device A. (2)

Page 5: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 5 of 12

IEB Copyright © 2013 PLEASE TURN OVER

Device C: Tongue Drive System prototype built on a commercial wireless headset

[<http://www.research.gov/common/images/PublicAffairs>]

2.6 Examine Device C.

The engineering team has developed a wireless technology that can convert a user's tongue motions to specific commands, which will enable paralysed people to use tablets and laptops to their advantage. 2.6.1 Why can you not connect Device C to Device A? Explain. (2) 2.6.2 When Device C is connected to Device B, name and explain the software

process whereby this device is recognised. (3) 2.6.3 The control unit of Device C will have a ROM chip with embedded

software, called firmware. What type of memory does more complex firmware use to allow updates? (1)

2.6.4 Give TWO functions of the firmware in the ROM chip in Device C. (2)

[37]

Control Unit Magnetic Sensor Module

Wireless USB Receiver Magnetic

Tracer

Page 6: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 6 of 12

IEB Copyright © 2013

QUESTION 3 The biometric engineering team decides to reach out to the community by creating a 'thin-client' computer lab with 30 computers, a desktop for the lab manager and a desktop for the administrator's use in the administration block. These will have to be able to communicate with each other as a network. The network must also cater for staff to use their smartphones and tablets as network devices. Some IT consultants advise the team to set up a thin client-server network.

3.1 Explain why peer to peer is not suitable for this network setup with thin clients. Give

THREE reasons. (3) 3.2 The server software could be proprietary or open source software.

3.2.1 Give an example of each type of software (proprietary and open source). Provide the name and version. (2)

3.2.2 Give a disadvantage of each – proprietary and open source software. (2)

Figure 3.3: Thin Client Processor Intel® Atom Processor N280 1.66 GHz 32 bit FSB Speed 667 MHz Instruction Set 32-bit (x86) Instruction Set Extensions SSE2, SSE3, SSSE3 Operating system Windows® Embedded Standard 2009 Memory, standard 1 GB DDR3 SDRAM SSD ROM 2 GB Flash Graphics Intel GL40 graphics chipset (64 MB for graphics) Network interface 10/100/1000 Gigabit Ethernet (RJ-45), TCP/IP with DNS and

DHCP, Point-to-Point Protocol (PPP), Direct Connection through RS-232, Point-to-Point over Ethernet (PPPoE)

Power Worldwide auto-sensing 100-240 VAC, 50-60 Hz energy-saving automatic power-down, surge-tolerant 65-watt power supply

3.3 Read the network interface specifications for the thin client computer (Figure 3.3)

as seen above and answer the questions which follows:

3.3.1 Which network architecture is used with this computer? (1)

3.3.2 Which cable type should be used for the 'thin client' computers? Why? (2)

3.3.3 What does '10/100/1000 Gigabit' refer to? (2)

3.3.4 Which topology do you suggest for the room? Give TWO reasons. (3)

3.3.5 'TCP/IP with DNS and DHCP' – explain each term. (6)

Page 7: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 7 of 12

IEB Copyright © 2013 PLEASE TURN OVER

3.4 Look at the network diagram below – this is an approximation of the projected company network.

In the location of the computer laboratory, there are two options to provide Internet connectivity – 'Wireless' OR '3G'. There is no ADSL service available. The 'Wireless' have a group of line-of-sight towers to provide connectivity in the area.

3.4.1 What type of signal would be used in line of sight towers? Give ONE

reason for your answer. (2)

3.4.2 Briefly explain what 3G is. (2)

3.4.3 Which connection option would you choose – 'Wireless' or '3G'? Give ONE reason for your answer. (2)

3.4.4 Within the same company there are various network devices. Briefly describe the following: (a) Switch (2)

(b) Proxy server (2) (c) Router (2) (d) Scanner (2)

[35]

C: Admin

B: Computer Lab with thin clients

A: Servers – Domain Controller, Proxy & Application Servers, DNS, DHCP

Router

Page 8: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 8 of 12

IEB Copyright © 2013

QUESTION 4 4.1 Distinguish between system software and application software. (2) 4.2 It is important for the biometric engineering team to have a licence agreement when

purchasing software.

4.2.1 Does this mean that the team now owns the software? (1) 4.2.2 Motivate your answer to Question 4.2.1. (1)

4.3 Justify how each of the following is beneficial to the team's network:

4.3.1 Firewall (2) 4.3.2 Anti-virus software (2)

4.3.3 RAID (2)

4.4 Biometric devices are installed at the door of the team's computer laboratory for attendance control purposes and security. The manager of the biometric engineering team for instance has a fingerprint reader to unlock the laboratory. 4.4.1 Name TWO other examples of biometric devices and systems, other than a

fingerprint reader, that can be used for these purposes. (2) 4.4.2 Do you think it is a violation of privacy to scan people's fingerprints before

accessing a venue? Give TWO reasons for your answer. (3)

4.5 Computer software converts real-time muscle activity signals into robotic arm's movements, particularly for the use of prosthesis control. Memory allocation is a real-time task that shares computing resources and is therefore more critical in a Real-Time Operating System than in other operating systems.

4.5.1 What does 'Real-Time' mean? (2)

4.5.2 Virtual memory is one of the methods that have been devised to increase the effectiveness of memory management. Explain how this is possible. (4)

4.6 SYS/BIOS is another example of a Real-Time Operating System. SYS/BIOS

provides a wide range of system services to an embedded application such as pre-emptive multitasking.

4.6.1 Define multitasking and multithreading. (4) 4.6.2 If processors nowadays are all dual core, do you think that multithreading is

still necessary in an application? Give TWO reasons for your answer. (3) 4.7 How will 'interrupts' work together with 'plug and play', so that a newly inserted

device can immediately be available to the user? (2) [30]

Page 9: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 9 of 12

IEB Copyright © 2013 PLEASE TURN OVER

QUESTION 5 5.1 Twitter can bring about a transformation in society. Either agree or disagree with

this statement by providing TWO arguments. Justify each argument. (4)

5.2 The biometric engineering team is also involved in nature conservation. With the plight of the rhino at present, the staff decided to start a rhino watch as they have a herd of rhino in the conservancy. Employees of the company go on game walks over weekends and tweet the location of the rhinos and of any other interesting sightings.

5.2.1 Suggest a hash tag for the tweets. (1)

5.2.2 Do you think it would be a good idea to tweet the locations of the rhino? Justify your answer. (2)

5.3 The conservation group also needs advice on running an interactive Internet site to

discuss conservation issues with the greater community. They are not sure which to choose: a blog, wiki or a forum.

Briefly explain these terms and their differences. 5.3.1 Blog (2) 5.3.2 Wiki (2) 5.3.3 Forum (2) 5.4 In the following scenario, choose the most appropriate (Blog, Wiki, Forum): Scenario: Collaboratively developing a conservation policy. Explain the reason for your choice. (2) [15]

Page 10: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 10 of 12

IEB Copyright © 2013

QUESTION 6 The biometric engineering team must deal with aspects of sourcing equipment and obtaining quotations to set up their IT infrastructure. The first task is to create a database to hold the quotations (cost estimate) that will be submitted for supplying equipment. One of the task team members has set up the database shown below. For each item a minimum of three quotes is required. Some companies will provide more than one quotation (cost estimation). Relationships: • One-to-one: Each company has its own unique code and its own name, address and email. • One-to-many: Each company can provide more than one quotation per day. • Many-to-many: Quotations can have many items on it and items can appear on many

different quotations. Figure 6.1 Quotes

Field Name Data Type Description CompanyCode Text The first 5 letters of the company name followed by a sequence number CompanyName Text The name of the company CompanyAddress Text The address of the company CompanyEmail Text The email address of the company ItemCode Text Unique code for each item ItemDescription Text Description of the item ItemQuantity Text Number of items required ItemCost Text Cost of one item QuoteNo Text Unique number for each quote 6.1 Explain the purpose of a primary key in a database table. (2) 6.2 There are several problems with the design of this database. The steps below are

part of the process of solving the design problems.

6.2.1 All the data types were declared as text. Indicate TWO fields which should not be of a text type and indicate the appropriate data type for EACH of the fields you have identified. (4)

6.2.2 Considering that many companies have multiple quotations (cost estimations), what is the most obvious weakness of the Quotes table design with regard to capturing data on a quotation? You MUST explain your reasoning. (2)

6.2.3 A poorly designed database can lead to errors whilst doing normal, everyday database maintenance tasks. These errors are often referred to as 'anomalies'. Name THREE of the anomalies that can result from a badly designed database. (3)

6.2.4 The given table actually contains information on at least TWO separate

groups or categories of data. Normalise the database up to 3NF (Third Normal Form). Write the answer as a set of relations. You MUST show the following:

• The fields that each of the new tables will contain. (3) • The primary key of each table. (3) • The foreign keys and the tables that will contain the foreign keys needed to establish relationships/links between the tables. (3)

Page 11: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 11 of 12

IEB Copyright © 2013 PLEASE TURN OVER

6.3 Part of a good database design is anticipating and preventing errors when entering data. Consider the data that can be captured about the quote. The task team have decided that they will not accept quotes for less than 100 units or more than 5 000 units.

6.3.1 What is the technique that can be used to ensure that data falls within a

predetermined range? (1) 6.3.2 Write out the rule you would use to ensure that the number of units entered

will not be outside the predetermined range. Use the field names from Figure 6.1. (2)

[23]

Page 12: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER I Page 12 of 12

IEB Copyright © 2013

QUESTION 7 The biometric engineering team wants to write a little computer game quiz to teach facts about the rhino. In the game 'To Save the Rhino', ten questions must be correctly answered in thirty seconds. If correctly answered you get another rhino, if not, you lose a rhino. The questions will be aimed at recording correct facts about rhinos, (e.g. rhino horn is NOT an effective aphrodisiac or a cure for cancer, etc.) and teaching other facts about rhinos. There are TWO types of questions: TRUE or FALSE and MULTIPLE CHOICE with THREE options. The questions and correct answers are stored in a text file. Below are the class diagrams for each type of question:

QuesOb QuesTF QuesMultChoice

− question:String − question:String

− TF:boolean

− question:String

− ans:String

− a, b, c:String

7.1 The above classes could be simplified using inheritance. Draw the class diagrams,

clearly showing inheritance, and remove any unnecessary fields or methods. (3)

7.2 Give TWO advantages of inheritance. (2)

7.3 What does polymorphism mean? (2)

7.4 Parameters are fundamental to programming. Describe how the following concepts are related:

7.4.1 Formal parameters (2) 7.4.2 Arguments (2)

7.5 Problem: Input and validation of a (20) digit number. • The number will be valid if, and only if, the twentieth digit (20th) is equal to the

remainder of the sum of the first nineteen (19) digits divided by 20. • The program should print a suitable message informing the user whether the number is valid or invalid.

7.5.1 Declare any variable(s) necessary to store the above 20 digit number. (2) 7.5.2 Hence, using the variables (data structure) declared in Question 7.5.1, write

the algorithm that will allow for the input and validation of a (20) digit number. (7)

[20]

Total: 180 marks

Page 13: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

IEB Copyright © 2013 PLEASE TURN OVER

NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 2013

INFORMATION TECHNOLOGY: PAPER II Time: 3 hours 120 marks PLEASE READ THE FOLLOWING INSTRUCTIONS CAREFULLY 1. This question paper consists of 12 pages. Please check that your question paper is

complete. 2. This question paper is to be answered using Object-Oriented Programming principles. Your

program must make sensible use of methods and parameters. 3. This paper is divided into two sections. All candidates must answer both sections. 4. This paper is set in programming terms that are not specific to any particular programming

language (Java/Delphi) or database (Access/MySQL). 5. Make sure that you answer the questions in the manner described because marks will be

awarded for your solution according to the specifications that are given in the question. 6. Only answer what is asked in each question. For example, if the question does not ask for

data validation, then no marks are awarded for it, and therefore no code needs to be written. 7. If you cannot get a section of code to work, comment it out so that it will not be executed

and so that you can continue with the examination. If possible, try to explain the error to aid the marker.

8. When accessing files from within your code, DO NOT use full path names of the file, as

this will create problems when the program is marked on a computer other than the one you are writing on. Merely refer to the files using their names and extensions, where necessary.

9. 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. You are advised to look at the supplied data files carefully.

10. Make sure that routines such as searches, sorts and selections are developed from first

principles, and that you do not use the built-in features of a programming language for any of these routines.

11. All data structures must be defined and declared by you, the programmer. You may not use

components provided within the interface to store and later retrieve data.

Page 14: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 2 of 12

IEB Copyright © 2013

12. Read the whole question paper before you choose a data structure. You may find that there could be an alternative method of representing the data which will be more efficient considering the questions that are asked in the paper.

13. You must save all your work regularly on the disk you have been given, or the disk space

allocated to you for this examination. 14. If there is a technical interruption that prevents you from writing your examination, e.g. a

power failure, when you resume writing your examinations, you will only be given the time that was remaining when the interruption began. No extra time will be given to catch up work that was not saved.

15. Make sure that your examination number appears as a comment in every program that you

code as well as on every page of the hard copy that you hand in. 16. Print a code listing of all the programs/classes that you code. Printing must be done after

the examination. You will be given half an hour to print after the examination is finished. Your teacher will tell you what arrangements have been made for the printing of your work.

SCENARIO The National Theatre School of South Africa is hosting a William Shakespeare Festival in November and wants to use various computer systems when organising this event. You are required to assist them with various database and programming related work.

Page 15: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 3 of 12

IEB Copyright © 2013 PLEASE TURN OVER

SECTION A STRUCTURED QUERY LANGUAGE You are required to extract some useful information from the database of shows and actors for the purpose of the festival. There are three tables in the database to store information about the shows (all Shakespearean plays) and the actors performing in these productions. The actors' personal details are stored in a table named tblActors , the information about the various shows (for example, dates, time, capacity and cost) are stored in a table named tblShows and a list of which actors are playing the roles in each play are listed in a table named tblRoles. The fields in the database are discussed below. Below each description is a screen-shot of the first 10 rows of data for your convenience. The tables do contain more data: tblActors ActorID This is an automatic numbering field which assigns each actor a unique ID

number ActorName This field contains the names of the actors ActorDOB This field contains the dates of birth of the actors ActorRate This field contains the amount of money in Rands that the actor earns each

hour or part thereof

ActorID ActorName ActorDOB ActorRate

1 Garth York 1980/09/05 R 450.00

2 Ebony Sweeney 1981/02/23 R 300.00

3 Mary Rocha 1962/01/31 R 750.00

4 Summer Dickson 1970/07/30 R 275.00

5 Clarke Stafford 1969/03/17 R 375.00

6 Veronica Decker 1983/01/10 R 150.00

7 Jason Hyde 1963/10/15 R 225.00

8 Odette Barker 1982/07/31 R 225.00

9 Oprah Buckner 1982/12/11 R 550.00

10 Amir Collier 1965/11/09 R 750.00

Page 16: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 4 of 12

IEB Copyright © 2013

tblShows ShowID This field contains a unique ID for each of the shows ShowName This field contains the name of the play ShowDate This field contains the date that the show is being performed on ShowTime This field contains the time the show is scheduled to start ShowDuration This field contains the duration of the show in minutes ShowCapacity This field contains the maximum number of people who can attend this

particular show ShowCost This field contains the cost of a single ticket to the show

ShowID ShowName ShowDate ShowTime ShowDuration ShowCapacity ShowCost

12Night Twelfth Night 2013/11/08 15:00 160 325 200

2Gents Two Gentlemen of

Verona 2013/11/20 15:00 215 350 200

Ado Much Ado about

Nothing 2013/11/03 15:00 109 415 200

Errors Comedy of Errors 2013/11/24 20:00 155 300 350

Henry5 Henry V 2013/11/12 17:30 270 300 250

Lear King Lear 2013/11/04 17:30 179 350 250

Macbeth Macbeth 2013/11/09 17:30 174 280 250

Merchant Merchant of Venice 2013/11/20 17:30 279 400 250

MND Midsummer Night's

Dream 2013/11/24 15:00 204 375 200

Othello Othello 2013/11/20 20:00 190 300 350

tblRoles ActorID This field contains the ID of the actor that is playing the role. This key is a

foreign key for the tblActors table RoleName This field contains the name of the role or character being played by the

actor ShowID This field contains the ID of the show the role or character is associated

with. This key is a foreign key for the tblShows table

ActorID RoleName ShowID

1 Olivia 12Night

1 Third Outlaw 2Gents

1 Don Pedro Ado

1 Aemilia Errors

1 Duke of Bourbon Henry5

1 Banquo Macbeth

1 Lorenzo Merchant

1 Hippolyta MND

1 Sailor Othello

2 Hero Ado

Page 17: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 5 of 12

IEB Copyright © 2013 PLEASE TURN OVER

QUESTION 1 1.1 Write a query that will list all the details of all the shows from tblShows in date

order. (3)

1.2 Write a query that will list the ShowName, ShowTime and ShowCapacity of all shows that start at 15:00 and have a capacity of 250 people or more. (3)

1.3 Write a query that will display the age of each actor in years. Display the ActorName as well as the age in a field called ActorAge. (3)

1.4 Write a query which will list how many roles there are for each of the shows. You should display the ShowName and the total number of roles. (5)

1.5 Write a query that will add a new actor, with the name of Bob Reeves born

4 October 1976 to tblActors . Bob Reeves is paid a rate of R175 per hour. (4) 1.6 The capacity of the show 'Henry V' with ShowID 'Henry5' on the 2013-11-12 has

been changed to 450. Write an update query that will update this record in tblShows. (2)

1.7 Write a query which will calculate the total income in ticket sales that the theatre will receive each day if they fill all their shows to their capacity. The total income for a show can be calculated as follows: Total Income = ShowCapacity * ShowCost Show the date as well as the total income for all shows on each date. (4)

1.8 Write a query which will list all roles which begin with 'Sir'. You must list the ShowName and RoleName of each role. An example of the output is given below: (6)

ShowName RoleName

Twelfth Night Sir Andrew Agueche

Henry V Sir Thomas Erpingha

Henry V Sir Thomas Grey

Twelfth Night Sir Toby Belch

Page 18: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 6 of 12

IEB Copyright © 2013

1.9 Write a query that will display how much each actor will earn for each play they are in during the course of the festival. Display the ActorName, ShowName and total amount to be paid to that actor (round this field to two decimal places). Actors get their hourly rate for the entire duration of the play. An example of the output is given below: (10)

ActorName ShowName TotalEarnings

Amir Collier Henry V 3375

Amir Collier King Lear 2237.5

Amir Collier Macbeth 2175

Amir Collier Merchant of Venice 3487.5

Amir Collier Midsummer Night's Dream 2550

Amir Collier Romeo and Juliet 2000

Amir Collier Two Gentlemen of Verona 2687.5

Brittani Puckett Comedy of Errors 1937.5

Brittani Puckett Henry V 3375

Brittani Puckett King Lear 2237.5

Brittani Puckett Macbeth 2175

Brittani Puckett Midsummer Night's Dream 2550

Brittani Puckett Othello 2375

Brittani Puckett Romeo and Juliet 2000

Brittani Puckett Twelfth Night 2000

Brittani Puckett Two Gentlemen of Verona 2687.5

Cade Ewing Henry V 1237.5

Cade Ewing King Lear 820.42

40 marks

Page 19: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 7 of 12

IEB Copyright © 2013 PLEASE TURN OVER

SECTION B OBJECT ORIENTED PROGRAMMING The theatre at the National Theatre School of South Africa holds 180 people and the organisation keeps track of the bookings for each show separately. The theatre layout has 12 rows of chairs with 15 chairs in each row. Rows are labelled from A (at the front) to L (at the back). The theatre allows theatre-goers to book for shows via an online website called TechnoTickets. The bookings are written to a text file called bookings.txt. This file needs to be processed to determine booked seats and outstanding seats. For any given show bookings can either be individual bookings or group bookings. Individual bookings are single bookings with a seat reference, contact number and payment status recorded. Each booking is made separately and is not connected to any other booking. Group bookings are when 4 or more consecutive seats are booked. In addition to seat reference, contact number and payment status, a group name and group size is recorded for each group booking. For example, a group booking of 10 seats will be 10 separate bookings linked by the group name and size. After some consideration you decide on the following class structure:

You have been given a file called bookings.txt which contains a list of bookings for a single show at the theatre. The first 25 lines of the file are provided below for your reference (the actual file contains many more lines and you are advised to study it closely).

Booking

GroupBooking

Page 20: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 8 of 12

IEB Copyright © 2013

Each line has either three or five fields present and are separated by commas. The first three fields of any line indicate the seat reference that has been booked, the contact phone number for that booking and a 'Yes' or 'No' indicating whether the booking has been paid for in full. Lines in the file that only have three fields indicate an individual booking. Lines which have two extra fields (five fields in total) represent group bookings. The additional fields represent the name of the group and the size of the group respectively. If a group of 6 people have placed a booking this will be represented as 6 separate lines in the text file. Each line of the group booking will be identical except for the seat reference which will differ. In the example data above Kolby Girls High School have booked 12 seats. The seats are B1 to B12. Each line indicates a different seat reference while the other fields are the same. These 12 entries belong to a single group due to the Group Name (the 4th field) being the same (Kolby Girls High School) for each line. The group size of 12 indicates that there are twelve seats booked for this group. The cost of any booking is based on the seat that is being booked. In addition group bookings get a further discount. The full price of a ticket is R200 but seats in rows further from the front have discounts associated with them. In addition, groups who book get R20 discount for every four members of the group. This means a group of eight will get a further R40 discount on each of their tickets while a group of 15 will get a discount of R60 on each of their tickets. The row discount is applied before the group discount in the case of group bookings. QUESTION 2 Use the class diagram below to create a new class called Booking. This class will be used to create objects that will store the details of an individual booking. The diagram below indicates the properties and methods that are required. Booking Properties: - String seat - String contact - boolean paid Methods: + Constructor(String st, String ct, boolean pd) + getCost() : double + getSeat() : String + isPaid() : boolean + toString() : String

2.1 Write code to create a new class called Booking. (1) 2.2 Write code to create the three properties for the Booking class as indicated in the

above class diagram. (3) 2.3 Write code to create a constructor method that will initialise all three properties of

the Booking class. (2)

Page 21: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 9 of 12

IEB Copyright © 2013 PLEASE TURN OVER

2.4 Write code to create a method called getCost. This method should return the cost of the seat based on the row of the seat. The full price of a ticket is R200 and discounts are applied as follows:

Rows A – D : Full Price Rows E – H : 20% discount Rows I – L : 40% discount For example, if the person is seated in row K they should receive 40% discount on

their R200 ticket, making the cost of that ticket R200 – R80 = R120. (5) 2.5 Write code to create accessor methods for the paid and seat properties. (2) 2.6 Write code to create a toString method which will return a String comprised of the

seat reference and the cost (rounded to two decimal places). In addition, if the booking has been paid for the letters 'Pd' should be added onto the end of the returned string. The String must be formatted as follows:

seat reference <tab> R cost <tab> payment status for example: A1 R200.00 Pd (4) [17] QUESTION 3 Use the class diagram below to create a new class called GroupBooking. This class is a subclass of the Booking class and will be used to create objects that will store the details of a group booking. The diagram below indicates the properties and methods that are required. GroupBooking Properties: - String groupName - Integer groupSize Methods: + Constructor(String st, String ct, boolean pd, String gn, Integer gs) + getCost() : double + getGroupName() : String + toString() : String

3.1 Write code to create a new class called GroupBooking which extends the Booking

class. (2) 3.2 Write code to create two properties that will store the group name and group size

associated with a group booking. Choose appropriate data types for these properties. These values should not be visible from outside the class. (3)

3.3 Write code to create a constructor method that will initialise both of these additional

properties as well as the properties of the parent class. (3)

Page 22: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 10 of 12

IEB Copyright © 2013

3.4 Write code to override the parent class's getCost method. The result of this method should be the cost of a standard booking (as per the parent method) with the group discount applied afterwards, for example the Melville Boy Scouts have booked 13 seats in row G as a group booking. Seats in row G means they qualify for a 20% discount bringing the cost of each ticket to R160. They receive a further R60 discount on each ticket due to their group size having 3 complete sets of four, bringing the final cost of each of their tickets to R100. (A group receives R20 discount for each set of four people.) (4)

3.5 Write a code to create an accessor method called getGroupName which returns the name of the group as a string. (1)

3.6 Write code to override the parent class's toString method. In addition to the details

returned from the inherited method you should add the group name to the end of the returned String in the following format:

seat reference <tab> R cost <tab> payment status for example: B1 R140.00 Pd Kolby Girls High School (3) [16]

QUESTION 4 4.1 Write code to create a new class called BookingManager. (1) 4.2 Write code to declare two instance variables in the class of a ONE-

DIMENSIONAL array that can be used to store up to 180 Booking or GroupBooking objects. Also declare an integer counter to keep track of how many Bookings are stored in the array. These two instance variables should not be accessible from outside the class. (4)

4.3 Write code to create a constructor method that will read the contents of the file

bookings.txt. Each line in the file contains information on a single Booking or GroupBooking object. Read each line from the file and instantiate the appropriate type of object (Booking or GroupBooking) and add it into the array. Note in the case of GroupBookings you must create an object in the array for each member of the group. This means for a group booking of six you will have six separate GroupBooking objects in the array. (8)

4.4 Write code that will create a method called listAllBookings. This method should

return a string that contains the information of all bookings for the show. Each booking should appear on its own line. Use the object's toString methods that you created in the questions above. (5)

Page 23: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 11 of 12

IEB Copyright © 2013 PLEASE TURN OVER

4.5 Write code to create a method called listGroupBookings. This method should return a String with the name of each group on a new line. Each group name should be listed only once. In other words, if there are six GroupBooking objects, you need to list the group name of that group only once. The correct output is as follows: (7)

Group Bookings -------------- Kolby Girls High School

Knysna Retirement Home

Witbank Hockey Club

Mellville Boy Scouts

Cape Town Drama Society

Durban Gentleman's Club

4.6 Write code to create a method called outstandingPayments to calculate the total

amount owing. This method should return a real number that represents the amount of money that is still outstanding. Only objects whose paid attribute is false will have their ticket cost added to this total. The correct output is as follows: (5)

Outstanding Payments -------------------- Outstanding Payments : R 8760.0

[30]

QUESTION 5 5.1 Write code to create a simple user interface called TheatreManager which will

declare and instantiate a BookingManager object at the appropriate place in the code. (2)

5.2 Write code that will display the following by calling the appropriate methods in the

BookingManager class. You must call the methods in the following order:

All Bookings Group Bookings Outstanding Payments (3)

[5]

Page 24: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PAPER II Page 12 of 12

IEB Copyright © 2013

QUESTION 6 6.1 The theatre is interested in displaying a list of empty seats based on the bookings

they have received and are stored in the array. The following diagram shows the layout of the theatre.

Stage

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

A

B

C

D

E

F

G

H

I

J

K

L

An empty seat is one that is not listed as a seat in the list of bookings. In other words, if the seat reference A4 is not present in any of the bookings it is considered to be an empty seat.

Write code to create the appropriate methods in any of the classes which will help you to achieve this. Your method should return a single string representing the empty seats in the theatre. The correct output is provided below. (11)

Empty Seats ----------- A4 B13 B14 B15 C1 C9 C12 C13 C15 D1 E2 E4 E15 F13 G1 G2 H4 H15 I2 I8 I14 I15 J15

L1 L2 L3 L5 L10 L11 L12 L13 L14 L15

6.2 Add a call statement in the TheatreManager interface which will display a list of

empty seats. (1) [12]

80 marks

Total: 120 marks

Page 25: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

IEB Copyright © 2013 PLEASE TURN OVER

NATIONAL SENIOR CERTIFICATE EXAMINATION NOVEMBER 2013

INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION

INSTRUCTIONS TO TEACHERS 1. For the examination requirements for Information Technology please read pages 3 – 5 of

the Subject Assessment Guidelines.

2. The school will receive a data disk containing files for the examination. These should be checked by the Information Technology teacher two days before the examination. Please refer to the instructions concerning data files supplied on page 3. Copies of the data are provided later in this document for your reference.

3. Do not open the sealed envelopes containing the examination papers and marking

guidelines until the day of the examination.

4. Each candidate must be supplied with a disk (or space on a network drive) for his/her exclusive use throughout the examination. (a) No candidate may have access to another candidate's work during the examination. (b) Disable any shared folders on the network.

(c) Ensure that the candidates cannot use their own flash drives or memory sticks. If

your candidates normally use usernames and passwords then create a new username for each candidate.

5. Please ensure that the machines have been checked and all extraneous data/programs have

been removed. Disable communications programs that will allow chatting or messaging. Ensure that no communication can take place between machines.

6. No candidate may access the Internet during the examination. 7. Information Technology teachers are allowed to invigilate the Information Technology

examinations in case there are problems with the hardware and system software. Obviously, they may not assist the candidates in any way with their particular program(s).

8. The candidates may use the help facility that has been supplied with the programming

language's software. They may not use any other manuals or documentation. In the case of Java, they may use the standard APIs available on the java.sun.com site. These should be downloaded before the examination and copied onto each candidate's disk space provided for the examination.

Page 26: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 2 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

9. The three hours of the examination does not include printing time. It is exclusively for coding. At the end of the three hours, printing must be done either by the candidates, or if conditions are not suitable for this, by the Information Technology teacher. No code or data may be altered after the three-hour time period has expired.

10. Teachers must inform their candidates what printing arrangements have been made at their

school.

11. In case of a power failure or other technical interruption, all candidates must remain silent and under examination conditions. Once the interruption has passed, candidates will have only the time that was remaining when the interruption began. No candidate may receive extra time to compensate for work lost from not saving prior to the interruption.

12. Please note that the Information Technology question paper has been divided into two

sections: the first is for Structured Query Language (SQL) and the second for Object Oriented Programming. The two sections may be answered in any order and are independent of each other.

13. INSTRUCTIONS FOR MARKING AND SUBMITTING THIS PRACTICAL EXAMINATION APPEAR ON THE MARKING GU IDELINES. PLEASE PAY CLOSE ATTENTION TO THIS DOCUMENT WHEN IT IS RELEASED.

Page 27: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 3 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

TO THE TEACHER RESPONSIBLE FOR CANDIDATES IN THE INFORMATION TECHNOLOGY PRACTICAL EXAMINATION INSTRUCTIONS CONCERNING DATA FILES SUPPLIED ON DISK You have been supplied with files on a CD. It is the responsibility of the Information Technology teacher to check two days before the examination that they can open the files and that the files can be read by the relevant applications. Printouts of the files are given, starting on the page following this document. The details of the files are as follows: Files for Learners: Please consult the folders on the CD. These are the important files only. Section A: SQL Answer Sheet.rtf TheatreDB.mdb TheatreDB.sql (MySQL import) SQL Browser software Section B: bookings.txt If you have any problems with accessing the files on disk, please notify the IEB immediately. Individual copies of these files will be required by each candidate writing the Information Technology Practical Examination. Please copy the relevant files onto a disk for each candidate's exclusive use, or onto the disk space that will be used exclusively by each candidate. The candidates are asked, in the question paper, to create backups of these files. However, it may be wise to keep a fresh set of these files on a flash drive so that copies may be quickly distributed to candidates who might alter their files and not have a backup to restore from. Teachers are advised to supply only those files that are needed for the pupils in their centre (don't supply the MySQL files if your candidates are writing with Access or vice versa). Confidentiality is of the utmost importance. Under no circumstances should candidates have access to these files before the examination. After the examination, create a folder for each candidate using their name and examination number. Copy ALL the candidate's files into their particular folder. Be sure to include the data files that are accessed by the program. Ensure that the candidates have not used path names for the data files in their programs. If candidates have used full path names, the files sent to the IEB must reflect this. Teachers may change the code for the purpose of validating the program, but may NOT overwrite the original file. The CD should contain an exact copy of the candidates' work as it existed when the examination finished. Send the CD with the marked practical examinations to the IEB. Ensure that you have attended the cluster group meetings and have used the updated mark schemes to mark all the practical exams.

Page 28: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 4 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

FILES FOR LEARNERS The following pages contain the hard-copy print-outs of the data supplied to each of the candidates. SECTION A TheatreDB.mdb There are three tables in this database: tblActors, tblShows, tblRows: tblActors

tblActors

ActorID ActorName ActorDOB ActorRate 1 Garth York 1980/09/05 R 450.00 2 Ebony Sweeney 1981/02/23 R 300.00 3 Mary Rocha 1962/01/31 R 750.00 4 Summer Dickson 1970/07/30 R 275.00 5 Clarke Stafford 1969/03/17 R 375.00 6 Veronica Decker 1983/01/10 R 150.00 7 Jason Hyde 1963/10/15 R 225.00 8 Odette Barker 1982/07/31 R 225.00 9 Oprah Buckner 1982/12/11 R 550.00

10 Amir Collier 1965/11/09 R 750.00 11 Cade Ewing 1979/11/22 R 275.00 12 Callie Moon 1983/03/20 R 375.00 13 Britanni Puckett 1981/12/18 R 750.00 14 Zelda Fry 1963/06/01 R 225.00 15 Maggy House 1978/06/04 R 550.00 16 Elliott Saunders 1964/10/22 R 375.00 17 Noelle Dillard 1975/03/10 R 550.00 18 Donna Mullen 1966/10/12 R 750.00 19 Leonard Hickman 1983/05/06 R 375.00 20 Debra David 1976/08/05 R 275.00 21 Denton French 1977/12/07 R 750.00 22 Darius Becker 1965/06/17 R 275.00 23 Palmer Reyes 1969/04/25 R 275.00 24 Jared Larson 1973/08/17 R 300.00 25 Prescott Mcmahon 1968/03/05 R 450.00 26 Chadwick Gardner 1966/07/17 R 225.00 27 Galvin Merritt 1981/11/14 R 375.00 28 Dacey Mathis 1973/10/04 R 375.00 29 Hall Holt 1963/06/26 R 450.00 30 Willow Woods 1981/09/12 R 375.00

Page 29: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 5 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

tblShows

tblShows

ShowID ShowName ShowDate ShowTime ShowDuration ShowCapacity ShowCost 12Night Twelfth Night 2013/11/08 15:00 160 325 200 2Gents Two Gentlemen of Verona 2013/11/20 15:00 215 350 200 Ado Much Ado about Nothing 2013/11/03 15:00 109 415 200 Errors Comedy of Errors 2013/11/24 20:00 155 300 350 Henry5 Henry V 2013/11/12 17:30 270 300 250 Lear King Lear 2013/11/04 17:30 179 350 250 Macbeth Macbeth 2013/11/09 17:30 174 280 250 Merchant Merchant of Venice 2013/11/20 17:30 279 400 250 MND Midsummer Night's Dream 2013/11/24 15:00 204 375 200 Othello Othello 2013/11/20 20:00 190 300 350 Romeo Romeo and Juliet 2013/11/22 17:30 160 360 250 tblRoles

tblRoles

ActorID RoleName ShowID 1 Olivia 12Night 1 Third Outlaw 2Gents 1 Don Pedro Ado 1 Aemilia Errors 1 Duke of Bourbon Henry5 1 Banquo Macbeth 1 Lorenzo Merchant 1 Hippolyta MND 1 Sailor Othello 2 Hero Ado 2 Sir Thomas Grey Henry5 2 Second Witch Macbeth 2 Oberon MND 2 Second Musician Romeo 3 Dogberry Ado 3 Earl of Cambridge Henry5 3 Servant 1 Lear 3 First Witch Macbeth 3 Prince of Morocco Merchant 3 Fairy MND 3 Third Gentleman Othello 3 Benvolio Romeo 4 Sexton Ado 4 Balthazar Errors

tblRoles

ActorID RoleName ShowID 4 Doctor Macbeth 4 Old Gobbo Merchant 4 Herald Othello 4 Second Servant Romeo 5 Launce 2Gents 5 Benedick Ado 5 Luce Errors 5 Duncan Macbeth 5 Salerio Merchant 5 Hermia MND 5 Roderigo Othello 6 Feste 12Night 6 Ursula Ado 6 Courtezan Errors 6 Bates Henry5 6 Gentlewoman Macbeth 6 Clown Othello 7 Fabian 12Night 7 Claudio Ado 7 Aegeon Errors 7 Bishop of Ely Henry5 7 Caithness Macbeth 7 Leonardo Merchant 8 Malvolio 12Night 8 First Watchman Ado

Page 30: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 6 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

tblRoles

ActorID RoleName ShowID 8 Antipholus of Ephesus Errors 8 Court Henry5 8 Donalbain Macbeth 8 Bottom MND 8 Juliet Romeo 9 Antonio 12Night 9 Leonato Ado 9 Fluellen Henry5 9 Curan Lear 9 Second Apparition Macbeth 9 Puck MND 9 Sampson Romeo

10 Panthino 2Gents 10 Katharine Henry5 10 Goneril Lear 10 Soldiers Macbeth 10 Jessica Merchant 10 Theseus MND 10 Mercutio Romeo 11 Lucetta 2Gents 11 King of France Henry5 11 Lear Lear 11 Young Siward Macbeth 11 Lysander MND 11 Cassio Othello 11 Abraham Romeo 12 Maria 12Night 12 First Merchant Errors 12 Constable of France Henry5 12 Earl of Kent Lear 12 Ross Macbeth 12 Cobweb MND 12 Second Capulet Romeo 13 Orsino 12Night 13 Second Outlaw 2Gents 13 Antipholus of Syracuse Errors 13 Duke of York Henry5 13 Cordelia Lear 13 Lady Macduff Macbeth 13 Titania MND 13 Bianca Othello 13 Lady Capulet Romeo

tblRoles

ActorID RoleName ShowID 14 Viola 12Night 14 Eglamour 2Gents 14 Duke of Orleans Henry5 14 Regan Lear 14 Sergeant Macbeth 14 Launcelot Gobbo Merchant 14 Egeus MND 14 Friar John Romeo 15 Sebastian 12Night 15 Conrade Ado 15 Lewis the Dauphin Henry5 15 Servant 3 Lear 15 Lady Macbeth Macbeth 15 Desdemona Othello 15 Paris Romeo 16 Verges Ado 16 Grandpre Henry5 16 Duke of Albany Lear 16 Lennox Macbeth 16 Balthasar Merchant 16 Snug MND 16 Iago Othello 17 Julia 2Gents 17 Boy Ado 17 Lord Scroop Henry5 17 Fool Lear 17 Malcolm Macbeth 17 Demetrius MND 17 Montano Othello 17 Nurse Romeo 18 Silvia 2Gents 18 Don John Ado 18 Second Merchant Errors 18 Governor of Harfleur Henry5 18 Oswald Lear 18 Third Witch Macbeth 18 Moth MND 18 Lodovico Othello 18 Prince Escalus Romeo 19 Margaret Ado 19 Gaoler Errors 19 Rambures Henry5

Page 31: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 7 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

tblRoles

ActorID RoleName ShowID 19 Third Murderer Macbeth 19 First Musician Romeo 20 Luciana Errors 20 Montjoy Henry5 20 Duke of Cornwall Lear 20 Hecate Macbeth 20 Prince of Arragon Merchant 20 Mustardseed MND 20 Tybalt Romeo 21 Sir Andrew Aguecheek 12Night 21 Outlaws 2Gents 21 Watchman Ado 21 Dromio of Ephesus Errors 21 Williams Henry5 21 Knight Lear 21 Angus Macbeth 21 Salarino Merchant 21 Flute MND 21 Gregory Romeo 22 First Officer 12Night 22 Host 2Gents 22 Archbishop of Canterbury Henry5 22 Earl of Gloucester Lear 22 First Apparition Macbeth 22 Bassanio Merchant 22 Philostrate MND 22 Third Musician Romeo 23 Curio 12Night 23 First Outlaw 2Gents 23 Friar Francis Ado 23 First Ambassador Henry5 23 Fleance Macbeth 23 Gratiano Merchant 23 Snout MND 24 Thurio 2Gents 24 French Soldier Henry5 24 Edgar Lear 24 Menteith Macbeth 24 Salanio Merchant 24 Starveling MND 24 Montague Romeo 25 Second Officer 12Night

tblRoles

ActorID RoleName ShowID 25 Speed 2Gents 25 Beatrice Ado 25 Macmorris Henry5 25 Old Man Macbeth 25 Shylock Merchant 25 Apothecary Romeo 26 Duke of Milan 2Gents 26 Sir Thomas Erpingham Henry5 26 Edmund Lear 26 Seyton Macbeth 26 Nerissa Merchant 26 Friar Laurence Romeo 27 Proteus 2Gents 27 Dromio of Syracuse Errors 27 Queen Isabel Henry5 27 Servant 2 Lear 27 Third Apparition Macbeth 27 Clerk Merchant 27 Quince MND 27 Othello Othello 28 Sir Toby Belch 12Night 28 Borachio Ado 28 Adriana Errors 28 Alice Henry5 28 Macbeth Macbeth 28 Tubal Merchant 28 Brabantio Othello 28 Lady Montague Romeo 29 Valentine 12Night 29 Pinch Errors 29 Macduff Macbeth 29 Peaseblossom MND 29 Fourth Gentleman Othello 29 Romeo Romeo 30 Solinus Errors 30 Jamy Henry5 30 Siward Macbeth 30 Duke of Venice Othello 30 Capulet Romeo

Page 32: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 8 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

TheatreDB.sql -- -------------------------------------------------------- -- Host: bob -- Server version: 5.5.16 - MySQL Community Server (GPL) -- Server OS: Win32 -- HeidiSQL version: 7.0.0.4053 -- Date/time: 2013 - 05- 23 10:47:51 -- -------------------------------------------------------- /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET NAMES utf8 */; /*!40014 SET FOREIGN_KEY_CHECKS=0 */; -- Dumping database structure for theatredb DROP DATABASE IF EXISTS `theatredb`; CREATE DATABASE IF NOT EXISTS `theatredb` /*!40100 DEFAULT CHARACTER SET latin1 */; USE `theatredb`; -- Dumping structure for table theatredb.tblactors DROP TABLE IF EXISTS `tblactors`; CREATE TABLE IF NOT EXISTS `tblactors` ( `ActorID` int(10) NOT NULL AUTO_ INCREMENT, `ActorName` varchar(255) DEFAULT NULL, `ActorDOB` date DEFAULT NULL, `ActorRate` decimal(19,4) DEFAULT NULL, PRIMARY KEY (`ActorID`) ) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8; -- Dumping data for table theatredb.tblactors: ~30 rows (approximately) /*!40000 ALTER TABLE `tblactors` DISABLE KEYS */; INSERT INTO `tblactors` (`ActorID`, `ActorName`, `ActorDOB`, `ActorRate`) VALUES (1, 'Garth York', '1980 - 09- 05', 450.0000), (2, 'Ebony Sweeney', '1981 - 02- 23', 300.0000), (3, 'Mary Rocha', '1962 - 01- 31', 750.0000), (4, 'Summer Dickson', '1970 - 07- 30', 275.0000), (5, 'Clarke Stafford', '1969 - 03- 17', 375.0000), (6, 'Veronica Decker', '1983 - 01- 10', 150.0000), (7, 'Jason Hyde', '1963 - 10- 15', 225.0000), (8, 'Odette Barker', '1982 - 07- 31', 225.0000), (9, 'Oprah Buckner', '1982 - 12- 11', 550.0000), (10, 'Amir Collier', '1965 - 11- 09', 750.0000), (11, 'Cade Ewing', '1979 - 11- 22', 275.0000), (12, 'Callie Moon', '1983 - 03- 20', 375.0000), (13, 'Britanni Puckett', '1981 - 12- 18', 750.0000), (14, 'Zelda Fry', '1963 - 06- 01', 225.0000), (15, 'Maggy House', '1978 - 06- 04', 550.0000), (16, 'Elliott Saunders', '1964 - 10- 22', 375.0000), (17, 'Noelle Dillard', '1975 - 03- 10', 550.0000), (18, 'Donna Mullen', '1966 - 10- 12', 750.0000), (19, 'Leonard Hickman', '1983 - 05- 06', 375.0000), (20, 'Debra David', '1976 - 08- 05', 275.0000), (21, 'Denton French', '1977 - 12- 07', 750.0000), (22, 'Darius Becker', '1965 - 06- 17', 275.0000), (23, 'Palmer Reyes', '1969 - 04- 25', 275.0000), (24, 'Jared Larson', '1973 - 08- 17', 300.0000), (25, 'Prescott Mcmahon', '1968 - 03- 05', 450.0000), (26, 'Chadwick Gardner', '1966 - 07- 17', 225.0000), (27, 'Galvin Merritt', '1981 - 11- 14', 375.0000), (28, 'Dacey Mathis', '1973 - 10- 04', 375.0000), (29, 'Hall Holt', '1963 - 06- 26', 450.0000),

Page 33: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 9 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

(30, 'Willow Woods', '1981 - 09- 12', 375.0000); /*!40000 ALTER TABLE `tblactors` ENABLE KEYS */; -- Dumping structure for table theatredb.tblroles DROP TABLE IF EXISTS `tblroles`; CREATE TABLE IF NOT EXISTS `tblroles` ( `ActorID` smallint(5) DEFAULT NULL, `RoleName` text, `ShowID` varchar(255) DEFAULT NULL, KEY `ActorID` (`ActorID`), KEY `ShowID` (`ShowID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; -- Dumping data for table theatredb.tblroles: ~214 rows (approximately) /*!40000 ALTER TABLE `tblroles` DISABLE KEYS */; INSERT INTO `tblroles` (`ActorID`, `RoleName`, `ShowID`) VALUES (1, 'Olivia', '12Night'), (1, 'Third Outlaw', '2Gents'), (1, 'Don Pedro', 'Ado'), (1, 'Aemilia', 'Errors'), (1, 'Duke of Bourbon', 'Henry5'), (1, 'Banquo', 'Macbeth '), (1, 'Lorenzo', 'Merchant'), (1, 'Hippolyta', 'MND'), (1, 'Sailor', 'Othello'), (2, 'Hero', 'Ado'), (2, 'Sir Thomas Grey', 'Henry5'), (2, 'Second Witch', 'Macbeth'), (2, 'Oberon', 'MND'), (2, 'Second Musician', 'Romeo'), (3, 'Dogberry', 'Ado'), (3, 'Earl of Cambridge', 'Henry5'), (3, 'Servant 1', 'Lear'), (3, 'First Witch', 'Macbeth'), (3, 'Prince of Morocco', 'Merchant'), (3, 'Fairy', 'MND'), (3, 'Third Gentleman', 'Othello'), (3, 'Benvolio', 'Romeo'), (4, 'Sexton', 'Ado'), (4, 'Balthazar', 'Errors'), (4, 'Doctor', 'Macbeth'), (4, 'Old Gobbo', 'Merchant'), (4, 'Herald', 'Othello'), (4, 'Second Servant', 'Romeo'), (5, 'Launce', '2Gents'), (5, 'Benedick', 'Ado'), (5, 'Luce', 'Errors'), (5, 'Duncan', 'Macbeth'), (5, 'Salerio', 'Me rchant'), (5, 'Hermia', 'MND'), (5, 'Roderigo', 'Othello'), (6, 'Feste', '12Night'), (6, 'Ursula', 'Ado'), (6, 'Courtezan', 'Errors'), (6, 'Bates', 'Henry5'), (6, 'Gentlewoman', 'Macbeth'), (6, 'Clown', 'Othello'), (7, 'Fabian', '12Night'), (7, 'Claudio', 'Ado'), (7, 'Aegeon', 'Errors'), (7, 'Bishop of Ely', 'Henry5'), (7, 'Caithness', 'Macbeth'), (7, 'Leonardo', 'Merchant'),

Page 34: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 10 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

(8, 'Malvolio', '12Night'), (8, 'First Watchman', 'Ado'), (8, 'Antipholus of Ephesus', 'Errors'), (8, 'Court', 'He nry5'), (8, 'Donalbain', 'Macbeth'), (8, 'Bottom', 'MND'), (8, 'Juliet', 'Romeo'), (9, 'Antonio', '12Night'), (9, 'Leonato', 'Ado'), (9, 'Fluellen', 'Henry5'), (9, 'Curan', 'Lear'), (9, 'Second Apparition', 'Macbeth'), (9, 'Puck', 'MND'), (9, 'Sampson', 'Romeo'), (10, 'Panthino', '2Gents'), (10, 'Katharine', 'Henry5'), (10, 'Goneril', 'Lear'), (10, 'Soldiers', 'Macbeth'), (10, 'Jessica', 'Merchant'), (10, 'Theseus', 'MND'), (10, 'Mercutio', 'Romeo'), (11, 'Lucetta', '2Gents'), (11, 'King of France', 'Henry5'), (11, 'Lear', 'Lear'), (11, 'Young Siward', 'Macbeth'), (11, 'Lysander', 'MND'), (11, 'Cassio', 'Othello'), (11, 'Abraham', 'Romeo'), (12, 'Maria', '12Night'), (12, 'First Merchant', 'Errors'), (12, 'Constable of France', 'Hen ry5'), (12, 'Earl of Kent', 'Lear'), (12, 'Ross', 'Macbeth'), (12, 'Cobweb', 'MND'), (12, 'Second Capulet', 'Romeo'), (13, 'Orsino', '12Night'), (13, 'Second Outlaw', '2Gents'), (13, 'Antipholus of Syracuse', 'Errors'), (13, 'Duke of York', 'Henry5 '), (13, 'Cordelia', 'Lear'), (13, 'Lady Macduff', 'Macbeth'), (13, 'Titania', 'MND'), (13, 'Bianca', 'Othello'), (13, 'Lady Capulet', 'Romeo'), (14, 'Viola', '12Night'), (14, 'Eglamour', '2Gents'), (14, 'Duke of Orleans', 'Henry5'), (14, 'Regan', 'Lear'), (14, 'Sergeant', 'Macbeth'), (14, 'Launcelot Gobbo', 'Merchant'), (14, 'Egeus', 'MND'), (14, 'Friar John', 'Romeo'), (15, 'Sebastian', '12Night'), (15, 'Conrade', 'Ado'), (15, 'Lewis the Dauphin', 'Henry5'), (15, 'Servant 3', 'Lear'), (15, 'Lady Macbeth', 'Macbeth'), (15, 'Desdemona', 'Othello'), (15, 'Paris', 'Romeo'), (16, 'Verges', 'Ado'), (16, 'Grandpre', 'Henry5'), (16, 'Duke of Albany', 'Lear'), (16, 'Lennox', 'Macbeth'), (16, 'Balthasar', 'Merchant'),

Page 35: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 11 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

(16, 'Snug', 'MND'), (16, 'Iago', 'Othello'), (17, 'Julia', '2Gents'), (17, 'Boy', 'Ado'), (17, 'Lord Scroop', 'Henry5'), (17, 'Fool', 'Lear'), (17, 'Malcolm', 'Macbeth'), (17, 'Demetrius', 'MND'), (17, 'Montano', 'Othello'), (17, 'Nurse', 'Romeo'), (18, 'Silvia', ' 2Gents'), (18, 'Don John', 'Ado'), (18, 'Second Merchant', 'Errors'), (18, 'Governor of Harfleur', 'Henry5'), (18, 'Oswald', 'Lear'), (18, 'Third Witch', 'Macbeth'), (18, 'Moth', 'MND'), (18, 'Lodovico', 'Othello'), (18, 'Prince Escalus', 'Romeo'), (19, 'Margaret', 'Ado'), (19, 'Gaoler', 'Errors'), (19, 'Rambures', 'Henry5'), (19, 'Third Murderer', 'Macbeth'), (19, 'First Musician', 'Romeo'), (20, 'Luciana', 'Errors'), (20, 'Montjoy', 'Henry5'), (20, 'Duke of Cornwall', 'Lear'), (20, 'Hecate', 'Macbeth'), (20, 'Prince of Arragon', 'Merchant'), (20, 'Mustardseed', 'MND'), (20, 'Tybalt', 'Romeo'), (21, 'Sir Andrew Aguecheek', '12Night'), (21, 'Outlaws', '2Gents'), (21, 'Watchman', 'Ado'), (21, 'Dromio of Ephesus', 'Errors'), (21, 'Williams', 'Henry5'), (21, 'Knight', 'Lear'), (21, 'Angus', 'Macbeth'), (21, 'Salarino', 'Merchant'), (21, 'Flute', 'MND'), (21, 'Gregory', 'Romeo'), (22, 'First Officer', '12Night'), (22, 'Host', '2Gents'), (22, 'Archbishop of Canterbury', 'Henry5'), (22, 'Earl of Gloucester', 'Lear'), (22, 'First Apparition', 'Macbeth'), (22, 'Bassanio', 'Merchant'), (22, 'Philostrate', 'MND'), (22, 'Third Musician', 'Romeo'), (23, 'Curio', '12Night'), (23, 'First Outlaw', '2Gents'), (23, 'Friar Francis', 'Ado '), (23, 'First Ambassador', 'Henry5'), (23, 'Fleance', 'Macbeth'), (23, 'Gratiano', 'Merchant'), (23, 'Snout', 'MND'), (24, 'Thurio', '2Gents'), (24, 'French Soldier', 'Henry5'), (24, 'Edgar', 'Lear'), (24, 'Menteith', 'Macbeth'), (24, 'Salanio', 'Merchant'), (24, 'Starveling', 'MND'), (24, 'Montague', 'Romeo'), (25, 'Second Officer', '12Night'),

Page 36: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 12 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

(25, 'Speed', '2Gents'), (25, 'Beatrice', 'Ado'), (25, 'Macmorris', 'Henry5'), (25, 'Old Man', 'Macbeth'), (25, 'Shylock', 'Merchant'), (25, 'Apothecary', 'Romeo'), (26, 'Duke of Milan', '2Gents'), (26, 'Sir Thomas Erpingham', 'Henry5'), (26, 'Edmund', 'Lear'), (26, 'Seyton', 'Macbeth'), (26, 'Nerissa', 'Merchant'), (26, 'Friar Laurence', 'Romeo'), (27, 'Proteus', '2Gents'), (27, 'Dromio of Syracuse', 'Errors'), (27, 'Queen Isabel', 'Henry5'), (27, 'Servant 2', 'Lear'), (27, 'Third Apparition', 'Macbeth'), (27, 'Clerk', 'Merchant'), (27, 'Quince', 'MND'), (27, 'Othello', 'Othello'), (28, 'Sir Toby Belch', '12Night'), (28, 'Borachio', 'Ado'), (28, 'Adriana', 'Errors'), (28, 'Alice', 'Henry5'), (28, 'Macbeth', 'Macbeth'), (28, 'Tubal', 'Merchant'), (28, 'Brabantio', 'Othello'), (28, 'Lady Montague', 'Romeo'), (29, 'Valentine', '12Night'), (29, 'Pinch', 'Errors'), (29, 'Macduff', 'Macbeth'), (29, 'Peaseblossom', 'MND'), (29, 'Fourth Gentleman', 'Othello'), (29, 'Romeo', 'Romeo'), (30, 'Solinus', 'Errors'), (30, 'Jamy', 'Henry5'), (30, 'Siward', 'Macbeth'), (30, 'Duke of Venice', 'Othello'), (30, 'Capulet', 'Romeo'); /*!40000 ALTER TABLE `tblroles` ENABLE KEYS */; -- Dumping structure for table theatredb.tblshows DROP TABLE IF EXISTS `tblshows`; CREATE TABLE IF NOT EXISTS `tblshows` ( `ShowID` varchar(255) NOT NULL, `ShowName` varchar(255) DEFAULT NULL, `ShowDat e` date DEFAULT NULL, `ShowTime` time DEFAULT NULL, `ShowDuration` double DEFAULT NULL, `ShowCapacity` double DEFAULT NULL, `ShowCost` double DEFAULT NULL, PRIMARY KEY (`ShowID`), UNIQUE KEY `ShowID` (`ShowID`) ) ENGINE=InnoDB DEFAULT CHARSET=u tf8; -- Dumping data for table theatredb.tblshows: ~11 rows (approximately) /*!40000 ALTER TABLE `tblshows` DISABLE KEYS */; INSERT INTO `tblshows` (`ShowID`, `ShowName`, `ShowDate`, `ShowTime`, `ShowDuration`, `ShowCapacity`, `ShowCost`) VALUES ('12Nigh t', 'Twelfth Night', '2013 - 11- 08', '15:00:00', 160, 325, 200), ('2Gents', 'Two Gentlemen of Verona', '2013 - 11- 20', '15:00:00', 215, 350, 200), ('Ado', 'Much Ado about Nothing', '2013 - 11- 03', '15:00:00', 109, 415, 200),

Page 37: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 13 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013 PLEASE TURN OVER

('Errors', 'Comedy of Errors', '20 13- 11- 24', '20:00:00', 155, 300, 350), ('Henry5', 'Henry V', '2013 - 11- 12', '17:30:00', 270, 300, 250), ('Lear', 'King Lear', '2013 - 11- 04', '17:30:00', 179, 350, 250), ('Macbeth', 'Macbeth', '2013 - 11- 09', '17:30:00', 174, 280, 250), ('Merchant', 'Merchant of Venice', '2013 - 11- 20', '17:30:00', 279, 400, 250), ('MND', 'Midsummer Night \ 's Dream', '2013 - 11- 24', '15:00:00', 204, 375, 200), ('Othello', 'Othello', '2013 - 11- 20', '20:00:00', 190, 300, 350), ('Romeo', 'Romeo and Juliet', '2013 - 11- 22', '17:30:00', 160, 360, 250); /*!40000 ALTER TABLE `tblshows` ENABLE KEYS */; /*!40014 SET FOREIGN_KEY_CHECKS=1 */; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

SECTION B Bookings.txt A1,074 - 061 - 3602,Yes A2,074 - 625 - 3484,Yes A3,083 - 219 - 2489,Yes A5,073 - 345 - 5087,Yes A6,082 - 147 - 4323,Yes A7,084 - 410 - 8555,No A8,073 - 984 - 5555,Yes A9,082 - 122 - 4323,Yes A10,084 - 466 - 8701,No A11,073 - 977 - 5087,Yes A12,082 - 147 - 4553,Yes A13,073 - 984 - 5087,Yes A14,072 - 147 - 4323,Yes A15,083 - 410 - 8701,No B1,082 - 604 - 3857,Yes,Kolby Girls High School,12 B2,082 - 604 - 3857,Yes,Kolby Girls High School,12 B3,082 - 604 - 3857,Yes,Kolby Girls High School,12 B4,082 - 604 - 3857,Yes,Kolby Girls High School,12 B5,082 - 604 - 3857,Yes,Kolby Girls High School,12 B6,082 - 604 - 3857,Yes,Kolby Girls High School,12 B7,082 - 604 - 3857,Yes,Kolby Girls High School,12 B8,082 - 604 - 3857,Yes,Kolby Girls High School,12 B9,082 - 604 - 3857,Yes,Kolby Girls High School,12 B10,082 - 604 - 3857,Yes,Kolby Girls High School,12 B11,082 - 604 - 3857,Yes,Kolby Girls High School,12 B12,082 - 604 - 3857,Ye s,Kolby Girls High School,12 C2,073 - 091 - 0882,No C3,073 - 447 - 9314,No C4,082 - 731 - 9097,Yes C5,073 - 756 - 2344,No C6,082 - 731 - 8345,Yes C7,083 - 038 - 9314,Yes C8,072 - 731 - 8017,Yes C10,083 - 234 - 9314,No C11,082 - 731 - 8017,Yes C14,072 - 683 - 3316,No D2,072 - 677 - 6522,No,Knysna Retirement Home,14 D3,072 - 677 - 6522,No,Knysna Retirement Home,14 D4,072 - 677 - 6522,No,Knysna Retirement Home,14 D5,072 - 677 - 6522,No,Knysna Retirement Home,14 D6,072 - 677 - 6522,No,Knysna Retirement Home,14 D7,072 - 677 - 6522,No,Knysna Retirement Home,14 D8,072 - 677 - 6522 ,No,Knysna Retirement Home,14 D9,072 - 677 - 6522,No,Knysna Retirement Home,14 D10,072 - 677 - 6522,No,Knysna Retirement Home,14 D11,072 - 677 - 6522,No,Knysna Retirement Home,14

Page 38: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 14 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

D12,072 - 677 - 6522,No,Knysna Retirement Home,14 D13,072 - 677 - 6522,No,Knysna Retirement Home,14 D14,072 - 677 - 6522,No,Knysna Retirement Home,14 D15,072 - 677 - 6522,No,Knysna Retirement Home,14 E1,073 - 954 - 7602,Yes E3,073 - 954 - 7602,Yes E5,073 - 954 - 7602,Yes E6,082 - 068 - 8448,Yes E7,074 - 034 - 0095,No E8,083 - 420 - 0970,No E9,082 - 468 - 8448,Yes E10,074 - 434 - 0095,N o E11,084 - 423 - 0974,No E12,082 - 468 - 8548,Yes E13,082 - 434 - 7795,No E14,072 - 357 - 1111,No F1,072 - 853 - 1895,No F2,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F3,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F4,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F5,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F6,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F7,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F8,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F9,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F10,083 - 703 - 7011,Yes,Witbank Hockey Club,9 F11,072 - 373 - 6521,No F12,084 - 470 - 0981,Yes F14,084 - 484 - 8784,No F15,082 - 777 - 4486,Yes G3,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G4,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G5,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G6,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G7,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G8,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G9,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G10,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G11,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G12,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G13,082 - 681 - 6717,Y es,Mellville Boy Scouts,13 G14,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 G15,082 - 681 - 6717,Yes,Mellville Boy Scouts,13 H1,073 - 258 - 5866,No H2,072 - 789 - 2581,No H3,073 - 456 - 0880,No H5,083 - 454 - 5125,No H6,072 - 123 - 2581,No H7,073 - 321 - 0880,No H8,083 - 741 - 5125,No H9,072 - 852 - 2581,No H10,073 - 739 - 0880,No H11,083 - 963 - 5125,No H12,083 - 369 - 5125,No H13,083 - 951 - 5125,No H14,083 - 753 - 5125,No I1,082 - 380 - 9633,No I3,083 - 943 - 3848,Yes I4,084 - 934 - 6451,No I5,083 - 818 - 9756,No I6,083 - 582 - 0560,Yes I7,073 - 898 - 8452,No I9,073 - 064 - 8812,Yes I10,073 - 852 - 7412,Yes

Page 39: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NATIONAL SENIOR CERTIFICATE: INFORMATION TECHNOLOGY: PRACTICAL EXAMINATION Page 15 of 15 INSTRUCTIONS TO TEACHERS

IEB Copyright © 2013

I11,083 - 149 - 8555,Yes I12,073 - 744 - 9999,Yes I13,083 - 744 - 8812,Yes J1,073 - 222 - 9126,No,Cape Town Drama Society,14 J2,073 - 222 - 9126,No,Cape Town Drama Society,14 J3,073 - 222 - 9126,No,Cape Town Drama Society,14 J4,073 - 222 - 9126,No,Cape Town Drama Society,14 J5,073 - 222 - 9126,No,Cape Town Drama Society,14 J6,07 3- 222 - 9126,No,Cape Town Drama Society,14 J7,073 - 222 - 9126,No,Cape Town Drama Society,14 J8,073 - 222 - 9126,No,Cape Town Drama Society,14 J9,073 - 222 - 9126,No,Cape Town Drama Society,14 J10,073 - 222 - 9126,No,Cape Town Drama Society,14 J11,073 - 222 - 9126,No,Cape Town Drama Society,14 J12,073 - 222 - 9126,No,Cape Town Drama Society,14 J13,073 - 222 - 9126,No,Cape Town Drama Society,14 J14,073 - 222 - 9126,No,Cape Town Drama Society,14 K1,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K2,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K3,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K4,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K5,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K6,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K7,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K8,072 - 173 - 1605,Yes,D urban Gentleman's Club,15 K9,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K10,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K11,072 - 173 - 1605,Yes,Durban Gentleman's Club,15 K12,072 - 173 - 1606,Yes,Durban Gentleman's Club,15 K13,072 - 173 - 1607,Yes,Durban Gentleman's Club,15 K14,072 - 173 - 1608,Yes,Durban Gentleman's Club,15 K15,072 - 173 - 1609,Yes,Durban Gentleman's Club,15 L4,083 - 829 - 9959,Yes L6,074 - 101 - 2404,Yes L7,084 - 794 - 5464,No L8,084 - 727 - 6886,No L9,082 - 954 - 7896,No

Page 40: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

NASIONALE SENIORSERTIFIKAAT-EKSAMEN NOVEMBER 2013

INLIGTINGSTEGNOLOGIE : VRAESTEL I Tyd: 3 uur 180 punte LEES ASSEBLIEF DIE VOLGENDE INSTRUKSIES NOUKEURIG DEUR

1. Hierdie vraestel bestaan uit 12 bladsye. Maak asseblief seker dat jou vraestel volledig is. 2. Lees die vrae noukeurig en maak seker dat jy al die gedeeltes van elke vraag beantwoord. 3. Beantwoord AL die vrae – daar is geen opsies in hierdie vraestel nie. 4. Toon alle berekeninge waar toepaslik. 5. Nie-programmeerbare sakrekenaars mag gebruik word. 6. Nommer jou antwoorde presies soos die onderafdelings van die vrae genommer is. 7. Begin elke antwoord op elke vraag op 'n nuwe bladsy. 8. Laat asseblief 'n reël oop tussen onderafdelings van vrae. 9. Dit is in jou eie belang om leesbaar te skryf en jou werk netjies aan te bied.

Page 41: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 2 van 12

IEB Copyright © 2013

SCENARIO Herkonstruksie van die mens ... Kundiges van 'n biometriese ingenieurspan voorspel dat bioniese tegnologie ons in die toekoms langer, gesonder lewens sal gee. 'Herkonstruksie van die mens' ondersoek 'n paar merkwaardige deurbrake in die ontwerp van prostetiese ledemate, kunsmatige organe, bene en selfs bloedselle. Bioniese ledemate met masjienintelligensie kan nou hul omgewing waarneem en 'n gebruiker se bedoelings voorspel. Slimmer, sterker, vinniger robotika sal een van die dae die krag van gesonde mense versterk. 'n Nuwe prostetiese arm wat in werklikheid saamgestel is uit 'n swetterjoel robotte, elkeen met 'n los segment wat 'n verwerker huisves wat saam met die ander werk, bring nuwe hoop vir baie mense.

[Aangepas uit: Popular Mechanics, Junie 2012] VRAAG 1 Die biometriese ingenieurspan het hulp nodig met die volgende terme: (Noem TWEE sleutelfeite vir elke term.) 1.1 Cloud Computing

1.2 RFID

1.3 Stelselsagteware (System Software) 1.4 Vir tualisering (Virtualisation) 1.5 Fermware (Firmware) 1.6 VPN 1.7 Digitale handtekening (Digital signature) 1.8 RSI 1.9 VMT (UML) 1.10 Android

[20]

1

1 Biometrika – identifikasie van mense deur hul eienskappe of kenmerke, byvoorbeeld vingerafdrukleser om toegang te verkry tot ’n beveiligde vertrek.

Page 42: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 3 van 12

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

VRAAG 2 Die biometriese ingenieurspan het baie oorwegings om mense met gestremdhede voor te berei vir die wêreld waarin hulle moet leef. Hulle het raad nodig wanneer die volgende toestelle hersien word om mense met gestremdhede te help. Toestel A: Samsung Galaxy Note 10.1

Sellulêre konnektiwiteit GSM/3G/4G Bande 850 / 900 / 1800 / 1900 HSPA 850 / 900 / 1900 / 2100 (3G-model)

Vertoon 10.1" VKV teen 1 280 × 800 149 ppi beeldelementdigtheid

Verwerker Samsung Exynos 4 Quad 1.4 GHz kwadkern

Grafika Mali-400 MP4 GVE LSG 2 GG Berging 16/32/64 GB interne gebruikersberging

mikro-SDXC-gleuf Konnektiwiteit Wi-Fi 802.11 b/g/n

Bluetooth 4.0 Infrarooi

Kamera 5 MP agterste kamera met LED-fl its 1.9 MP voorste kamera

Poorte Samsung privaat verbinder 3.5 mm oudioprop S-Pengleuf

Lanseringsbedryfstelsel Ingebedde Android 4.0 'Ice Cream Sandwich' [<http://www.neowin.net/news/review-samsung-galaxy-note-101>]

Toestel B: Die Lenovo IdeaPad Yoga 13 Convertible-skootrekenaar

[<http://www.cnet.com/laptops/lenovo-ideapad-yoga-13/4505-3121_7-35477652.html>]

Verwerker Intel 3de Gen Kern i5, 3 i5-3317U / 1.7 GHz, 3 MG cache, Dubbelkern) [2.6 GHz Turbo-stoot] 64 bisse

Grafikaklokspoed 850 MHz [1100 MHz Turbo-stoot] Bedryfstelsel MS Windows 8 Skyfiestel Mobile Intel QS77 Express Busspoed 1 600 MHz / PC3-12800 Geheue 8 GG DDR3L SDLSG Hardeskyfaandrywer-beskrywing 128 GG SSD / Serial ATA-300 Grafika Intel HD Graphics 4000 Oudio Stereoluidsprekers, kombinasie kopfoon/mikrofoon-prop Data USB 2.0, SD-kaartleser Netwerk Ethernet, 802.11n Wi-Fi, Bluetooth

Page 43: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 4 van 12

IEB Copyright © 2013

2.1 Toestel B het 'n skyfiestel. Noem die TWEE komponente wat gewoonlik 'n skyfie-stel vorm. (2)

2.2 Bestudeer Toestel A. 2.2.1 Wat is die frekwensie van die verwerker? (1) 2.2.2 Verduidelik kortliks TWEE metodes wat gebruik kan word om data tussen

die tablet en die skootrekenaar te deel deur die konnektiwiteitterminologie te gebruik wat in die advertensie vir Toestel A genoem word. (4)

2.2.3 Gee TWEE toevoermetodes wat op Toestel A gebruik kan word. (2)

2.2.4 Verduidelik wat 'ingebed' in terme van die Bedryfstelsel in Toestel A

beteken. (2)

2.2.5 Gee TWEE eienskappe wat 'n mens op die tablet kan gebruik om die bruikbaarheid te verbeter vir iemand met 'n visuele gestremdheid. (2)

2.3 Verwys na Toestel B. 2.3.1 Verduidelik waarna die '64' in die verwerker verwys en gee 'n voordeel van

'n 64-bis-bedryfstelsel. (2) 2.3.2 Die toestel het turbostoot wat die SVE oorklok. Verduidelik die verskil

tussen klokvermenigvuldiging en oorklok. (2) 2.3.3 Onderskei tussen 'Grafikaklokspoed' en 'Busspoed'. (2) 2.3.4 Watter deel van die voorkantbus dikteer tot hoeveel LSG-toegang verkry

kan word? (1) 2.3.5 Definieer 'toegangstyd' in terme van 'n meganiese hardeskyfaandrywer. (2) 2.3.6 Waarom gebruik 'n Vastetoestand-hardeskyfaandrywer minder krag as 'n

hardeskyfaandrywer? (1)

2.3.7 Gee TWEE ander voordele van 'n Vastetoestand-hardeskyfaandrywer. (2) 2.4 Gee TWEE voordele daarvan om Toestel B bo Toestel A te kies. (2) 2.5 Gee TWEE nadele daarvan om Toestel B bo Toestel A te kies. (2)

Page 44: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 5 van 12

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

Toestel C: Tongaangedrewe Stelselprototi pe ingebou in 'n kommersiële draadlose kopfoon

[<http://www.research.gov/common/images/PublicAffairs>]

2.6 Bestudeer Toestel C.

Die ingenieurspan het 'n draadlose tegnologie ontwikkel wat 'n gebruiker se tong-bewegings in spesifi eke bevele kan omskakel, wat mense wat verlam is in staat sal stel om tablette en skootrekenaars tot hul voordeel te gebruik. 2.6.1 Waarom kan jy Toestel C nie met Toestel A verbind nie? Verduidelik. (2) 2.6.2 Wanneer Toestel C met Toestel B verbind word, noem en verduidelik die

sagtewareproses waardeur hierdie toestel herken word. (3) 2.6.3 Die beheereenheid van Toestel C sal 'n LAG-skyfie met ingebedde

sagteware hê, wat fermware genoem word. Watter tipe geheue gebruik meer komplekse fermware om bywerkings moontlik te maak? (1)

2.6.4 Gee TWEE funksies van die fermware in die LAG-skyfie in Toestel C. (2)

[37]

Beheereenheid Magnetiese Sensormodule

Draadlose USB-ontvanger Magnetiese

Spoorder

Page 45: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 6 van 12

IEB Copyright © 2013

VRAAG 3 Die biometriese ingenieurspan besluit om na die gemeenskap uit te reik deur 'n 'dunkliënt'-rekenaarlaboratorium te skep met 30 rekenaars, 'n tafelrekenaar vir die laboratorium-bestuurder en 'n tafelrekenaar vir die administrateur se gebruik in die administrasieblok. Hulle sal almal as 'n netwerk met mekaar moet kan kommunikeer. Die netwerk moet ook daarvoor voorsiening maak dat personeel hul slimfone en tablette as netwerktoestelle kan gebruik. IT-konsultante adviseer die span om 'n dunkliënt-bedienernetwerk op te stel.

3.1 Verduidelik waarom eweknie tot eweknie nie geskik is vir hierdie

netwerkopstelling met dun kliënte nie. Gee DRIE redes. (3) 3.2 Die bedienersagteware kan privaat of oopbronsagteware wees.

3.2.1 Gee 'n voorbeeld van elke tipe sagteware (privaat en oopbron). Verskaf die naam en weergawe. (2)

3.2.2 Gee 'n nadeel van elk – privaat en oopbronsagteware. (2)

Figuur 3.3: Dun Kliënt Verwerker Intel® Atom Processor N280 1.66 GHz 32 bit Voorkantbusspoed 667 MHz Instru ksiestel 32-bis (×86) Instru ksiesteluitbreidings SSE2, SSE3, SSSE3 Bedryfstelsel Windows® Embedded Standard 2009 Geheue, standaard 1 GG DDR3 SDLSG SSD LAG 2 GG Flits Grafika Intel GL40 grafikaskyfiestel (64 MG vir grafika) Netwerk koppelvlak 10/100/1000 Gigabis Ethernet (RJ-45), TBP/IP met DNB en

DGKP, punt-na-punt-protokol (PPP), direkte verbinding deur RS-232, punt na punt oor Ethernet (PPPoE)

Krag Wêreldwye outomatiese aanvoeling 100-240 V WS, 50-60 Hz energiebesparende outomatiese afskakeling, stuwings-verdraagsame 65 watt-kragbron

3.3 Lees die netwerkkoppelvlakspesifi kasies vir die dunkliënt-rekenaar (Figuur 3.3) in

die tabel hierbo en beantwoord die vrae wat volg:

3.3.1 Watter netwerkargitektuur word saam met hierdie rekenaar gebruik? (1)

3.3.2 Watter kabeltipe moet vir die dunkliënt-rekenaars gebruik word? Waarom? (2)

3.3.3 Waarna verwys '10/100/1000 Gigabis'? (2)

3.3.4 Watter topologie stel jy voor vir die vertrek? Gee TWEE redes. (3)

3.3.5 'TBP/IP met DNB en DGKP' – verduidelik elke term. (6)

Page 46: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 7 van 12

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

3.4 Bestudeer die netwerkdiagram hieronder – dit is 'n benadering van die geprojekteerde maatskappynetwerk.

In die plasing van die rekenaarlaboratorium is daar twee opsies om Internet-konnektiwiteit te voorsien – 'Draadloos' OF '3G'. Daar is geen ADHL-diens beskikbaar nie. Die 'Draadloos' het 'n groep siglyntorings om konnektiwiteit in die gebied te voorsien.

3.4.1 Watter tipe sein sal gebruik word in siglyntorings? Gee EEN rede vir jou

antwoord. (2)

3.4.2 Verduidelik kortliks wat 3G is. (2)

3.4.3 Watter verbindingsopsie sal jy kies – 'Draadloos' of '3G'? Gee EEN rede vir jou antwoord. (2)

3.4.4 Binne dieselfde maatskappy is daar verskillende netwerktoestelle. Beskryf die volgende kortliks: (a) Skakel (2)

(b) Proksiebediener (2) (c) Roeteerder (2) (d) Skandeerder (2)

[35]

Roeteerder

Slimfoon

Skakel

Skootrekenaar

Skootrekenaar

Skakel

Bediener Bediener

Bediener

Skandeerder

Tafelrekenaar

Drukker

Tafelrekenaar

IP-foon

IP-foon

A: Bedieners – Domeinbeheerder, Proksie- en Toepassingsbedieners, DNB, DGKP

C: Admin. Blok

B: Rekenaarlab met dun kliënte

Bediener Bediener

Page 47: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 8 van 12

IEB Copyright © 2013

VRAAG 4 4.1 Onderskei tussen stelselsagteware en toepassingsagteware. (2) 4.2 Dit is belangrik dat die biometriese ingenieurspan 'n li sensie-ooreenkoms het

wanneer sagteware gekoop word.

4.2.1 Beteken dit dat die span nou die sagteware besit? (1) 4.2.2 Motiveer jou antwoord op Vraag 4.2.1. (1)

4.3 Regverdig hoe elkeen van die volgende voordelig is vir die span se netwerk:

4.3.1 Brandmuur (2) 4.3.2 Teenvirussagteware (2)

4.3.3 RAID (2)

4.4 Biometriese toestelle word by die deur van die span se rekenaarlaboratorium geïnstalleer vir bywoningsbeheerdoeleindes en sekuriteit. Die bestuurder van die biometriese ingenieurspan het byvoorbeeld 'n vingerafdrukleser om die laboratorium oop te sluit. 4.4.1 Noem TWEE ander voorbeelde van biometriese toestelle en stelsels, buiten

'n vingerafdrukleser, wat vir hierdie doeleindes gebruik kan word. (2) 4.4.2 Dink jy dit is 'n skending van privaatheid om mense se vingerafdrukke te

skandeer voor hulle toegang tot 'n plek verkry? Gee TWEE redes vir jou antwoord. (3)

4.5 Rekenaarsagteware skakel intydse spieraktiwiteitseine in robotiese armbewegings

om, veral vir die gebruik van prostesebeheer. Geheuetoekenning is 'n intydse taak wat rekenhulpbronne deel en is dus meer kritiek in 'n Intydse Bedryfstelsel as in ander Bedryfstelsels.

4.5.1 Wat beteken 'Intyds'? (2)

4.5.2 Virtuele geheue is een van die metodes wat ontwikkel is om die doeltreffendheid van geheuebestuur te verhoog. Verduidelik hoe dit moontlik is. (4)

4.6 SYS/BIOS is nog 'n voorbeeld van 'n Intydse Bedryfstelsel. SYS/BIOS verskaf 'n

groot reeks stelseldienste vir 'n ingebedde toepassing soos antisiperende multitaakverwerking.

4.6.1 Definieer multitaakverwerking en multiryging. (4) 4.6.2 As verwerkers deesdae almal 'n dubbelkern het, dink jy dat multiryging

steeds nodig is in 'n toepassing? Gee TWEE redes vir jou antwoord. (3) 4.7 Hoe sal 'onderbrekings' met 'prop in en speel' saamwerk sodat 'n toestel wat

ingeprop word direk daarna vir die gebruiker beskikbaar kan wees? (2) [30]

Page 48: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 9 van 12

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

VRAAG 5 5.1 Twitter kan 'n transformasie in die samelewing teweeg bring. Stem óf saam met óf

verskil van hierdie stelling deur TWEE argumente te verskaf. Regverdig elke argument. (4)

5.2 Die biometriese ingenieurspan is ook betrokke by natuurbewaring. Met die huidige

benarde posisie van renosters het die personeel besluit om 'n renosterwag te begin aangesien hulle 'n klompie renosters in die bewaringsgebied het. Werknemers van die maatskappy gaan naweke op wildstaptogte en twiet die posisie van die renosters en enige ander interessante waarnemings.

5.2.1 Stel 'n hutsetiket vir die twiets voor. (1)

5.2.2 Dink jy dit is 'n goeie idee om die posisies van die renosters te twiet? Regverdig jou antwoord. (2)

5.3 Die bewaringsgroep het ook raad nodig om 'n interaktiewe Internetwerf te bedryf

om bewaringskwessies met die groter gemeenskap te bespreek. Hulle is nie seker wat om te kies nie: 'n blog, wiki of forum.

Verduidelik hierdie terme en hul verskille kortliks. 5.3.1 Blog (2) 5.3.2 Wiki (2) 5.3.3 Forum (2) 5.4 Kies in die volgende scenario die toepaslikste (Blog, Wiki, Forum): Scenario: Ontwikkel gesamentlik 'n bewaringsbeleid. Verduidelik die rede vir jou keuse. (2) [15]

Page 49: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 10 van 12

IEB Copyright © 2013

VRAAG 6

Die biometriese ingenieurspan moet aspekte hanteer van die verkryging van kwotasies vir toerusting om hul IT-infrastruktuur op te stel. Die eerste taak is om 'n databasis te skep om die kwotasies (kosteberamings) te stoor wat vir die verskaffing van toerusting ingedien sal word. Een van die taakspanlede het die databasis wat hieronder getoon word, opgestel. Vi r elke item is 'n minimum van drie kwotasies nodig. Party maatskappye sal meer as een kwotasie (kosteberaming) verskaf.

Verwantskappe: • Een tot een: Elke maatskappy het sy eie unieke kode en sy eie naam, adres en e-pos. • Een tot baie: Elke maatskappy kan meer as een kwotasie per dag verskaf. • Baie tot baie: Kwotasies kan baie items bevat en items kan op baie verskillende kwotasies verskyn.

Figuur 6.1 Kwotasies

Veldnaam Datatipe Beskrywing MaatskappyKode Teks Die eerste 5 letters van die maatskappynaam gevolg deur 'n reeksnommer MaatskappyNaam Teks Die naam van die maatskappy MaatskappyAdres Teks Die adres van die maatskappy MaatskappyEpos Teks Die e-posadres van die maatskappy ItemKode Teks Unieke kode vir elke item ItemBeskrywing Teks Beskrywing van die item ItemHoeveelheid Teks Getal items benodig ItemKoste Teks Koste van een item KwotasieNo Teks Unieke nommer vir elke kwotasie

6.1 Verduidelik die doel van 'n primêre sleutel in 'n databasistabel. (2) 6.2 Daar is verskeie probleme met die ontwerp van hierdie databasis. Die stappe

hieronder is deel van die proses om die ontwerpprobleme op te los.

6.2.1 Al die datatipes is as teks verklaar. Dui TWEE velde aan wat nie 'n tekstipe moet wees nie en dui die toepaslike datatipe aan vir ELKEEN van die velde wat jy geïdentifiseer het. (4)

6.2.2 In die lig daarvan dat baie maatskappye veelvuldige kwotasies (koste-beramings) het, wat is die duidelikste swakheid van die ontwerp van die Kwotasiestabel wat betref die vaslegging van data op 'n kwotasie? Jy MOET jou redenasie verduidelik. (2)

6.2.3 'n Swak ontwerpte databasis kan tot foute lei terwyl normale, alledaagse databasisinstandhoudingstake uitgevoer word. Hierdie foute word dikwels 'ongerymdhede' genoem. Noem DRIE van die ongerymdhede wat kan ontstaan as gevolg van 'n swak ontwerpte databasis. (3)

6.2.4 Die gegewe tabel bevat in werklikheid inligting oor minstens TWEE afsonderlike groepe of kategorieë data. Normaliseer die databasis tot 3NF (Derde Normaalvorm). Skryf die antwoord as 'n stel relasies. Jy MOET die volgende toon:

• Die velde wat elkeen van die nuwe tabelle sal bevat. (3) • Die primêre sleutel van elke tabel. (3) • Die vreemde sleutels en die tabelle wat die vreemde sleutels sal bevat, moet verhoudings/skakels tussen die tabelle vestig. (3)

Page 50: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 11 van 12

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

6.3 Deel van 'n goeie databasisontwerp is om foute wanneer data ingesleutel word, vooruit te loop en te voorkom. Beskou die data wat oor die kwotasie vasgelê kan word. Die taakspan het besluit dat hulle nie kwotasies sal aanvaar vir minder as 100 eenhede of meer as 5 000 eenhede nie.

6.3.1 Wat is die tegniek wat gebruik kan word om te verseker dat data binne 'n

bepaalde bestek val? (1) 6.3.2 Skryf die reël uit wat jy sal gebruik om te verseker dat die getal eenhede

wat ingesleutel word nie buite die bepaalde bestek sal wees nie. Gebruik die veldname uit Figuur 6.1. (2)

[23]

Page 51: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL I Bladsy 12 van 12

IEB Copyright © 2013

VRAAG 7 Die biometriese ingenieurspan wil 'n eenvoudige rekenaarvasvraspeletjie skryf om feite oor renosters te onderrig. In die speletjie 'Om die renoster te red' moet tien vrae binne dertig sekondes korrek beantwoord word. Vir 'n korrekte antwoord kry jy nog 'n renoster, andersins verloor jy 'n renoster. Die vrae sal daarop gemik wees om korrekte feite oor renosters (bv. renosterhoring is NIE 'n effektiewe afrodisiak of 'n kuur vir kanker nie) aan te teken en ander feite oor renosters te onderrig. Daar is TWEE tipes vrae: WAAR of ONWAAR en MEERVOUDIGE KEUSE met DRIE opsies. Die vrae en korrekte antwoorde word in 'n tekslêer gestoor. Hieronder is die klasdiagramme vir elke tipe vraag:

VraagOb VraagWO VraagMeerKeuse

− vraag:String − vraag:String

− TF:Boole

− vraag:String

− antwoord:String

− a, b, c:String

7.1 Die klasse hierbo kan vereenvoudig word deur oorerwing te gebruik. Teken die

klasdiagramme, toon oorerwing duidelik aan en verwyder enige onnodige velde of metodes. (3)

7.2 Gee TWEE voordele van oorerwing. (2)

7.3 Wat beteken polimorfie? (2)

7.4 Parameters is fundamenteel tot programmering. Beskryf hoe die volgende konsepte

met mekaar verband hou:

7.4.1 Formele parameters (2) 7.4.2 Argumente (2)

7.5 Probleem: Toevoer en geldigheidstoetsing van 'n (20)-syfergetal. • Die getal sal geldig wees as en slegs as die twintigste (20ste) syfer gelyk is aan

die res van die som van die eerste negentien (19) syfers gedeel deur 20. • Die program moet 'n geskikte boodskap druk wat die gebruiker inlig of die getal geldig of ongeldig is.

7.5.1 Verklaar enige veranderlike(s) wat nodig is om die 20-syfergetal hierbo te

stoor. (2) 7.5.2 Gebruik vervolgens die veranderlikes (datastruktuur) wat in Vraag 7.5.1

verklaar is en skryf die algoritme wat die toevoer en geldigheidstoetsing van 'n (20)-syfergetal moontlik sal maak. (7)

[20]

Totaal: 180 punte

Page 52: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

IEB Copyright © 2013 BLAAI ASSEBLIEF OM

NASIONALE SENIORSERTIFIKAAT-EKSAMEN NOVEMBER 2013

INLIGTINGSTEGNOLOGIE : VRAESTEL II Tyd: 3 uur 120 punte LEES ASSEBLIEF DIE VOLGENDE INSTRUKSIES NOUKEURIG DEUR 1. Hierdie vraestel bestaan uit 12 bladsye. Maak asseblief seker dat jou vraestel volledig is. 2. Hierdie vraestel moet beantwoord word deur objekgeoriënteerde programmeringsbeginsels

te gebruik. Jou program moet sinvol gebruik maak van metodes en parameters. 3. Hierdie vraestel is in twee afdelings verdeel. Alle kandidate moet albei afdelings

beantwoord. 4. Hierdie vraestel is opgestel in programmeerterme wat nie kenmerkend is vir enige

spesifieke programmeertaal (Java/Delphi) of databasis (Access/MySQL) nie. 5. Maak seker dat jy die vrae beantwoord op die wyse wat beskryf word, aangesien punte vir

jou oplossing toegeken sal word ooreenkomstig die spesifikasies wat in die vraag gegee word.

6. Beantwoord slegs wat in elke vraag gevra word. As die vraag byvoorbeeld nie vra vir

datageldigheidstoetsing nie, word geen punte daarvoor toegeken nie en hoef geen kode dus geskryf te word nie.

7. As jy 'n gedeelte van die kode nie kan laat werk nie, moet jy dit as kommentaar merk sodat

dit nie uitgevoer word nie en sodat jy met die eksamen kan voortgaan. Probeer indien moontlik om die fout te verduidelik om die nasiener te help.

8. Wanneer jy in jou kode toegang tot 'n lêer verkry, MOENIE die name van die volledige pad

van die lêer gebruik nie, aangesien dit probleme sal skep wanneer die program nagesien word op 'n ander rekenaar as die een waarop jy werk. Verwys bloot na die lêers deur die name en uitbreidings daarvan te gebruik waar nodig.

9. Jou programme moet op so 'n manier gekodeer word dat hulle met enige data sal werk en

nie slegs die voorbeelddata wat voorsien is of enige data-uittreksels wat in die vraestel voorkom nie. Jy word aangeraai om die datalêers wat voorsien word, noukeurig te bestudeer.

10. Maak seker dat roetines soos soektogte, sorterings en selekterings uit eerste beginsels

ontwikkel word en dat jy nie die ingeboude eienskappe van 'n programmeertaal vir enigeen van hierdie roetines gebruik nie.

Page 53: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 2 van 12

IEB Copyright © 2013

11. Alle datastrukture moet deur jou, die programmeerder, gedefinieer en verklaar word. Jy mag nie komponente wat binne die koppelvlak voorsien word, gebruik om data te stoor en later te herwin nie.

12. Lees die hele vraestel voordat jy 'n datastruktuur kies. Dit mag wees dat daar 'n

alternatiewe metode is om die data voor te stel wat dalk meer doeltreffend sal wees met inagneming van die vrae wat in die vraestel gevra word.

13. Jy moet al jou werk gereeld stoor op die skyf wat jy ontvang het of die skyfspasie wat vir

hierdie eksamen aan jou toegeken is. 14. As daar 'n tegniese onderbreking is wat verhoed dat jy jou eksamen kan skryf (byvoorbeeld

'n kragonderbreking), sal jy wanneer jy weer begin skryf slegs die tyd gegee word wat oor was toe die onderbreking begin het. Geen ekstra tyd sal gegee word om werk wat nie gestoor is nie weer oor te doen nie.

15. Maak seker jou eksamennommer verskyn as kommentaar in elke program wat jy kodeer,

sowel as op elke bladsy sigkopie wat jy inlewer. 16. Druk 'n kodelys van al die programme/klasse wat jy kodeer. Drukwerk moet na die

eksamen gedoen word. Jy sal na afloop van die eksamen 'n halfuur ontvang om te druk. Jou onderwyser sal jou inlig oor die reëlings vir die druk van jou werk.

SCENARIO Die Nasionale Teaterskool van Suid-Afrika bied in November 'n William Shakespeare Fees aan en wil verskeie rekenaarstelsels gebruik wanneer hierdie geleentheid gereël word. Jy word gevra om hulle te help met databasis- en programmeringsverwante werk.

Page 54: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 3 van 12

IEB Copyright © 2013

AFDELING A GESTRUKTUREERDE NAVRAAGTAAL Jy word gevra om vir doeleindes van die fees nuttige inligting oor opvoerings en akteurs uit die databasis te onttrek. Daar is drie tabelle in die databasis om inligting oor die opvoerings (almal Shakespeare-dramas) en die akteurs wat in hierdie produksies optree, te stoor. Die akteurs se persoonlike besonderhede word gestoor in 'n tabel genaamd tblAkteurs , die inligting oor die verskillende opvoerings (byvoorbeeld datum, tyd, kapasiteit en koste) word gestoor in 'n tabel genaamd tblOpvoerings en 'n lys van watter akteurs die rolle in elke drama speel, word gestoor in 'n tabel genaamd tblRolle. Die velde in die databasis word hieronder bespreek. Onder elke beskrywing is 'n skermkiekie van die eerste 10 rye data vir jou gerief. Die tabelle bevat meer data: tblAkteurs AkteurID Dit is 'n veld met outomatiese nommering wat aan elke akteur 'n

unieke ID-nommer toeken AkteurNaam Hierdie veld bevat die name van die akteurs AkteurGDatum Hierdie veld bevat die geboortedatums van die akteurs AkteurTarief Hierdie veld bevat die bedrag geld in rand wat die akteur elke uur of

gedeelte daarvan verdien

AkteurID AkteurNaam AkteurGDatum AkteurTarief

1 Garth York 1980/09/05 R 450.00

2 Ebony Sweeney 1981/02/23 R 300.00

3 Mary Rocha 1962/01/31 R 750.00

4 Summer Dickson 1970/07/30 R 275.00

5 Clarke Stafford 1969/03/17 R 375.00

6 Veronica Decker 1983/01/10 R 150.00

7 Jason Hyde 1963/10/15 R 225.00

8 Odette Barker 1982/07/31 R 225.00

9 Oprah Buckner 1982/12/11 R 550.00

10 Amir Collier 1965/11/09 R 750.00

Page 55: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 4 van 12

IEB Copyright © 2013

tblOpvoerings OpvoeringID Hierdie veld bevat 'n unieke ID vir elkeen van die opvoerings OpvoeringNaam Hierdie veld bevat die naam van die drama OpvoeringDatum Hierdie veld bevat die datum waarop die opvoering plaasvind OpvoeringTyd Hierdie veld bevat die tyd wat die opvoering geskeduleeer is om

te begin OpvoeringDuur Hierdie veld bevat die duur van die opvoering in minute OpvoeringKapasiteit Hierdie veld bevat die maksimum getal mense wat hierdie

spesifieke opvoering kan bywoon OpvoeringKoste Hierdie veld bevat die koste van 'n enkele kaartjie vir die

opvoering

OpvoeringID OpvoeringNaam OpvoeringDatum OpvoeringTyd OpvoeringDuur OpvoeringKapasiteit OpvoeringKoste

12Night Twelfth Night 2013/11/08 15:00 160 325 200

2Gents Two

Gentlemen of

Verona 2013/11/20 15:00 215 350 200

Ado Much Ado

about Nothing 2013/11/03 15:00 109 415 200

Errors Comedy of

Errors 2013/11/24 20:00 155 300 350

Henry5 Henry V 2013/11/12 17:30 270 300 250

Lear King Lear 2013/11/04 17:30 179 350 250

Macbeth Macbeth 2013/11/09 17:30 174 280 250

Merchant Merchant of

Venice 2013/11/20 17:30 279 400 250

MND Midsummer

Night's Dream 2013/11/24 15:00 204 375 200

Othello Othello 2013/11/20 20:00 190 300 350

tblRolle AkteurID Hierdie veld bevat die ID van die akteur wat die rol speel. Hierdie sleutel is 'n

vreemde sleutel vir die tblAkteurs-tabel RolNaam Hierdie veld bevat die naam van die rol of karakter wat deur die akteur gespeel

word OpvoeringID Hierdie veld bevat die ID van die opvoering waarmee die rol of karakter

geassosieer word. Hierdie sleutel is 'n vreemde sleutel vir die tblOpvoerings-tabel

AkteurID RolNaam OpvoeringID

1 Olivia 12Night

1 Third Outlaw 2Gents

1 Don Pedro Ado

1 Aemilia Errors

1 Duke of Bourbon Henry5

1 Banquo Macbeth

1 Lorenzo Merchant

1 Hippolyta MND

1 Sailor Othello

2 Hero Ado

Page 56: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 5 van 12

IEB Copyright © 2013

VRAAG 1

1.1 Skryf 'n navraag wat al die besonderhede van al die opvoerings uit tblOpvoerings in datumvolgorde sal lys. (3)

1.2 Skryf 'n navraag wat die OpvoeringNaam, OpvoeringTyd en OpvoeringKapasiteit van alle opvoerings wat om 15:00 begin en 'n kapasiteit van 250 mense of meer het sal lys. (3)

1.3 Skryf 'n navraag wat die ouderdom van elke akteur in jare sal vertoon. Vertoon die AkteurNaam sowel as die ouderdom in 'n veld genaamd AkteurOuderdom . (3)

1.4 Skryf 'n navraag wat sal lys hoeveel rolle daar vir elkeen van die opvoerings is. Jy moet die OpvoeringNaam en die getal rolle vertoon. (5)

1.5 Skryf 'n navraag wat 'n nuwe akteur met die naam Bob Reeves, gebore 4 Oktober

1976, by tblAkteurs sal byvoeg. Bob Reeves word 'n tarief van R175 per uur betaal. (4)

1.6 Die kapasiteit van die opvoering 'Henry V' met OpvoeringID 'Henry5' op

2013-11-12 is verander na 450. Skryf 'n bywerknavraag wat hierdie rekord in tblOpvoerings sal bywerk. (2)

1.7 Skryf 'n navraag wat die totale inkomste uit kaartjieverkope sal bereken wat die teater elke dag sal ontvang indien hulle al hul opvoerings heeltemal uitverkoop. Die totale inkomste vir 'n opvoering kan soos volg bereken word: Totale Inkomste = OpvoeringKapasiteit * OpvoeringKoste Toon die datum sowel as die totale inkomste vir alle opvoerings op elke datum. (4)

1.8 Skryf 'n navraag wat al die rolle sal lys wat begin met 'Sir'. Jy moet die OpvoeringNaam en RolNaam van elke rol lys. 'n Voorbeeld van die afvoer word hieronder gegee: (6)

OpvoeringNaam RolNaam

Twelfth Night Sir Andrew Agueche

Henry V Sir Thomas Erpingha

Henry V Sir Thomas Grey

Twelfth Night Sir Toby Belch

Page 57: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 6 van 12

IEB Copyright © 2013

1.9 Skryf 'n navraag wat sal vertoon hoeveel elke akteur sal verdien vir elke drama waarin hy/sy in die loop van die fees optree. Vertoon die AkteurNaam, OpvoeringNaam en totale bedrag wat aan die akteur betaal moet word (rond hierdie veld af tot twee desimale plekke). Akteurs kry hul uurlikse tarief vir die hele duur van die drama. 'n Voorbeeld van die afvoer word hieronder gegee: (10)

AkteurNaam OpvoeringNaam TotalVerdienste

Amir Collier Henry V 3375

Amir Collier King Lear 2237.5

Amir Collier Macbeth 2175

Amir Collier Merchant of Venice 3487.5

Amir Collier Midsummer Night's Dream 2550

Amir Collier Romeo and Juliet 2000

Amir Collier Two Gentlemen of Verona 2687.5

Brittani Puckett Comedy of Errors 1937.5

Brittani Puckett Henry V 3375

Brittani Puckett King Lear 2237.5

Brittani Puckett Macbeth 2175

Brittani Puckett Midsummer Night's Dream 2550

Brittani Puckett Othello 2375

Brittani Puckett Romeo and Juliet 2000

Brittani Puckett Twelfth Night 2000

Brittani Puckett Two Gentlemen of Verona 2687.5

Cade Ewing Henry V 1237.5

Cade Ewing King Lear 820.42

40 punte

Page 58: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 7 van 12

IEB Copyright © 2013

AFDELING B OBJEKGEORIËNTEERDE PROGRAMMERING Die teater by die Nasionale Teaterskool van Suid-Afrika het sitplek vir 180 mense en die organisasie bly op die hoogte van die besprekings vir elke opvoering afsonderlik. Die teateruitleg het 12 rye stoele met 15 stoele in elke ry. Rye is gemerk van A (voor) tot L (agter). Die teater laat teatergangers toe om via 'n gekoppelde webwerf genaamd TechnoKaartjies vir opvoerings te bespreek. Die besprekings word na 'n tekslêer genaamd besprekings.txt geskryf. Hierdie lêer moet verwerk word om bespreekte sitplekke en beskikbare sitplekke te bepaal. Vir enige gegewe opvoering kan besprekings óf individu ele besprekings óf groepbesprekings wees. Individu ele besprekings is enkelbesprekings met 'n sitplekverwysing, kontaknommer en betalingstatus aangeteken. Elke bespreking word afsonderlik gedoen en is nie met enige ander bespreking verbind nie. Vir Groepbesprekings word 4 of meer opeenvolgende sitplekke bespreek. Benewens sitplekverwysing, kontaknommer en betalingstatus word 'n groepnaam en groepgrootte vir elke groepbespreking aangeteken. 'n Groepbespreking van 10 sitplekke sal byvoorbeeld 10 afsonderlike besprekings verbind deur die groepnaam en -grootte wees. Na oorweging besluit jy op die volgende klasstruktuur:

Jy het 'n lêer genaamd besprekings.txt ontvang wat 'n lys van besprekings vir 'n enkele opvoering by die teater bevat. Die eerste 25 reëls van die lêer word hieronder verskaf vir jou verwysing (die werklike lêer bevat baie meer reëls en jy word aangeraai om dit noukeurig te bestudeer).

GroepBespreking

Bespreking

Page 59: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 8 van 12

IEB Copyright © 2013

Elke reël het óf drie óf vyf velde aanwesig wat deur kommas geskei word. Die eerste drie velde van enige reël dui die sitplekverwysing aan wat bespreek is, die kontaktelefoon-nommer vir die bespreking en 'n 'Ja' of 'Nee' wat aandui of die bespreking ten volle betaal is of nie. Reëls in die lêer wat slegs drie velde het, dui 'n individu ele bespreking aan. Reëls wat twee ekstra velde het (vyf velde in totaal), verteenwoordig groepbesprekings. Die bykomende velde verteenwoordig onderskeidelik die naam van die groep en die grootte van die groep. Indien 'n groep van 6 mense 'n bespreking gedoen het, sal dit as 6 afsonderlike reëls in die tekslêer voorgestel word. Elke reël van die groepbespreking sal identies wees, behalwe vir die sitplekverwysings wat sal verskil. In die voorbeelddata hierbo het Kolby Girls High School 12 sitplekke bespreek. Die sitplekke is B1 tot B12. Elke reël dui 'n ander sitplekverwysing aan, terwyl die res van die velde dieselfde is. Hierdie 12 inskrywings behoort aan 'n enkele groep omdat die groep-naam (die 4de veld) dieselfde is (Kolby Girls High School) vir elke reël. Die groepgrootte van 12 dui aan dat daar twaalf sitplekke vir hierdie groep bespreek is. Die koste van enige bespreking word gebaseer op die sitplek wat bespreek word. Boonop kry groepbesprekings 'n verdere afslag. Die volle prys van 'n kaartjie is R200, maar sitplekke in rye verder van voor af word met afslag geassosieer. Verder kry groepe wat bespreek, R20 afslag vir elke vier lede van die groep. Dit beteken dat 'n groep van agt 'n verdere R40 afslag op hul kaartjies kry, terwyl 'n groep van 15 'n afslag van R60 op elkeen van hul kaartjies sal kry. Die ry-afslag word voor die groepafslag toegepas in die geval van groepbesprekings. VRAAG 2 Gebruik die klasdiagram hieronder om 'n nuwe klas genaamd Bespreking te skep. Hierdie klas sal gebruik word om objekte te skep wat die besonderhede van 'n individuele bespreking sal stoor. Die diagram hieronder dui die eienskappe en metodes aan wat benodig word. Bespreking Eienskappe: - String sitplek - String kontak - boolean betaal Metodes: + Constructor(String sp, String kt, boolean bt) + kryKoste() : double + krySitplek() : String + isBetaal () : boolean + naString() : String

2.1 Skryf kode om 'n nuwe klas genaamd Bespreking te skep. (1) 2.2 Skryf kode om die drie eienskappe vir die Bespreking-klas te skep soos in die

klasdiagram hierbo aangedui. (3) 2.3 Skryf kode om 'n konstruktormetode te skep wat al drie eienskappe van die

Bespreking-klas sal inisialiseer. (2)

Page 60: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 9 van 12

IEB Copyright © 2013

2.4 Skryf kode om 'n metode genaamd kryK oste te skep. Hierdie metode moet die koste van die sitplek op grond van die ry van die sitplek terugstuur. Die volle prys van 'n kaartjie is R200 en afslag word soos volg toegepas:

Ry A – D : Volle prys Ry E – H : 20% afslag Ry I – L : 40% afslag As mense byvoorbeeld in ry K sit, moet hulle 40% afslag op hul R200-kaartjie

ontvang, wat die koste van die kaartjie R200 – R80 = R120 maak. (5) 2.5 Skryf kode om toegangermetodes vir die betaal- en sitplekeienskap te skep. (2) 2.6 Skryf kode om 'n naString-metode te skep wat 'n string bestaande uit die sitplek-

verwysing en die koste (afgerond tot twee desimale plekke) sal terugstuur. As die bespreking boonop betaal is, moet die letters 'Bt' aan die einde van die terug-gestuurde string bygevoeg word. Die string moet soos volg geformateer word:

sitplekverwysing <tab> R koste <tab> betalingstatus byvoorbeeld: A1 R200.00 Bt (4) [17] VRAAG 3 Gebruik die klasdiagram hieronder om 'n nuwe klas genaamd GroepBespreking te skep. Hierdie klas is 'n subklas van die Bespreking-klas en sal gebruik word om objekte te skep wat die besonderhede van 'n groepbespreking sal stoor. Die diagram hieronder dui die eienskappe en metodes aan wat benodig word. GroepBespreking Eienskappe: - String groepNaam - Integer groepGrootte Metodes: + Constructor(String sp, String kt, boolean bt, String gn, Integer gg) + kryKoste() : double + kryGroepNaam() : String + naString() : String

3.1 Skryf kode om 'n nuwe klas genaamd GroepBespreking te skep wat die

Bespreking-klas uitbrei. (2) 3.2 Skryf kode om twee eienskappe te skep wat die groepnaam en groepgrootte sal

stoor wat met 'n groepbespreking geassosieer word. Kies toepaslike datatipes vir hierdie eienskappe. Hierdie waardes moenie van buite die klas sigbaar wees nie. (3)

3.3 Skryf kode om 'n konstruktormetode te skep wat beide hierdie bykomende

eienskappe sowel as die eienskappe van die ouerklas sal inisialiseer. (3)

Page 61: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 10 van 12

IEB Copyright © 2013

3.4 Skryf kode om die ouerklas se kry Koste-metode te oorskryf. Die resultaat van hierdie metode moet die koste van 'n standaardbespreking (volgens die ouermetode) wees met die groepafslag daarna toegepas, byvoorbeeld die Melville Boy Scouts wat 13 sitplekke in ry G as groepbespreking bespreek het. Sitplekke in ry G beteken hulle kwalifiseer vir 'n 20%-afslag wat die koste van elke kaartjie op R160 te staan bring. Hulle ontvang 'n verdere R60 afslag op elke kaartjie omdat hul groepgrootte 3 volledige stelle van vier het, wat die finale koste van elkeen van hul kaartjies op R100 te staan bring. ('n Groep ontvang R20 afslag vir elke stel van vier mense.) (4)

3.5 Skryf kode om 'n toegangermetode genaamd kryGroepNaam te skep wat die naam van die groep as 'n string terugstuur. (1)

3.6 Skryf kode om die ouerklas se naString metode te oorskryf. Benewens die

besonderhede wat van die oorgeërfde metode teruggestuur word, moet jy die groepnaam aan die einde van die teruggestuurde string byvoeg in die volgende formaat:

sitplekverwysing <tab> R koste <tab> betalingstatus byvoorbeeld: B1 R140.00 Bt Kolby Girls High School (3) [16]

VRAAG 4 4.1 Skryf kode om 'n nuwe klas genaamd BesprekingBestuurder te skep. (1) 4.2 Skryf kode om twee instansieveranderlikes in die klas van 'n EENDIMENSIONELE

skikking te verklaar wat gebruik kan word om tot 180 Bespreking- of GroepBespreking-objekte te stoor. Verklaar ook 'n heelgetalteller om op die spoor te bly van hoeveel Besprekings in die skikking gestoor word. Hierdie twee instansieveranderlikes moenie van buite die klas toeganklik wees nie. (4)

4.3 Skryf kode om 'n konstruktormetode te skep wat die inhoud van die lêer

besprekings.txt sal lees. Elke reël in die lêer bevat inligting oor 'n enkele Bespreking- of GroepBespreking-objek. Lees elke reël uit die lêer en instansieer die toepaslike tipe objek (Bespreking of GroepBespreking). Voeg dit in die skikking by. Let daarop dat in die geval van GroepBespreking jy 'n objek in die skikking moet skep vir elke lid van die groep. Dit beteken vir 'n groepbespreking van ses sal jy ses afsonderlike GroepBespreking-objekte in die skikking hê. (8)

4.4 Skryf kode wat 'n metode genaamd lysAlleBesprekings sal skep. Hierdie metode

moet 'n string terugstuur wat die inligting van alle besprekings vir die opvoering bevat. Elke bespreking moet in sy eie reël verskyn. Gebruik die objek se naString-metodes wat jy in die vraag hierbo geskep het. (5)

Page 62: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 11 van 12

IEB Copyright © 2013

4.5 Skryf kode om 'n metode genaamd lysGroepBesprekings te skep. Hierdie metode moet 'n string terugstuur met die naam van elke groep in 'n nuwe reël. Elke groep-naam moet slegs een keer gelys word. Met ander woorde, as daar ses GroepBespreking-objekte is, moet jy die groepnaam van die groep slegs een keer lys. Die korrekte afvoer is soos volg: (7)

Groepbespreking s -------------- Kolby Girls High School

Knysna Retirement Home

Witbank Hockey Club

Mellville Boy Scouts

Cape Town Drama Society

Durban Gentleman's Club

4.6 Skryf kode om 'n metode genaamd uitstaandeBetalings te skep om die totale

bedrag verskuldig te bereken. Hierdie metode moet 'n reële getal terugstuur wat die bedrag geld wat nog uitstaande is, verteenwoordig. Slegs objekte waarvan die betaal-kenmerk onwaar is se kaartjiekoste sal by hierdie totaal bygevoeg word. Die korrekte afvoer is soos volg: (5)

Uitsta ande Betalings -------------------- Uitsta ande Betalings : R 8760.0

[30]

VRAAG 5 5.1 Skryf kode om 'n eenvoudige gebruikerskoppelvlak genaamd TeaterBestuurder te

skep wat 'n BesprekingBestuurder-objek op die toepaslike plek in die kode sal verklaar en instansieer. (2)

5.2 Skryf kode wat die volgende sal vertoon deur die toepaslike metodes in die

BesprekingBestuurder-klas te roep. Jy moet die metodes in die volgende volgorde roep:

Alle Besprekings Groepbesprekings Uitstaande Betalings (3)

[5]

Page 63: NATIONAL SENIOR CERTIFICATE EXAMINATION INFORMATION ... · Processor Intel 3rd Gen Core i5, 3 i5-3317U / 1.7 GHz, 3 MB cache, Dual-Core) [2.6 GHz Turbo boost] ... difference between

NASIONALE SENIORSERTIFIKAAT: INLIGTINGSTEGNOLOGIE: VRAESTEL II Bladsy 12 van 12

IEB Copyright © 2013

VRAAG 6 6.1 Die teater wil graag 'n lys van oop sitplekke vertoon op grond van die besprekings

wat hulle ontvang het en wat in die skikking gestoor word. Die volgende diagram toon die uitleg van die teater.

Verhoog

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15

A

B

C

D

E

F

G

H

I

J

K

L

'n Oop sitplek is een wat nie as 'n sitplek in die lys besprekings genoem word nie. Met ander woorde, as die sitplekverwysing A4 nie in enigeen van die besprekings aanwesig is nie, word dit as 'n oop sitplek beskou.

Skryf kode om die toepaslike metodes te skep in enigeen van die klasse wat jou sal help om dit reg te kry. Jou metode moet 'n enkele string terugstuur wat die oop sitplekke in die teater verteenwoordig. Die korrekte afvoer word hieronder verskaf. (11)

Oop Sitplekk e ----------- A4 B13 B14 B15 C1 C9 C12 C13 C15 D1 E2 E4 E15 F13 G1 G2 H4 H15 I2 I8 I14 I15 J15 L1 L2 L3 L5 L10 L11 L12 L13 L14 L15

6.2 Voeg 'n roepstelling in die TeaterBestuurder-koppelvlak by wat 'n lys van oop

sitplekke sal vertoon. (1) [12]

80 punte

Totaal: 120 punte