Ahmed sees the message “Set your browser to accept cookies”.
Explain why some websites make this request.
KCSE 2016 COMPUTER STUDIES PAPER MARKING SCHEME
State the function of each of the following keys on the computer keyboard : (2mks)
Backspace;
Insert
An organization intends to replace an existing system by carrying out the process in stages .
Name the implementation strategy ; (1mk)
Give two reasons why the organization is opting to use the implementation strategy in (a) above (2mks)
A manager wishes to replace the current manual system with a computerized one. Describe three areas that must be evaluated to justify the replacement (6 marks)
Headache, back and neck pain may result from the use of computers. State how each of them can be minimized (2mks)
Students of a school intended to elect their school Captain by secret ballot. State three ways in which computers can be used to improve the election process (3mks)
Explain why intranet is a more secure way to share files within an organization compared to internet (2mks)
List two career opportunities directly associated with computer networking (2mks)
Distinguish between a formula and a function as used in spreadsheets
The C directory of a computer has folders named Form 1, Form 2, Form 3 and Form 4. Each class has students’ folder named according to their admission number. The student created their own folder for subjects they are studying based on the table below:
For your item named in (a) describe two different tasks that the microprocessor performs.
Compare the use of a compiler with the use of an interpreter to translate code
Both translate source code written in high level programming languages into machine code.
Compiler: Produces a single executable file that is portable between machines
Interpreter: Source code needs a special environment to run
Compiler: Needs to be compiled for a particular architecture
Interpreter: Can run on any architecture that has the translator/interpreter
Complier: Entire source code file is translated at once
Interpreter: Code is translated line by line
Compiler: Provides error report at the end of the compilation
Interpreter: Errors more obvious in the sequence
Compiler: The program source code is not available (so helps protect IP)
Interpreter: Source code is available
Compiler: Only has to be translated once (affecting the speed of execution)
Interpreter: Has to be translated each time, therefore (affecting the speed of execution)
Compiler: Requires two files to be maintained (one for execution and for editing purposes)
Interpreter: Requires only one file to be maintained
State and explain characteristics of an algorithm
Input : An algorithm can take 0 or more inputs well defined outputs
Finiteness: an algorithm must terminate in finite time and after finite number of steps.
Definiteness : an algorithm must be clear and unambiguous. Each and every step of an algorithm must be clear and precise and it must have only one meaning
Feasibility: should be feasible with the available resources
Output : must produce at least one well defined output
Independent : should have a step-by-step directions which is independent of any programming language
Correctness: should solve the problem it is designed to solve
Efficiency: must take the shortest time possible to run and should require the least memory space. It should use a minimum number of computation steps and memory to produce the desired output. takes little time and memory to run
Generality: should not be limited to a specific case. It should work for all the valid inputs. works for many possible inputs
Effectiveness : should statements that are relevant to the problem. Every step must be basic and essential.
Give three characteristics of an IP address.
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
What is utility software?
A school has 3000 students sitting final examinations.
Each student sits eight examinations.
Write an algorithm, using pseudocode or a flowchart, which:
• inputs the marks for all 8 examinations for each student
• outputs for each student the average mark for their 8 examinations
• outputs the highest mark overall
highest = -1
for student = 1 to 3000
total = 0
for exam = 1 to 8
input mark
total = total + mark
if mark > highest then highest = mark
next
average = total/8
output average
next
output highest
Python code:
highest = -1
for student in range(1, 3001):
total = 0
for exam in range(1, 9):
mark = int(input("Enter mark: "))
total += mark
if mark > highest:
highest = mark
average = total / 8
print("Average:", average)
print("Highest mark:", highest)
VBA Code
Option Explicit
Sub CalculateAverageAndHighest()
Dim highest As Integer
Dim total As Integer
Dim mark As Integer
Dim average As Double
highest = -1
For student = 1 To 3000
total = 0
For exam = 1 To 8
mark = InputBox("Enter mark:")
total = total + mark
If mark > highest Then
highest = mark
End If
Next exam
average = total / 8
MsgBox "Average: " & average
Next student
MsgBox "Highest mark: " & highest
End Sub
Explain why the organization's management and the analyst need to work together to define the problem accurately during system development
Identify four events that take place during the fetch-execute cycle
State four threats that compromise data integrity and state ways that can be used to minimise these threats
State four threats that compromise data integrity
How threats to data integrity can be minimised:
State four data types used in MS Excel
State the types of storage devices used in a computer
Primary Storage (Memory):
Secondary Storage (Mass Storage):
Identify and describe four roles of the operating system when managing the resources of a personal computer.
Manages memory (RAM)
Ensures programs/data do not corrupt each other
Manages processes
Allows the user to run programs
Other roles
Your friend wishes to install a wireless network in his office. Explain to him the difference between guided and unguided media
Explain the difference between
(i) serial and parallel,
(ii) simplex and duplex
modes of data transmission.
Explain a reason necessitating governments to enact data protection laws
A company making televisions has introduced robots to replace the human work force.
(a) Describe three effects this would have on the work force
(b) Give two advantages to the company of introducing robots
(c) How could the robots be trained to assemble the televisions?
(d) A whole batch of televisions was produced with some of the parts missing. How could this error have been avoided?
(a) Describe three effects this would have on the work force
(b) Give two advantages to the company of introducing robots
lower work force costs (no salaries to pay)
(c) How could the robots be trained to assemble the televisions?
(d) A whole batch of televisions was produced with some of the parts missing. How could this error have been avoided?