CXC 1993 - 2012
CXC 1993 - 2012
1994
Question 1
Question 1
(a) Using appropriate examples, explain the difference
between discrete and continuous data. Describe TWO functions of EACH of the following components of a
computer:
(b) Define the terms “hard copy” and “soft copy”. i. Control unit
ii. Arithmetic/Logic Unit
Question 2 iii. Main memory
(a) List FOUR of an operating system. Question 2
(b)
i. Give ONE benefit to the user of State ONE advantage and ONE disadvantage of the first item over
custom-written software. the second item in EACH of the following pairs:
ii. Give ONE benefit to the user of a) (i) Character printer (ii) Line printer
general-purpose software.
b) (i) Microfilm output (ii) Printed output
(c) What do the abbreviations ‘OMR’ and ‘MICR’ stand for? c) (i) Magnetic tape (ii) Magnetic hard disk
Describe a situation in which EACH is used. d) (i) Optical disk (ii) Magnetic hard disk
Question 3 Question 3
(a) Describe, using an appropriate labeled diagram, how a a) Explain briefly EACH of the following terms:
computer can be used to maintain the temperature of a i. Bistable device
liquid between 85˚C and 95˚C. ii. Operating system
iii. Gigabyte
Question 4
iv. Bar code
(a) Identify any two industries and, for EACH, state how the b)
use of the computer has resulted in either a change of i. What is an ‘expert system’
procedures for TWO jobs or made the jobs obsolete. ii. Name ONE area in which expert system are used.
(b) Name FOUR jobs which have been created by the iii. Give ONE advantage and ONE disadvantage of
computer industry. using an expert system in the area named in (ii)
above.
Question 5
1
Question 7 Question 2
a) In a certain character coding system, each
character occupies seven (7) bits and Draw a labeled diagram showing the main components of a computer
the letters of the alphabet are assigned system, indicating clearly the direction in which data flow.
consecutive codes. If ‘M’ is represented by
Question 3
10100012, what is the representation of ‘H’?
b) What is the value of X in the following a) Convert the decimal number 5510 to its binary equivalent.
equations? b) Convert the binary number 10110102 to its decimal
equivalent.
Question 8 c) Add the binary numbers 110102 and 100112.
a) What is the purpose of formatting or initializing a d) The ASCII code for the letter H has a decimal equivalent of
diskette? 7210. What is the ASCII code for the letter P?
b) What is the major interfacing device for
Question 4
i. a command language interface?
ii. a graphical user interface? When a program makes a read request to the hard disk, the device
c) Explain briefly ONE distinguishing feature of which reads data from the disk is moved along a radius to the
EACH interface mentioned in part particular concentric circle on which the data is stored. When the
(ii). relevant part of the concentric circle of the disk arrives under the
device which reads the data, the data is read and stored in a special
Question 9 area of memory from which it could be accessed.
a) Write an algorithm to interchange the value in State the proper technical terms for EACH of the FOUR underlined
phrase in the passage above.
two (2) variables A & B.
b) Write an algorithm to read the names and ages of Question 5
ten (10) people and print the name of the oldest
person. Assume that are no persons of the same a) Identify FOUR measures to secure data.
age. Data is supplied in the following form: b) State TWO advantages and TWO disadvantages of normal
name, age, name, age ect. mail over electronic mail.
Question 10 Question 6
a) Write an algorithm to read an integer value for a) List FOUR ways in which medical personnel may use
SCORE and print the appropriate grade based on information technology in their jobs.
the following: b) State TWO job functions of EACH of the following
computer personnel:
SCORE GRADE i. Network manager
80 or more A ii. Database administrator
less than 80 but 65 or more B
less than 65 but 50 or more C Question 7
less than 50 F
a) John receives computer hardware from a friend who lives
b) What is printed by the following algorithm when in the United States of America, but the software is
n = 5? missing. He, therefore, decided to purchase the necessary
if ( n=1 ) or ( n=2 ) then software. In order for his system to run he realized that he
h=1 would have to purchase software to manage the resources
else of the computer as well as software which could provide
f=1 for his particular needs. For both types of software he had a
g=1 choice of two styles of interface; one which was command
for j = 1 to n – 2 do driven or the other which provides screen lights with
h=f+g options from which the user could select appropriate
f=g functions. Some software provides user interfaces which
g=h display small graphic images that can be selected when the
print h function they represented is required. Since John intended
end for to use the computer in his family business, he had a choice
end if of acquiring software written especially for his business or
print f, g general purpose software , that he would have to do some
stop modification to allow his specific need.
2
Question 9
Question 5
a) Defining the following:
i. Source code a) The increase in the level of computerization in offices,
ii. Object code together with the decrease in the cost and the availability of
iii. Compiler data communication services have created new ways of
b) Draw a labeled diagram to illustrate the relationship conducting business. Some employees now have an
between source code, object code and compiler. opportunity to perform their work from home by a process
c) Write a pseudocode algorithm to read in THREE numbers known as ‘telecommuting’.
and print the highest and lowest number.
i. State TWO items of hardware that an employee
Question 10 must have if he/she is telecommuting.
ii. State ONE advantage to the employee of
The following data represents some sample score obtained by telecommuting.
students in a test:
iii. State ONE disadvantage to the employee to
5, 4, 7, 10, 0, 6, 0, 1, 0, 9, 8,
999 telecommuting.
999 is the dummy value which terminates the data. Write pseudocode b) The owner of a large department store in the city center is
algorithm to read any data in the above format, and print the number planning to offer telemarketing services to the general
of students scoring 0 and the number scoring 10. public. Currently, his retailing business customers are
encouraged to browse in the store. They are normally
offered assistance by the sales clerk. If a customer is
1996 satisfied with a particular item, he/she takes the item to the
cashier where the customer must pay in cash. After the
Question 1 transaction is complete, the customer must take away the
item(s) purchased.
State ONE difference between EACH of the following:
a) Command-line interface and graphical user interface i. State TWO additional services that the owner
b) Impact printers and non-impact printers should offer so that he could introduce
c) Character printers and line printers telemarketing.
d) General purpose software package and specialized software ii. State ONE change that the owner must make in
package the operation of his business so that he could
e) Simplex and duplex transmission introduce telemarketing.
iii. State ONE reason why a customer might still
Question 2 choose to visit the store to make a purchase even
though the customer might have totravel a long
a) Convert the decimal number 5710 to a binary number. distance to get to the store.
b) Convert the binary number 110111012 to a decimal
number Question 6
c) Explain the term ‘parity’, as it relates to the coding of
characters. a) State THREE functions that are likely to be computerized
d) Add the binary numbers 1101012 and 1011102. when the Board of Directors of a private hospital installs
computers at the hospital.
Question 3 b) A local bank with several branches has decided to
computerize its operations.
Name the hardware component that performs EACH of the following i. State TWO new job positions that would be
functions: created in the bank.
ii. State ONE additional service that the bank would
a) Stores programs and data that are currently being used by
now be able to provide.
the CPU.
b) Performs the logical operation within the CPU.
Question 7
c) Stores programs and data that are not currently being used
by the CPU. a) The Computer Science teacher in a secondary school is
d) Modulates and demodulates signals attempting to convince the Chemistry teacher to use
e) Reads the disks Computer Aided Learning (CAL) software in the teaching
f) Directs internal operations within the CPU of Chemistry.
g) Allows users to move the cursor i. State TWO benefits that the Computer Science
teacher could cite to convince the Chemistry
Question 4 teacher.
ii. State TWO obstacles that would prevent the
The Statistic Department holds confidential information on the
citizen of a country. Since its databases are online and are connected Chemistry teacher from using the computer I
to the telephone company via a modem, any person with a computer teacher.
and a modem can potentially access from the databases. Outdated
data are usually stored at other locations. Question 8
a) State ONE method which can be used to prevent an a) Copy the following trace table table in your Solution
unauthorized user from accessing data stored in the booklet.
databases.
b) State TWO methods which can be used to prevent an X M Y Z
unauthorized user from accessing data from files to which 4 1
2 8
they do not have access.
4
c) State ONE potential danger that may exist when legitimate 4
users within the Statistic Department import data into the
department’s computer.
d) State TWO strategies to protect the archived data from
physical damage.
3
Complete the following trace table for the following Question 5
algorithm, given that the number 4 is the input value
a) Describe briefly an application which a robot (or robotic
Read X arm) is used in industry. Stating clearly ONE function that
For M = 1 to X do the robot performs.
Y=X–M b) State TWO advantages of using the robot (or robotic arm)
Z = 5* Y – M over using a manual method in the application described in
End part a) above.
Print Z c) State ONE advantage to the customer of telemarketing.
d) State ONE disadvantage to a customer of telemarketing.
b) What is printed by the algorithm? e) State ONE advantage and ONE disadvantage of
teleconferencing.
Question 9
Question 6
a) Writing an algorithm which prompts the user to enter
the price of an item and which calculates and prints a) State ONE reason why copying a program is considered to
the new price after a discount of 12%. be morally wrong.
b) Within the large company, data on each employee is stored
b) Write an algorithm to read in TWO numbers into A in a central location. One file stores the data on all
and B, The algorithm should store the smaller in A employees. The data stored on an employee includes his or
and the larger in B, and then print A and B. her name, address, next of kin, salary range, etc. This data
is shared by several departments and an employee’s record
Question 10 can be viewed and modified by many employees from
several departments.
Write an algorithm to read ELEVEN numbers, find their average and
print it. The algorithm should also print the number of times the State TWO problems which would arise from the sharing
number 6 occurs in the data. For example, given the input data: of the data in the company.
8 4 6 9 6 5
6 10 7 0 16 c) What is ‘data encryption’?
d) State TWO methods, other than data encryption, used to
The algorithm should print 7 as the average and 3 as the number of secure data.
times 6 occurs. e) Explain the difference between the role of an applications
programmer and that of a systems programmer in an
organization.
1997
Question 7
Question 1 a) What is meant by the term ‘protocol’?
b) Explain the difference between the following terms:
a) Name a type of device which produces a human readable
copy. i. upload and download
b) Name a type of device which produces a machine readable ii. half-duplex and duplex
copy. iii. local area network and wide area network
c) Name a type of device that accepts data in human readable iv. electronic email and bulletin board
form.
Question 8
Question 2
What is printed by the following algorithm?
The wide variety of input devices and media is a major factor which
adds to the flexibility and versatility of computer systems. The use of COUNT = 1
a (i) device which allows users to move around images on the X=2
monitor by the shifting of a lever on the device has made computer WHILE COUNT < 25 DO
games very popular. In supermarkets, there are (ii) devices which X=X+2
allow a cashier to key in data on sales and this data is automatically PRINT COUNT, X
transmitted to a computer for processing. There are also (iii) devices COUNT = COUNT + 5
that are capable of reading pencil marks on an examination script ENDWHILE
thereby allowing the test to be scored automatically. The use of (iv)
devices to read in images allows pictures and logos to be Question 9
incorporated in a document.
a) Explain the difference between a high level programming
State the technical names for EACH of the devices numbered (i) – language and a machine level language.
(iv) in the passage above. Please use the numbering indicated in the b) Explain the difference between an interpreter and a
passage to identify your solutions. compiler.
c) Write a pseudocode algorithm to read two numbers and
Question 3 print the lower value.
a) Convert the decimal number 8310 to its binary equivalent. Question 10
b) Convert the binary number 110011012 to its decimal
equivalent. The following data represents some sample data of the number of
c) Add the two binary numbers 11012 and 1001012. children in several families:
d) Explain the difference between discrete and continuous
data. 1 3 5 0 4 6 7 3 5 2 4 0 2 999
Question 4 999 is the dummy value which terminates the data. Write the
pseudocode algorithm to read in any data in the above format, and
a) State THREE ways in which a teacher would use a print:
computer in his or her job.
b) State TWO ways in which a journalist would use a a) the number of families with no children; and
computer in his or her job. b) the largest number of children existing in any family
c) A large company has decided to computerize the functions
of its Human Resource responsibility for completing the
task.
4
Question 8
1998
a) i. Write a structured algorithm to read in TWO
Question 1 numbers and print the higher value.
ii. Write a structured algorithm to interchange the
a) Define the term ‘protocol’ as it relates to data values in TWO variables A and B.
communication.
b) Digital transmission can occur in three ways: Question 9
i. Data can be transmitted in one direction a) Copy and complete the trace table below for the following
only algorithm.
ii. Data can be transmitted in both directions
but only in one direction at a time. X=5
iii. Data can be transmitted in both directions K = 10
simultaneously. SUM = 45
c) i. Name a type of network that would be WHILE SUM < 75 DO
suitable for linking all the computers in a SUM = SUM + K
building. PRINT K
ii. State ONE advantage of linking the K=K+X
computers in this way. ENDWHILE
PRINT SUM
Question 2
X K SUM
When a program makes a read request to the disk drive, the 5 10
component which reads data from the disk is moved along a radius to 20 55
the particular concentric circle on which the data are stored. When 5
the relevant part of the concentric circle of the disk arrives under the
component, which reads the data, the data are read and stored in a b) What is printed by the algorithm?
special area of memory from which they could be accessed.
Question 10
State the proper technical tern for each of the four underlined phrases
in the passage above. Write a structured algorithm to read the names and scores of fifteen
students in a class. The algorithm must print the name of the students
Question 3 and his/her grade which is determined according to the grading scale
below. The algorithm must also calculate and print the average score
Match the following applications with the most appropriate input for the class.
device.
GRADING SCALE
APPLICATION INPUT DEVICE
Point-of-sale Optical Mark Reader SCORE GRADE
Games Keyboard 80 or more A
Architectural design Magnetic Ink Character Recognition 65 or more but less than 80 B
Multiple-choice examination Microphone 50 or more but less than 65 C
Publishing Pads and tablets Less the 50 F
Cheque processing Barcode reader
Language processing Joystick 1999
Preparing letters Scanner
Question 4 Question 1
a) Define the term ‘resolution’ as it applies to a graphic A computer consists of several hardware devices and software
display. components. The keyboard, mouse and printer are all peripheral
b) Give THREE examples of input devices that can read data devices connected to the systems unit. The system unit comprises of
directly from source document. a Central Processing Unit (CPU) and a component, (A) that holds the
c) Give TWO advantages of using devices that can read data data and programs that are currently being used. The CPU in turn,
directly from source documents. consists of two components. One component, (B) directs the internal
operations within the CPU; and the other component, (C) is
Question 5 responsible for the manipulation of the data. In addition, there is
another storage component, (D) which stores data and programs that
a) What is a computer virus? are not currently being used by the CPU.
b) State TWO measures that could be implemented in order to
prevent a computer virus from infecting a computer. State the component that performs EACH of the functions named A
c) Identify TWO ways in which a person could be affected by to D and underlined above.
the misuse of personal information, which has been stored
in a data bank. Question 2
d) Identify TWO ways by which personal information, stored
in a data bank, may become inaccurate. Match EACH characteristic, listed A to H below with the MOST
approximate device. Write the letter (A, B, etc) to represent the
Question 6 characteristic and next to EACH letter write the name of the device
that matches it.
a) Convert 8710 to its binary equivalent.
b) Add the two binary numbers 1101012 and 111012, giving CHARACTERISTIC DEVICE
your solution in binary form. A. Modulates and demodulates signals Plotter
c) Give the BCD representation of 5910. B. Accepts voice inputs Keyboard
d) Give the BCD representation of -5910. C. Allow users to input architectural
plans Modem
Question 7 D. Reads in graphics data Graphics tablet
E. Used for printing architectural plans Microphone
a) CD-ROMs are used extensively in the field of education. F. Used for entering text documents Barcode reader
State THREE features of educational software on CD- G. Retrieves pricing data from grocery
ROMs that make them useful for educational purposes. items Joystick
b) For EACH of the following, state TWO ways in which H. Used to move the cursor Scanner
Information Technology can assist employees in the
performance of their jobs:
i. law enforcement
ii. medicine
iii. entertainment
5
Question 3 Question 9
Question 7 Question 1
a) In order to secure its data, a company uses the following Give ONE similarity and ONE difference between EACH of the
method for encrypting text: following pairs:
6
Question 4
2001
The Insure Now Insurance Company has its head office in
Bridgetown, Barbados. The company has one computer, on which it Question 1
stores all company data. The company handles a lot of confidential
client data. Each client is assigned to a particular agent. You do not a) Fortran was the first third generation language. What are
want agents to see confidential information about other agents’ the features distinguishing the third generation from the
clients. first and second generation?
b) Give the meaning of the following:
a) How can you prevent agents from viewing one another’s
confidential files? i. Logic
b) State TWO precautionary measures which can be taken to ii. Test data
ensure that in the case of a fire, all client data is preserved. iii. Source code
iv. Variable
Question 5 c) What are the responsibilities of the Chief Programmer?
a) What is ‘teleconferencing’? Question 2
b) State TWO advantages of teleconferencing?
c) State FOUR hardware requirements for teleconferencing. Write down what EACH of the following abbreviations stand for, and
what is the purpose of EACH of the components listed?
Question 6
a) PROM
a) i. State ONE advantage of machine language over a b) CPU
high level language. c) ALU
ii. State TWO advantages of a high level language d) RAM
over machine language.
Question 3
b) State THREE advantages of computer networks.
a) Explain the difference between data and information.
Question 7 b) Explain the following terms:
a) Convert 9910 to its binary equivalent. i. Upload
b) Add the two binary numbers 1101012 and 110112, giving ii. WAN
the Solution in decimal form.
c) Explain how an integer could be represented using BCD. c) Which of the following are of serial-access type?
d) Give the BCD representation of -6510.
i. Microfilm
Question 8 ii. Microfiche
iii. Reel-to-reel tape
a) Write an algorithm which reads three values, A, B and C iv. Cartridge tape
and prints the largest of the three.
b) This part is based on the algorithm given below: Question 4
Question 7
7
c) What is ‘telecommuting’? What major development has
contributed to making telecommuting a feasible option?
Question 8 Question 3
The following terms relate to memory and data storage. Give the a) An old 30-pin memory module (SIMM) was capable of
meaning and purpose of EACH: providing one byte at a time to the CPU. A 32-bit machine
would require four of these to work together in a single
a) Backing up bank. Explain why this is so.
b) Read/Write head b) Integers are good for representing discrete data. Real
c) Address numbers and floating point values are good for representing
d) Access time continuous data. Explain these statements.
Question 9 Question 4
Consider the following: a) Explain why magnetic tape is a serial access medium.
b) Explain why a floppy disk is considered a direct access
INPUT X, Y, Z medium.
Y=X+Y c) What is ‘microfilm’?
X=X–Y
Y=X+Y Question 5
IF X > Y THEN
X=X–Y–Z a) Give TWO applications for the use of an Optical Mark
ELSE Reader (OMR).
Z=X+Y+Z b) Give TWO meanings for the abbreviations OCR.
ENDIF c) Explain why a monitor screen specified as “1024x768” is
PRINT X, Y, Z expected to give a clearer picture than one specified as
“640x480”.
What is printed by the algorithm if the input is: d) Give ONE advantage and ONE disadvantage of a touch
screen as compared to the use of a mouse.
a) 1, 1, 1? e) Give the difference between “custom software” and
b) 1, 2, 3? “customized software”.
Question 10 Question 6
A certain account at a bank earns compound interest on a yearly a) Using 8-bit binary representation, give the
basis, and has no deposits or withdrawals. The balance after a year is
given by the formula: i. binary representation for the decimal
number 10
This Year’s Balance = Last Year’s Balance * (1 + Interest Rate), ii. one’s complement representation for the
where Interest Rate is given as a decimal fraction. (For example, 25% decimal number NEGATIVE 10
must be entered as 0.25) iii. two’s complement representation for the
decimal number NEGATIVE 10
Write a structured algorithm to do the following: iv. sign and magnitude representation for the
decimal number NEGATIVE 10
a) Request the user to provide the interest rate as a decimal,
the number of years to compute interest for and the starting b) Using even parity with an 8-bit data byte, where the
balance. leftmost bit is to be used as the parity bit, which of the
b) Read in the interest rate R, and the value N which is the following are valid bit patterns?
number of years to compute interest for.
c) Read in the starting balance. i. 00000000
d) Compute and display the balance, including the interest, ii. 00000011
after N years have passed. iii. 00000010
iv. 10000001
2002
Question 7
Question 1
a) Mr. J’s basic computer system has a monitor,
a) Name the TWO main components of the Central keyboard, system unit, mouse and modem. Give
Processing Unit. TWO additional device that would enhance EACH of
b) For the two components named in part (a), discuss their the following:
MAIN functions.
c) Give ONE difference between PROM and EPROM. i. Game-playing
d) What is ‘half-duplex transmission’? ii. Presenting a report
iii. Teleconferencing
Question 2
b) Explain the difference in operation between a line
a) You have saved a file on diskette. You later find that printer and a character printer.
although you see the file listed, you cannot open the file
from the diskette. Give ONE possible cause for this Question 8
problem.
b) One of the things done in high level format is the creation a) Give TWO reasons why someone might join a newsgroup.
of a File Allocation Table. What is the purpose of the File b) Explain the major difference between internet relay chat
Allocation Table? and electronic mail.
c) Explain how a fixed-head system on a hard disk until can c) Give the meanings of the following abbreviations, and for
reduce the access time for the device. EACH case, explain the purpose:
d) With reference to hard disk arrangement, give the
difference between a track and a cylinder. i. HTML
e) A hard disk system has six disk surfaces, with one moving ii. FTP
head for each surface. A certain track has ten sections iii. CADD
forming a ring, each sector carrying ½ K-byte. How many
i. bytes are there in each ½ K-byte sector?
ii. K-bytes are there in the entire cylinder?
8
Question 9
Question 4
a) A large company offers free transportation or a transport
allowance to its employees. For this purpose it has
a) With regard a data storage, what is the difference between a
prepared a list of the names and addresses of employees. In
byte and a word?
those areas with many persons needing a transport, the
company provides transportation.
b) A foreign university keeps records of past students’ b) Explain the difference between odd parity and even parity.
performances on a computer database. The entire building
is destroyed by fire, along with the records. Give TWO c) With respect to information being read from a hard disk,
methods that might have been used to allow the record- what is the purpose of a buffer?
keeping to continue.
d) Suggest ONE use for which a DVD is more suitable than a
Question 10 CD.
a) Explain the term ‘electronic eavesdropping’. e) The information contained in ROM (Read Only Memory)
b) In the case of an encrypted file, what is the purpose of cannot be changed. What is the purpose of the ROM?
a password?
c) Give TWO typical responsibilities of a network Question 5
manager.
a) Explain briefly what is meant by ‘the resolution of a visual
2003 display unit’.
Question 1 b) What
a) List TWO advantages of secondary storage for long term i) point-to-point transmission
storage of data, as compared to using the computer’s main
memory. ii) a bulletin board
b) i. Identify TWO input devices that are regularly iii) a voice response unit
used at Point-Of-Sale Terminals, and briefly
describe how they function.
Question 6
ii. List TWO locations at which Point-Of-Sale
terminals are helpful.
The eight-bit representation of the decimal number 25 is 0011001.
c) Explain the difference between ‘data’ and ‘information’.
a) What is the two’s complement representation of
d) State ONE similarity in the operation of Optical Mark
NEGATIVE 25?
Readers and bar codes.
LIST OF TERMS (Some or all may be used): arithmetic logic unit, Question 8
backing store, control unit, cylinders, heads, internal memory,
program, sectors, tracks. a) How can an “expert system” be of value to a doctor?
a) In order to execute (A) _______ which is stored on the b) List TWO obstacles to be overcome before natural-
computer, the computer must read the instructions from its language programming could become a part of everyday
(B) _______ into its (C) _______. The (D) _______ then life.
picks each instruction in turn, passing any mathematical or
logic operations over to the (E) _______ until the entire c) “Robots replace humans”. Give TWO advantages and
sequence is completed. TWO disadvantages of using robots.
b) The data stored on a high density 3 ½ inch diskette is d) Suggest TWO ways in which a high school student could
arranged in 80 circular (F) _______ forming rings on the benefit from using a newsgroup.
surface of the disk. Each ring is divided into 18
(G) _______ having ½ K-byte each. A hard disk has Question 9
multiple surfaces. The corresponding rings on those
surfaces are directly above and below each other. On a Explain what is
hard disk, these rings, one above the other, are said to form
(H) _______.
a) Internet Relay Chat
b) a synthesizer
c) videotext
d) a web browser
e) archiving
9
Question 10
a) What is the difference between a web page and a web site? Question 16
b) List THREE responsibilities of a systems analyst. Write a program in BASIC, PASCAL or another specified language
(NOT pseudocode), to do the following:
c) i. Briefly explain the difference between
data integrity and data security. i. Announce (with a printed statement) that it will find the
volumes of sets of boxes.
ii. Outline ONE method of ensuring the
integrity of the data. ii. Ask how many boxes there are.
Question 11 iii. For EACH box, ask for the length, width, and height.
Write one algorithm using pseudocode to do the following sequence iv. Compute the volume of EACH box.
of tasks:
If the values of length, width and height are all greater than
z) Prompt the user to enter two numbers. zero, then print the volume.
c) Find the sum of the two numbers. a) Name the hardware component of a computer that performs
EACH of the following functions:
d) Check whether the product is bigger than the sum.
i. Directs internal operations within the CPU
If the product is bigger, it must print a message to say so, and if the
product is not bigger it must print a message saying that the product ii. Stores programs and data that are currently
is not bigger. being used by the CPU
Question 13 Question 2
Consider the following routine: a) Choose ONE appropriate method of data entry for EACH
of the following situations or applications:
INPUT X, Y
Z=X*X+Y*Y i. Production of CD-ROM based text from existing
PRINT “The sum of square is”, Z books
For EACH of the first two lines of code, write a comment to indicate ii. Marking multiple choice examination scripts
what the code does.
iii. Entering sound into the computer
Question 14
b) Briefly describe how the following types of printers
a) How is object code obtained from source code? generate hardcopy output:
Question 5
10
to give a landing cost. Then, if the car is 5 years or less a
transportation of 15% of the original cost of the car is charged. If the
car is older than 5 years, the transportation tax is 20%. The final cost
of importing the car is calculated by adding the transportation tax to
the landing cost.
Question 6
c) You boot-up your computer but nothing is displayed on the - According to the character input, printout the
monitor. List TWO things you would do to troubleshoot sum, or difference of the two numbers.
the problem.
b) Modify the algorithm so that it keeps repeating until zero is
Question 7 entered for both numbers and a space for the character. Do
not re-write the code.
a) A small company is interested in setting up an Internet café
to allow users to make cheap, ‘voice-to-voice’, overseas, Question 13
telephone calls over the Internet. Apart from computers
and Internet access: a) What levels of programming languages are represented
below:
i. What peripheral device must be attached to
EACH computer? i. R1: 110011
ii. What component must be present in the system ii. R2: SELECT NAME FROM LIST
unit of EACH computer?
iii. R3: MUL 6, 2
iii. What financial transaction MUST the Internet
café make before calls can be provided b) Give ONE advantage of using each of the following:
to its customers?
i. an interpreter
b) i. What is a search engine?
ii. a compiler
ii. Why is a search engine useful when surfing the
net? Question 14
11
(c) Floppy disk and Hard disk (b) Explain the difference between ‘Electronic mail’ and
‘Internet relay chat’.
Question 3
Question 8
In your answer booklet write the letters A to E to represent EACH
application in the table below and beside EACH letter write the The Police Department has introduced a computer system in every
Roman Numeral to match the applications with the MOST police station around the country.
APPROPRIATE input device.
(a) List TWO uses of the computer in the police station.
(b) State TWO devices that may be used with the computer.
Application
(c) List TWO Information Technology skills the operator of
A Cheque processing the computer should have.
Question 10
Input Device
A computer technician visits a company stating that he was sent to
“fix some computers”. He is not known to the company.
(i) Barcode reader
(a) What do you understand by computer fraud?
(ii) Joystick
(b) Explain with reasons, TWO actions that you would carry
(iii) Graphic tablets out to verify that this technician is on official business.
(v) Magnetic ink character (a) Describe ONE job function of EACH of the following:
recognition
(i) File Librarian
Question 4
(ii) Electronic Data Processing Auditor
(a) Name ONE direct access secondary storage device and
ONE serial access secondary storage device. (iii) Computer Consultant
(b) With reference to a diskette, state the relationship between (iv) Data Communication specialist
a track and a sector?
(b) (i) What is ‘teleconferencing’?
(c) State the optical storage medium that is BEST suited for the
storage of a movie. (ii) a) State THREE advantages of
Question 5 teleconferencing.
(a) Convert the decimal number 25 to binary, using an eight-bit b) State TWO hardware requirements for
representation.
teleconferencing.
(b) The binary number 1100101101 uses 10 bits to store sign
and magnitude. What is the decimal number equivalent?
Question 12
(c) State the Binary Coded Decimal (BCD) representation for
Write an algorithm using pseudocode to do the following sequence of
the decimal number 358.
tasks:
(d) State the eight-bit twos complement representation of the
(a) Read in two values
decimal number 63.
(b) Multiply both values by the number 10 and add the results
Question 6
(c) Square both values and add the squares
(a) Name the software package that would have mail merge.
(d) Check if the answer to (b) is greater than the answer to (c)
(b) Explain why mail merge is important in this software
package.
(e) If the question c answer is greater, print a statement
indicating that “The squares have won.” If the question b
Question 7
answer is greater, print a statement indicating that “The
Products have produced a win.”
(a) State the relationship that exists among ‘web site’, ‘web
page’ and ‘web browser’.
Question 13
12
Use a structured language to code an algorithm that will find the sum (ii) secondary storage
and average of a collection of integers.
(c) Explain which of the above would store the most data.
(a) Allow the user to enter the quantity of values being used
(d) Explain how you would know if the monitor has
(b) Allow the user to input the values high resolution.
Question 14 Question 3
(a) Give ONE example of a high level language and explain Copy EACH of the following and state whether it can be described
how it is different from an assembly level language. as (A) soft copy, (B) hard copy, (C) both hard and soft copy, or (D)
neither hard nor soft copy:
(b) The following is a small program segment. For EACH
line, write a short comment explaining what the statement (a) Sound
does.
(b) Microfilm
For i = 1 to count
(c) Visual display unit
Print “Item No.”, I;
(d) Non-impact printer
Next i
Question 4
(c) The following code uses the operator ‘%’ to find the
remainder after one number has been divided by another Perform calculations to determine which of the following examples
(e.g. 5 % 4 = 1 and 12 % 5 = 2). Use a trace table to show represents binary coded decimal, 8-bit sign and magnitude or even
the output of the program. parity. Make sure to state your answer in each example.
Else Question 5
Print B Your teacher has given you notes on Windows NT, Windows 2000,
UNIX and Linux.
Question 15
(a) State the type of system software illustrated in the above
Develop a pseudocode and then translate the pseudocode to a examples.
structured language for the following sequence of steps.
(b) Explain why this software is necessary for a computer
(a) Prompt the user for a value. Announce that this value is a system.
bid being placed on a valuable artifact – a 1751 antique
watch. (c) For EACH of the following types of application software,
state whether it can be descried as general purpose, custom-
(b) Accept the value written, integrated or specialized.
(c) Compare the value received from the user with the (i) A program that includes all the major types of
minimum price of the item – a value that you have as a part applications and brings them together into a
of your program (antique watch – 7,000). single software package
(d) Indicate to the user if his bid has been successful (if the bid (ii) Software written solely for a specific task, and its
is higher than the minimum it is a successful bid). If the users are trained in a particular field
bid is not successful indicate that also.
(iii) Software which can be modified by writing or
adding programming modules to perform specific
tasks
(b) Give TWO examples of a peripheral device in a computer (a) Name the TWO types of user interface which are
system. represented in the figures below:
Question 2
You are told that you new computer system will consist of 256
megabytes of RAM, a high-resolution 19-inch monitor, a 100-
gigabyte hard disk drive and an optical mouse.
(a) Explain the difference between primary and secondary (b) Discuss which user interface would be better for someone
storage. who is not familiar with a computer.
(b) Identify which of the above computer components are (c) State the name of another user interface not mentioned in
suited for: (b).
13
A new business uses two pieces of equipment shown below. Name
them and explain how they would help clients or customers.
Question 8
Question 14
(a) Explain what you understand by the statement ‘Information
is a commodity’. Consider the following segment of code:
(a) Explain Electronic Eavesdropping and Unauthorized Write an algorithm to perform the following sequence of tasks:
Surveillance.
(i) Read a number NUM, and a letter LET
(b) Discuss which charge was kept and why.
(ii) Add 5 to the number NUM and place the result in ANS
Question 12
(iii) If LET is equal to ‘A’, then subtract 4 from the number
Three of the jobs in Information Technology are data entry clerks, NUM and place the result in ANS
data communications specialists and database administrators.
(iv) Print the results of NUM and LET
(a) Explain what each of these jobs involves.
Question 17
(b) Show how EACH of these jobs is related.
Copy the labels EX1, EX2, EX3 and EX4 on separate lines on your
Question 13 answer book. Then, write the corresponding example, Name 1 to
Name 4, which matches the appropriate label.
Explain the difference between EACH of the following pairs of
terms: EX1: IF weather = ‘SUNNY’ Then SMILE
(a) Machine language and high level language EX2: While (ANSWER = ‘Y’) Do
(b) Second generation and fourth generation languages EX3: hours > 12
14
Name3: conditional statement
Name4: a loop
2007
Answer the following questions using the icons in the table below: (a) Indentify EACH of the above interfaces.
Question 4
Question 2
Question 5
Question 6
Counters
15
(b) Describe an IT application that would be useful in EACH (a) Electronic eavesdropping
of the following areas:
(b) Electronic surveillance
(i) Doing homework
(c) Computer fraud
(ii) Entertainment
Question 11
(iii) Communicating with friends or students
The three diagrams below represent three different generations of
programming languages.
Question 12
Question 7 (a) Read the code carefully then state whether each line of the
code represents ‘input’, ‘process’ or ‘output’.
(a) Explain the meaning of EACH of the following terms:
Line 1 Writeln (“Enter the numerator and the
(i) IRC denominator”);
(b) State ONE use of EACH of the terms indicated in (a) (i) to Line 5 MyProduct = numerator * denominator
(iii).
(b) Calculate MyQuotient and MyProduct if the numerator =
Question 8 10 and the denominator = 2.
Two agencies use teleconferencing and videoconferencing tools to (b) State the data type(s) of the variable(s).
collaborate.
(c) Calculate the result of Total.
(a) State the meaning of EACH of the tools the agencies use to
collaborate. Question 14
(b) Give ONE example of the equipment that is essential for Write the result of the following segments of code given num = 10:
EACH tool to operate effectively.
(a) num = 10
(c) State ONE advantage and ONE disadvantage of the use of
the tools. If (num > 20)
As insurance company gathers medical reports on its clients from the else write “XCX”
computer system of a certain out-patient clinic. The insurance
company increases its insurance payments according to the number (b) num = 10
of visits to the clinic. State with reasons whether this involves
count = 0
write num
num = num + 1
count = count + 1
write count
(c) num = 10
For count = 1 to 2 do
16
Write num sure what you mean. Explain the terms ‘hardcopy’ and
‘softcopy’.
Question 4
2008
The following is a directory listing using MSDOS.
Question 1
(ii) Figure B
(iii) Figure C
(iv) Figure D
Question 2
Question 3
You are the technician in an office complex. You are called because
an employee who has a colour inkjet printer has tried repeatedly to
print a document that has both text (in black) and a chart (in colour).
The chart prints in colour, but the text prints faded in some places and
appears in streaks in other parts of the document.
(a) Give TWO possible reasons why this might have happened.
(b) After this problem is fixed the employee calls again to say
that the printer does not print on multi-part form.
(i) Give the reason for the printer not printing on the
second sheet of the form.
(c) You ask the employee to provide you with a hardcopy and
a softcopy of the document she is trying to print. She is not
17
(c) Name the directory or folder whose contents are being
listed.
(e) How many files would you have in the Questions directory
if you copied both Paper1.doc and Paper2.doc files to a
new subdirectory “Section1”?
(f) How many files would you have in the Questions directory
if you moved both Paper1.doc and Paper2.doc files to a
new subdirectory “Section1”?
Question 5
(a) State the name given to the type of processing that allows
multiple tasks to be processed as a group.
Question 6
Question 7
18
(d) Write the letters P, Q and R in your answer booklet. Match Question 11
the letter with number of the correct definition from Table
4. Copy the labels EX1, EX2, and EX on separate lines in your answer
booklet.
Question 8
(a) Write the corresponding class of programming language,
I use my credit card to order a flat screen TV from PL1 to PL4, which matches the appropriate example, EX1
www.mydeals.com to EX3.
Within a day, an email arrives asking that I verify the order. EX1: MUL 12, 10
A day later, I am sent another verification email which asks EX2: 00100101
that I submit the last four digits of the credit card I used in
my order. EX3: READ name
Five days later I received the product I ordered. PL1: Fourth generation
(a) Give ONE reason why the company would ask me to verify the PL2: High level
order within the first day.
PL3: Machine level
(b) Give ONE reason why the company would send an email asking
me to re-submit the last four digits of my credit card. PL4: Assembly level
(c) Give TWO reasons why this action qualifies as an e-commerce (b) On the same line of the examples EX1, EX2 and EX3 in
activity. your answer booklet, identify the generation of
programming language used.
(d) Three departments are involved in the successful completion of
the order process. If the Dispatch Department is responsible for Question 12
product delivery, then state the departments that are responsible
for requesting credit card verification and verifying the order. For EACH of the following tasks, state whether it is described as
input, output, processing or storage:
Question 9
(a) (i) Calculating the cost of a pair of shoes after 10%
Consider the following URL:
Discount
http://www.youthalive.org/index.html
(ii) Dialing the number of the store to ask if a shoe
(a) What part of this address would be considered the website? size is in stock
(b) What part of the address would be the webpage? (iii) Reading about a shoe sale in the newspaper
(c) What does the abbreviation ‘html’ represent? (iv) Saving the money to buy the pair of shoes
(d) What is meant by ‘http’? (v) Asking the salesperson the discount on a pair of
shoes
(e) What is a ‘URL’?
(b) Place the tasks labeled (i) to (v) in Part (a) above in the
(f) Create a URL for a company called Rising Sun. CORRECT sequence.
Question 10 2010
A consultant has encouraged the administration of the bank where Question 1
you work to install a MICR system.
Figure 1 below shows the basic components of a computer system.
(a) What does the term ‘MICR’ mean? Study Figure 1 and answer the questions that follow.
19
(a) Name the component that performs EACH of the following (a) Write the numbers 1 to 5 on separate lines in your answer
functions: booklet. Using the information in Table 1, match the
number of the device with the letter for the task that the
device performs by writing the letter next to the number in
your answer booklet.
TABLE 1
Device Task
1 OMR A Reading
magnetic ink
characters
on a check
2 Sensor B Reading
codes with
(i) The calculations and logic instructions name and
price
(ii) Stores programs and data that are currently being information
(a) State the type of user interface that is represented in EACH (i) Deliberate theft OR deliberate damage to
figure. computers and files
(b) Indicate by writing the figure number of the interface that (ii) Accidental theft OR accidental damage to
computers and files
(i) uses a mouse
(c) Explain how EACH of the following should be protected
from damage or theft:
(ii) would be easier for someone who is not similar
(i) Physical files
with a computer
(ii) Computer equipment
(c) Give the name of another user interface.
(iii) Software and data
(d) State the name of the system software that provides the user
interface.
(e) You wish to change the name of a file you have on your
computer. Explain how you would do so using the Question 5
interface in
E-learning, e-commerce and e-mail are very popular ways to access
(i) Figure 1 and share information.
(ii) Figure 2 (a) State the word that the abbreviation ‘e’ represents in e-
learning, e-commerce and e-mail.
Question 3
(b) State the network of networks that is necessary to transfer
this information to users across the world.
20
(c) State ONE advantage and ONE disadvantage of using any
ONE of these methods (e-learning, e-commerce or e-mail) W10 Corbin W 2 75,0000.0
to access or share information. 0 0
(d) Write the appropriate term, e-learning, e-commerce or e- D200 Hamilton D 3 100,000.0
mail,that matches EACH of the following examples: 0
(i) Paying a fee to access the latest Top-40 tunes W20 Singh W 3 65,000.00
0
(ii) Accessing a webpage to post a question for a
R200 Mohan R 2 50,000.00
tutor
W30 Peter W 2 30,000.00
(iii) Sending a single message to four friends 0
(e) Explain the difference between ‘e-learning’ and ‘e- W40 Pauline W 1 20,000.00
commerce’. 0
2 Soda 150,000.00
Type Name
3 Beer 175,000.00
D Distributor
4 Malta 23,000.00
W Wholesaler
5 Shandy 135,000.00
R Retailer
6 Stout 75,000.00
7 Total 558,000.00
TABLE 2: CUSTOMER
Arrange the labels to show the correct order in which the (i) IF (X = 3) TRY Y := 8;
steps in problem solving occur. Write that order in your
answer booklet. (ii) WHILE (X = 3) UNTIL Y := Y + 1;
Labels Statements (b) (i) Explain the difference between a ‘variable’ and a
S2 Test and validate the solution (ii) Write an example of a constant using a Pascal
statement.
S3 Definition of the problem
(c) Write an example of a value that can be stored in EACH of
the following types of variables:
S4 Develop the algorithm
(i) Integer
S5 Propose and evaluate solutions
(ii) Real
(b) You are using a program to calculate the average number of
storms that have recently passed through the Caribbean. (iii) Character
This is calculated by adding the number of storms and then
dividing by the number of years. The screen for the (iv) String
program looks like the one below:
Question 11
STORM STATS
(a) Rewrite the following fragment of code using the given
Enter the Number of Years control structures:
(1 to 4) Mark := 1;
Writeln(Mark);
End;
You were told that the number of storms for the last three (i) a FOR loop
years were 10, 8, and 12.
(ii) a Repeat loop
(i) State the data that is required to input
(b) Complete the following by replacing the letters A, B, C and
a) the number of years D with the appropriate programming terms.
Question 10
Question 12
22
Consider the following program in Pascal, and answer the questions (a) Match EACH of the following applicants with the most
that follow: appropriate device. In your answer booklet write the
application number with the device letter next to it to
Program HUM (input, output); indicate your choice.
(a) Name the hardware component that performs EACH of the (iii) State the type of program that provides the use
following functions: interface.
being used by the Central Processing Unit (CPU) (a) An organization has bought a software package contained
several applications to be used in the various departments
(iii) Contains instructions that are used during the of the organization.
booting of the computer
(i) State the name of this type of software package.
(b) Mike bought a notebook computer with the following (ii) Give ONE advantage and ONE disadvantage of
specifications: using this type of software package.
Intel ® Atom Processor ® N270 (1.6GHz/533MhzFSB/512 cache (b) State the type of processing that is BEST suited for EACH
1 GB DDR2 SDRAM of the following tasks:
10.1” Widescreen Display (1024 x 600)
(i) Processing of monthly electricity bills
Intel Graphics Media Accelerator (GMA) 950
(ii) Processing of airline reservations
160 GB, 2.5 inch, 5400RPM SATA Hard Drive
3 USB Ports
(c) (i) Convert Octal 243 to decimal, binary and
Wireless 802.11g (1397) Mini Card hexadecimal.
24 WHr Lithium-Ion Battery (3-cell)
Using the computer specifications listed above, state the (ii) Convert -856 to Binary Coded Decimal (BCD).
specifications for EACH of the following components:
Question 4
(i) Type, capacity and speed of the hard drive
A landscape gardening company has six employees who work in the
(ii) Memory capacity main office. Each employee has a stand-alone computer system and
printer to use for his/her daily tasks. It was recommended that it
(iii) Resolution of the display would be more efficient if the six computers were networked.
Question 2
Question 5
23
A local agent leaves a catalogue and order sheet for homeowners, and
checks on the ordered to the Head Office where they are processed.
The completed order is returned to the agent who distributes the Question 7
goods and collects payment.
Answer the following questions based on the spreadsheet given
(a) Describe TWO methods homeowners may use to get their below:
orders to the agent each week. State ONE disadvantage of
EACH method.
(b) Operators at Head Office enter the orders, where they are A B C D E F
validated and verified.
1 FIRST LAST STATU YEAR RATE FEES
(i) Explain how the orders can be verified. S S
(c) The 39-minute interview was (c) State the numeric data format which has been applied to
poorly recorded and needs to Column F.
be deleted. Explain the process of deleting this interview
from Device B. (d) The data in the spreadsheet have been sorted by a primary
field and then by a secondary field. List the primary and
(d) Consider the diagram below secondary field.
which illustrates a method of
the organization. Question 8
Table 1: COMPANY
A200 BJ Petroleum CA 75
(i) State the type of file access that is illustrated in T100 ATM Telecommunication US 550
the diagram. s
(ii) Write the index and keys that used to locate Table 2: COUNTRY
Calypso.
Ccode Cname
CA Canada
RU Russia
(a) State the data type of the Sector and Employees fields of
the COMPANY table.
24
(c) The records in the COMPANY table are sorted. Indicate
the field name and the order of the sort.
(d) State the name of the field that would be used to join the
two tables.
Question 9
Question 12
The following are some rules for passing a course:
Mya’s teacher looked at her Pascal program and said that she should
- Passed both tests: Award Grade P consider using conditional branching in a section of the looping
- Pass any one test only: Award Grade R structure. She also suggested that Mya debug the rest of the program,
- Failed both tests: Award Grade F declare meaningful variables, and initialize more variables, as well as
use more internal documentation, or Mya will lose marks.
(a) Copy and complete the following table on your answer
sheet. For each of the following, explain and give one example to illustrate
what is meant by:
Passed Test 1? Passed Test 2? Result (a) conditional branching
Y Y (b) looping structure
Y N (c) debug a program
N Y (d) declaring and initializing variables
N N (e) document a program
(b) State TWO Boolean values that are used to test the rules in 2012
part (a).
Question 1
(c) Write pseudocode to represent the rule that states if BOTH
tests are passed then award Grade P. (a) Rearrange the following units of storage in order of size
with the SMALLEST at the top:
Question 10
Gigabyte
A Pascal program contains 10 integers in an array named LONG
Terabyte
Assume that the array and all variables are already initialized.
Kilobyte
Write a program fragment to print:
Megabyte
(i) the sum of the integers
(b) (i) What is the meaning of the term ‘bit’?
(ii) all integers smaller than the integer nine
(ii) How was the term ‘bit’ derived?
Question 11
(c) Explain ONE difference between a ‘word’ and a ‘byte’.
(a) Copy and complete the trace table below to find the result
of the following algorithm.
(d) Explain the term ‘bi-stable device’.
Start = 2
Question 2
Finish = 4
(a) Write the output devices listed below in your answer
booklet. Write the appropriate related task next to EACH
Result = 0 output device.
25
(ii) How was the term ‘modem’ derived?
Question 3 Question 5
(a) State THREE functions of an operating system. (a) The table below lists job titles of computer professionals
and tasks. Write the job titles of the computer
(b) Use the terms below to answer (b) (i) – (b) (iv). professionals in your answer booklet. Write the task
performed by EACH professional next to the correct job
title.
(c) Explain why it is necessary to customize certain types of (vi) Computer technician Installs utilities
software and give ONE example of customized software.
(b) The table below lists different types of technology and
Question 4 professions. Write the professions in your answer booklet.
Write the technology associated with EACH profession
next to the correct profession.
(a) Name the THREE types of cabling shown in Figure 1.
Profession Technology
Question 6
(i) LAN A network connecting (d) Name and describe THREE checks that can be used to
computers in a validate the data.
university campus
26
Question 7
Students preparing for an international music examination must pass TABLE 2: SKILL
an internal assessment (IA) component to be eligible to sit the final
examination. The IA consists of one assignment worth 20 marks, one SKILL AREA_ID UNCERTIFIED
test worth 20 marks and one practical exercise worth 20 marks. To
pass the IA, students must obtain 60% or above out of a total of 60 Mechanic D2 120
marks. The marks earned by five students for the IA are shown in the
spreadsheet below.
Mason E1 100
Mason D2 60
A B C D E F G
Carpenter E2 45
1 Name Assign Test Practical Total % of Status
(20) (20) (20) IA Total Welder D1 30
(20) IA
Mason B1 25
2 Smith 15 12 13
Mechanic B2 25
3 Allen 12 11 12
Carpenter B1 20
4 Persaud 16 12 14
(a) List TWO data types used in the SKILL table.
5 Mohamed 10 12 15
(b) Write a query to show all areas with MORE THAN 50
6 Harewoo 14 15 11 uncertified masons and indicate how many records would
d be in the output of the query.
(a) State the name of the student who will be at the top if the (c) State the number of uncertified persons in New
data in the spreadsheet are sorted in descending order by Amsterdam.
the Total IA marks.
(d) On which field is the SKILL table sorted?
(b) Write the function in cell E4 to compute the Total IA marks
obtained by Persaud. (e) A report was generated for the SKILL table and the records
were grouped by a field. State the name of ONE
(c) If a student scores 60% or above on the IA the student is appropriate field than can be used to group the records.
given a status of ‘Eligible’ while for any mark below 60%,
the student is given a status of ‘Not Eligible’. State the Question 9
function that will be inserted in cell G6 to indicate the
status of student Harewood. (a) Categorize the following pseudocode statements as input,
processing or output.
(d) A pie chart was created to show the names of the students
and the percentage scores they obtained on the IA. State S1 Accept
the data range used in the chart.
S2 Add two numbers
Question 8
S3 Calculate percentages
The TECHVOC unit of the Ministry of Labour uses a database with
two tables to store information on the number of uncertified persons S4 Prompt the user
with technical skills in the various areas of the country. The data in
the two tables are shown below: S5 Read a character
AREA_ID AREA_NAME (b) (i) Copy and complete the following truth table
D1 East Coast
1 0 1
0 1 0
27
0 0 0
Question 10
Question 12
Each Play Station III game has a tax of 10% added to its cost to
calculate the final price. Write Pascal code to: Consider the following program in Pascal, and answer the questions
that follow.
(a) declare the tax value
PROGRAM IRG;
(b) declare TWO variables
VAR ALPH: ARRAY[1..3] of CHAR;
(c) calculate the final price of a game Let: CHAR;
(a) Rewrite the following fragment of code using the control BEGIN
structures below:
Inc := 0;
For count := 1 to 10 DO
Let := ‘G’;
Begin
Read (count);
FOR Inc := 1 TO 3 DO
End; ALPH [Inc} := Let;
Writeln(ALPH [Inc]);
(b) Complete the following two sentences by replacing the
letters A, B, C, D and E with the appropriate programming END.
terms.
(a) State the name of the program.
John (A) the program to see if it was grammatically correct,
(b) State the name of the array.
meaning no (B) errors, that it did what it was intended to
do, meaning no (C) errors, and hat it produced some (c) State the size of the array.
results, meaning no (D) errors. If there were errors, he (d) What is the output when the program is executed?
would then (E) the program to locate and correct these
errors.
(c) THREE of the following statements describe external
documentation. Identify them and write the corresponding
numbers on your answer sheet.
the program
Program
28