Differentiate between a compiled and an interpreted program
KCSE Computer Studies Paper 1, 2001
SECTION A (40 MARKS)
ANSWER ALL THE QUESTIONS IN THIS SECTION
1.Compare the two types of diskettes used in microcomputers in terms of physical size and densities. (2mks)
2.Why is it necessary to have a UPS in a computer laboratory? (2mks)
3 a) Explain what is meant by batch processing (1mk)
b) Give one advantage and one disadvantage of batch processing ( 2mks)
4. List any four high level programming languages (2mks)
5.A 3 by 4 matrix M is to be added to another 3 by 4 matrix array N so as to give a third 3 by 4 matrix array P. Using a high level programming language, write a program segment that assigns the sum of M and N to P.(4mks)
6. The first column in the table below contains the formulae as stored into the cell F10 of a spreadsheet. Enter the formulae, as they would appear when copied to the cell M20 of the same spreadsheet. (3mks)
|
Formula in F10 |
Formula in m20 |
|
=D10* E10 |
|
|
=A$ 25 |
|
|
=$ D$13 |
|
7. Give three advantages of separating data from the applications that use the data in database design. (3mks)
8. Explain the impact of information on organizations in each of the following areas: (2mks)
a) Competition
b) Pace of growth
9. a) List any four tasks that an electronic spreadsheet should be able to perform other than calculations (2mks)
b) Explain what is meant by automatic recalculation as used in a spreadsheet.(1 mk)
10. Describe the functions of the following computer hardware components:
a)Mouse (2 ½ mks)
b)Scanner. (1 ½ mks)
11. a)State two differences between Disk Operating System (DOS) and WINDOWS operating system.
b. i) Define the term application software (1mk)
ii) Give one example of application software (1mk)
12. a) Give one difference between internal and external commands in Disk Operating System. (2mks)
b) Name two DOS commands that may be used for checking disk errors. (2mks)
13. Explain how a paragraph can be moved from one place to another in word-processing. 2mks)
14. Define the term structured programming. (2mks)
SECTION B (60MKS)
Answer question 15 and any other three questions from this section.
15.a) What is meant by each of the following terms:
i) pseudocode (1 ½ mks)
ii) Flowchart (1 ½ mks)
b) a program is required to list the first 1000 numbers in the series: 2, 4, 6, 8,
10. Draw a flowchart and write a program that can be carried out this task. (12 mks)
16. The following car details are to be entered in a database; make, date-of-manufacture, colour and cost.
a) Prepare a suitable database structure showing field names and their field types (5mks)
b) Explain how you index the data such that cars of the same make and colours are together (2mks)
c) Write a statement that can be used to select cars of the colour green (2 mks)
d) Give an instruction that would;
i)select cars whose cost lie between 500,000/= and 1,000,000/= (3 mks)
ii)Determine the average cost of all cars (3mks)
17. a)The diagram below represents the essential features o a computer system. Study the diagram and answer the questions that follow:
i)Name the components (4mks)
A
B
C
D
ii) On the diagram above, indicate the direction of data flow using arrows. (3mks)
b) Name the three types of buses in a computer system (3mks)
c) Explain how CPU registers may be used to carry out a basic calculation such as:2 + 7 = 9
d) Name two computers output devices. (1 Mark)
18. a)State three ways in which computer technology may affect employment patterns in organizations (3mks)
b) State three ways in which computer technology may affect employment patterns in organizations (3mks)
c)Suggest three strategies that can be employed to manage resistance to change (3mks)
d) Give three advantages of computerization in an organization. (3mks)
19. a)In a computer based information system, state the purpose of the following files and give one example where such a file may be required in a school. (8mks)
i) report file
ii)Back-up file
iii)Reference file
iv) Sort file
b) State three precautions that should be taken to ensure that diskettes are well stored. (3 mks)
c) Distinguish between “serial” and Indexed sequential” file organization methods. (2mks)
d) Distinguish between binary and octal number systems and give an example of each (2mks)
A computer operates as a binary digital device. Explain why binary is used to represent computer data.
State two components of the CPU
Any two from:
State the functions of the following protocols
POP -Stands for post office protocol
SMTP- Simple Mail Transfer Protocol
FTP - Stands for the file transfer protocol
State the functions of the following protocols
POP -Stands for post office protocol
SMTP- Simple Mail Transfer Protocol
FTP - Stands for the file transfer protoc
Xpat ICT has been tasked to construct a network for an organisation. Explain three factors that the company should consider when selecting the medium for the connectivity (KCSE 2021 Computer Studies Q19c)
State a circumstance under which dry-run testing is performed when developing a program (2mks)
State Examples of utility programs
Encryption software
Defragmentation s/w
(Data) compression s/w
Anti-virus / anti-malware s/w
Disk analysis and repair s/w
Auto-update
Firewall
...over a network/external source
Describe how a FRID works.
RFID stands for radio frequency identification. There is an RFID reader and tag.RFID is used in contactless credit and debit cards as well as in some hotel room cards. Inside an RFID tag is a chip that contains a small amount of memory. The chip is attached to a coil of wire which acts as an antenna. When an RFID tag is scanned, the reader emits radio waves which are picked up by the tag’s antenna. The power induced in the tag’s antenna from these waves is enough to power the chip which then uses its antenna to emit its own radio wave, which contains the information held on the chip. This wave is picked up by the reader which decodes the information and returns the information to a computer.
Explain the functions of the following parts of the CPU
Control Unit; Decodes instruction; Controls the fetching and writing of data;
Arithmetic Logic Unit/ ALU; Executes mathematical instructions; Executes logical instructions; Compares values held in registers;
Clock; Controls the number of instructions carried out each second; allows the CPU to synchronize operations;
Identify four events that take place during the fetch-execute cycle
Distinguish between Incremental and Full backup
Incremental:
Full:
Explain how virtual memory can compensate for the limited RAM capacity in a computer.
Describe the difference between distributed and sequential processing on how they process instructions
Identify three ways in which this new technology has affected employees. In each case, explain why it has had an impact.
State advantages of star network topology
Describe how the database can be recovered from a system failure
The data before encryption is known as .................................................. text.
To scramble the data, an encryption .................................................., which is a type
of .................................................., is used.
The data after encryption is known as .................................................. text.
Encryption prevents the data from being .................................................. by a hacker
The data before encryption is known as .......plain.................. text.
To scramble the data, an encryption ......................key.........................., which is a type
of ...................key............................, is used.
The data after encryption is known as ....................cipher............................. text.
Encryption prevents the data from being ......................understood...................... by a hacker
A large comprehensive school has over 500 computers connected to their Local Area Network (LAN) with a connection to the Internet. (a) Describe, in detail, four disadvantages for the school of having a network of computers compared to stand alone computers
A network manager may need to be employed which might be expensive
Could be infected with a virus that could spread to all other computers
Security problems receive traffic from other networks
Hackers may gain access as the network only as secure as weakest point of entry to data and steal/destroy
The server/switch could go down (main cable break) so all workstations on the network are affected
Can be expensive to set up as Initial cost of servers, communication devices, switches, network software etc.
Substantial Initial disruption: drilling holes, fitting trunking, running cables between buildings etc…
Can have a slow response time due to heavy network traffic so users cannot work as effectively
Detecting network problems can be more difficult on a network i.e difficult to isolate
Can be slow to log in to a network As it slow to download software/check password
Only limited storage space available on network while one has access to all hard disc drive on standalone computer
Time and effort to set up users o Can just start a standalone and use computer