Form 4 COMPUTER STUDIES Annual Specimen Paper

advertisement
Page 1 of 18
Form 4
COMPUTER STUDIES
Annual Specimen Paper
Directions:
Answer all questions
All answers are to be written on this booklet
The use of calculators is NOT allowed
Good English and orderly presentation is important, however no marks will be deducted for
spelling or grammar mistakes.
Name and Surname:
____________________________________
Class:
____________________________________
Page 2 of 18
1. Fill in the table below to obtain the conversion of each number in binary (8 bit),
/6
hexadecimal and decimal.
Binary
1
0
0
0
1
Hexadecimal
1
0
Decimal
1
17
146
Show all your Working:
Page 3 of 18
2. Answer the following questions on Logic – Data representation
/1
a) Circle the invalid numbers in the following list:
10010
1210
10012
60016
20516
2H16
1BC2
A12
b) Write down the binary equivalent of the hexadecimal number 4A.
/1
_____________________________________________________________________________________
_____________________________________________________________________________________
c) If the ASCII code equivalent to the letter A is 6510, which letter does the binary number in part (b) of
this question represent?
/1
_____________________________________________________________________________________
_____________________________________________________________________________________
d. What is the largest decimal number that can be stored in an 8-bit register?
/1
_____________________________________________________________________________________
_____________________________________________________________________________________
Page 4 of 18
3.Systems Analysis
a) Identify two categories of people who are involved in the development of a new system and define
/3
clearly their role in the process:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
b) Documentation is a series of organised describtive documents relating to all aspects of the system’s
development and operation. Name and explain the 3 documents which are prepared when a new system
is installed:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
/3
Page 5 of 18
c) Describe TWO techniques for collecting data about a system during the investigation stage of systems
analysis :
/2
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
d) Describe what is done during the testing and review stage of the system life cycle:
/1
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
e) Draw the diagrams representing the following changeover methods, and give one advantage and one
disadvantage of each method:
/3
Direct Changeover
Diagram
Advantage
Disadvantage
Parallel Changeover
Page 6 of 18
4. Answer the following questions on the JAVA Programming Language
a) What is the difference between each of the following pairs of items?
Print and Println?____________________________________________________________________
/1
__________________________________________________________________________________
Integer and Double data types?____________________________________________________________
/1
_____________________________________________________________________________________
A .java file and a .class file?_______________________________________________________________
/1
_____________________________________________________________________________________
b) What is Syntax?
Describe what is a Syntax error, and give an Example of a syntax error in JAVA.
_____________________________________________________________________________________
/2
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
c) What is the SWITCH command used for in JAVA?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
/1
Page 7 of 18
5. Application Software may be bought off the shelf, customisable or tailor made Give a description of
each type, and one advantage and one disadvantage of each. Complete the following table
Name
Off the Shelf
Customisable
/5
Tailor-Made
Description
Advantage
Disadvantage
/1
From the given three types of software acquirements above,
How would a word processor normally be bought?
______________________________
How would a unique software for a factory machine normally be bought? ___________________
Page 8 of 18
/1
6. Software
System Software is most commonly referred to as the ___________________ System.
What is the difference between System Software and Application Software?
_____________________________________________________________________________________
/1
_____________________________________________________________________________________
_____________________________________________________________________________________
System Software is in charge of several computer resources. Explain.
/2
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Mention one example of System Software and another example of Application Software:
/1
System Software _________________________;
Application Software _____________________
Page 9 of 18
7. Fill in the blanks in the following paragraph.
/7
The E_________________ D___________ P__________________ department is the department that
takes care of all the IT roles within a company.
The __________________________________ has the responsibility of the whole computer department.
When a new member of staff is employed it is the ___________________________________’s job to
train him / her and to timetable the workload shared by staff.
The __________________________________ is in charge of the software side of the company, while the
__________________________________ is in charge of everything that has to do with the hardware.
In large organisations we have two types of programmers. These are called the __________________
programmers and the _________________ programmers. A good programmer makes sure that his
program contains a lot of _________________ documentation so that future programmers would find it
easier to understand what has been done.
One of the easiest jobs around in the EDP department is that of the _____________________________ This person’s task is that of powering up machines and documenting any visible errors.
Another job for the non-technical person would be that of a __________________________________ His / her task is to enter information in the system.
For everyday technical difficulties, personnel in the company would have to call the ________________.
However if the problem is above his competence he would then have to call the
__________________________________.
Page 10 of 18
8. Write a word or phrase which is described by the following definitions in the spaces provided below.:
a. Mistakes made when copying from one medium to another.
b. The action involved in collecting data for use in a particular computer process.
c. The correctness of the data entering the computer system for processing.
d. The act of checking transferred data, usually at the stage of input to a computer, by comparing
copies of the data before and after transmission.
e. An extra digit, which can be appended to a code number in order to detect errors arising when the
number is transcribed manually.
f.
Arranging (or rearranging) data into order.
g. When two or more files are combined by interleaving their records to form one ordered file.
h. A backup strategy that is based on three backups, daily, weekly and monthly.
i.
When typing is very slow compared to computer input speed.
j.
A cheap and popular medium used for backups.
/5
Answers:
a
f
b
g
c
h
d
i
e
j
Page 11 of 18
9. Write a sentence or two to explain each of the following statements:
/2
a. Technology is making our workplaces more efficient:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
/2
b. Chatting does not promote socialisation:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
/2
c. Computer addiction among youngsters is hindering a healthy lifestyle:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Page 12 of 18
10. Consider the flowchart to the right:
Describe the function of this flowchart:
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
____________________________________________________________________________________
Page 13 of 18
11. Flowchart:
/3
The incomplete flowchart below generates a random number (RN) and the user is given 3 chances to
guess the number. Use the text in the following five boxes to complete the flow chart.
Chances = 3?
Read user’s
Increment chances
number (UN)
by 1
START
Get RN
RN = UN?
/3
Set number of chances
to 0
No
Yes
STOP
Page 14 of 18
12.Logic Circuit
A two-input (A and B) logic circuit produces an output (X) of 1, only when A is 1 and B is 0. The circuit is
made up of two gates.
Draw the truth table and the logic circuit.
Write the Boolean expression of the circuit in terms of A, B and X.
/2
/2
/1
Page 15 of 18
13. Databases: A DVD rental shop keeps a computerised database of all the DVDs. It has a DVD table
in which each record about a DVD is has the following fields:
Give a suitable data type for each of the fields :
/3
DVD Number
DVD Name
Genre
Date of Release
Available
Main Actors
a) Which of the mentioned fields can be used as a key field? _________________
/1
b) The shop needs another table called the RENTALS table, which will keep record the list of
customers which have rented a DVD. Mention at least THREE fields which are required in this
/1
table.
c) The DVD table and RENTALS table are linked together.
/1
i.
Identify which field/s are used to link these two tables.
________________________________________________________________________
ii.
Explain the type of relationship created between these two tables.
________________________________________________________________________
________________________________________________________________________
/1
Page 16 of 18
Define the following terms as used in databases :
iii.
Record
________________________________________________________________________
________________________________________________________________________
______________________________________________________________________
iv.
Query
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
v.
Keyfield
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
vi.
System update using a transaction file and a master file
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
vii.
Backup File
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
/5
Page 17 of 18
14.
Write a program which would ask the user to enter the radius of a circle.
Declare variables r, a, and c.
Declare constant pi as 3.142;
circumference of the circle.
Work out and output the area and
/6
(formula to find the area = pi *r2)
(formula to find the circumference = 2*pi*r)
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Page 18 of 18
15. Consider the following Boolean Expression:
X = ((A+B).C + A)
/2
For the given Boolean Expression, draw:
i.
The Logic Circuit
ii.
The Truth Table
/2
Download