Computer Studies p1
Computer Studies p1
1. (a) List four types of publications that can be designed using desktop publishing
software. (2 marks)
Posters
Book publishing
Banners
Newsletters
Magazines
Card design
(any 4 @ ½ )
(b) Explain the following graphic terms:
i) Rotate (1 mark)
To turn an image through an angle
ii) Crop (1 mark)
To remove the unwanted parts of a graphic
2. List four input devices that capture data by way of scanning (2 marks)
Optical Mark Reader (OMR)
Magnetic Ink Character Reader (MICR)
Bar Code Reader
Optical Character Reader (OCR)
3. Explain the following operating system functions:
Job scheduling (1 mark)
o This is where jobs/tasks are assigned to the processor and main memory
depending on their priority
Interrupt handling (1 mark)
o Halting of other processes taken by the processor so as to attend to remote
enquiries or halting a processor for another task to be performed.
4. Distinguish between a formula and a function as used in spreadsheets. (2 marks)
Formulae are user designed expressions that create a relationship between cells and return
a value in a chosen cell while a function is an inbuilt predefined formula that the user can
quickly use instead of having to create a new one every time they want to do a
calculation.
5. State two reasons why it is necessary to use standard furniture in a computer
laboratory. (2 marks)
Prevents people from straining
Table sizes allow all equipment to fit
Optimization/utilization of room space
6. When purchasing a computer, the clock speed, RAM size, Hard disk size and
monitor size are often quoted. State the unit of measuring: (2 marks)
a) Clock speed - hertz, gigahertz, megahertz
b) RAM size - bytes
c) Hard disk size - bytes/bits
d) Monitor size - inches or ”
1
7. A computer user typed the name Kajiado as Kajaido and 8726 as 8126.
(a) State the type of each error (1 mark)
Transposition error - Kajiado as Kajaido
Transcription/misreading error - 8726 as 8126
(b) Explain how each error can be controlled (2 mark)
Proofreading
Spellchecking
Double entry
Improve legibility
Use of direct data capture devices
Being careful when typing
Validation of input data.
(Any two @ 1 mark)
2
(2 @ ½ mark)
c) In Margin ½ mark
During transmission
During data processing
During data capture
During collection
During storage
14. State two ways in which one can create a password which cannot be easily accessed
by hackers. (2 marks)
A password with at least six characters
A password with a mixture of letters and numbers
3
Using both upper and lower case letters in the password
Answer question 16 and any other three questions from this section in the spaces provided
Assembler – translator that converts assembly language codes into machine code
Interpreter – translators that convert high level language source code into machine code
c. Explain two ways that may be used to identify the existence of errors in a
program. (4 marks)
Desk check (dry run) - A manual technique for checking the logic of an algorithm
Using the debugging tools that are provided in the computer
Using test data that validate the desired input/output.
d. Draw a programme flowchart that would accept three numbers and find their
sum. If the sum is greater than 200, it adds 30 to the sum otherwise subtracts 20
from the sum. The program should then display the results. (7 marks)
START
INPUT
A, B, C
FALSE TRUE
SUM >
200?
16. (a) The following are some of the phases in the system development life cycle
(SDLC): system analysis, system design,
DISPLAYsystem implementation, system review and
maintenance. State four activities that
SUMare carried out during system implementation
phase. (4 marks)
4
STOP
Installation of the system
File conversions
Staff training
System change-over strategy adopted
(4 @ 1 mark)
(b) Give three reasons why system maintenance phase is necessary in SDLC.
(3 marks)
Correct the errors that may have escaped during the design
To meet the changes in technology
Changes in government policy
Changes in operating environment e.g. the system evolving (e.g. when a newer
version of the software is released.
(Any 3 @ 1 mark)
(c) State two instances where observation is not a viable method of gathering
information during system analysis stage. (2 marks)
17. (a) State three standard coding schemes used in computing and electronic systems.
(3 marks)
Binary Coded Decimal (BCD) (4 bits)
American Standard Code for Information Interchange (ASCII)
Extended BCD Interchange Code (EBCDIC)
Standard BCD
5
(Any 3 x 1)
(b) Convert the following numbers:
i) 110.1012 to decimal; (3 marks)
1 1 0 . 1 0 1
22 21 20 . 2-1 2-2 2-3
4+2+0+0.5+0+0.125 = 6.62510
(4 marks)
12 R0
= 6
2
6
= 3 R0
2
3
= 1 R1
2
1
= 0 R1
2
= 11002
0.687 2 = 1.37 1
5 5
0.375 2 = 0.75 0
0
0.750 2 = 1.50 1
0
0.500 2 = 1.00 1
0
= 0.10112
1 1 0 0 1 . 0 1 0 1
- 1 1 0 . 0 1 0 0
1 0 0 1 1 . 0 0 0 1
= 10011.00012
6
(d) Using twos complement, perform the following binary arithmetic leaving the
answer in binary notation.
0 1 1 0 1 0
+ 1
0 1 1 0 1 1
0 0 1 1 0 1
+ 0 1 1 0 1 1
1 0 1 0 0 0
= 1010002
18. (a) Using two examples, explain the term field properties as used in database design.
(2 marks)
Specify details related to fields and table entries expected e.g. field size, format, decimal
places, input mask e.t.c.
7
ii) Which would be the most appropriate primary key field for the above table?
(1 mark)
iii) Patient No.
iv) What is the purpose of a primary key field in database design? (1 mark)
Identify each of the records in the database
Useful when you want to create a relationship between more than one table
Make access to database records faster e.g. when sorting.
v) Describe how information about patients who registered after 09/08/06 can be
extracted from the database. (3 marks)
Create a query
Apply the criteria on the date field.
Give the criteria date registered >09/08/06
8
i) Which of the two files above represents a Transaction file? 1 mark)
File B
ii) Give a reason for your answer in c(i) above (1 mark)
Transaction file: it contains data which is regularly added
Has date/fee payment
iii) Name the other type of file represented above (1 mark)
Master file: It contains records that do not change regularly like in file A
d) An airline uses an information system whereby if a passenger at station A books a
plane seat, this transaction is immediately shown at stations A and B such that no
other passenger can book the same seat.
i) Identify this data processing mode (1 mark)
Real time processing
ii) State two advantages and two disadvantages of this processing mode. (4 marks)
Advantages
Information is readily available for instant decision making
Updating is done instantly when transactions occurs
Auditing is easier
It is accurate
Prevent double booking
Disadvantages
Complex – difficult to configure/set-up
Expensive to acquire and maintain
Errors that occur are difficult to correct