What is a computer virus?
A computer virus is a program designed to damage other programs or causes irregular behaviour in a computer system.
(a)Explain why programmers prefer to represent instruction in hexadecimal rather than in binary
(b) Give two other uses of hexadecimal
(a)Explain why programmers prefer to represent instruction in hexadecimal rather than in binary
(b) Give two other uses of hexadecimal
Define disk formatting and state three reasons for formatting a disk
Definition
Reasons:
State two computer-based careers that have arisen as a result of computer-based data processing in a factory (2 marks)
System analyst
Web designers
Network administrators
Database administrators
Programmers
Computer technicians
In reference to word processing, define the following terms
Word wrap
Justification
Drop cap
Word wrap - Is a word processing feature in which a word that does not fit in the current line is automatically moved at the start of the next line
Justification - refers to aligning text on both left and right margins
Drop cap - Make the first character of a paragraph occupy more than one line below it
What is a primary key?
Explain, using examples where appropriate, the meaning of these computer terms
(a) byte ..................................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(b) compiler ............................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(c) handshaking .....................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(d) technical documentation ..................................................................................................
..........................................................................................................................................
......................................................................................................................................[2mks]
(e) simulation .........................................................................................................................
..........................................................................................................................................
......................................................................................................................................[2
(a) byte
(b) compiler program
(c) handshaking
(d) technical documentation
(e) simulation
Identify the type of software used to compress files.
Utility Software
State three categories Operating Systems grouped according to user interface
Outline three ways through which ICT can used in marketing
ICT is used to create e-commerce platforms that have made business transactions easier and convenient by allowing customers make purchases and payments from anywhere at any time
ICT is used by marketing agents to create exciting multimedia presentations concerning products or services and present them to the target customers using presentation software such MS PowerPoint
Using multimedia, presentation and animation software, it is possible to design attractive advert materials and video clips to display on billboards, broadcast over a television or uploaded on the internet
Computer Studies Paper 1 2021 KCSE Prediction Section B Qs. 17,18 and 19
17. a) i) Explain the term search as used in the Internet. [2]
A web based application that locates items or information from the World Wide Web
ii) Peter intends to download a movie from the Internet. State the three factors that may determine the total time taken to complete the download. [3]
b) Wakulima online is an organization that runs a web based system for assisting farmers to obtain market for their produce. State four technological reasons that may cause a farmer not to access the organization’s system. [4]
c) Explain a situation when each of the following Desktop Publishing program features may be used when creating a publication:
i. Cropping [2]
Applies to graphics – used to trim/remove/hide some portions in the graphics
ii. Transparency [2]
Used to make background of a graphic to be clear/visible
d. List two areas where infrared waves are used in data communication. [2]
18. a) List four activities of the planning stage of systems development. Ignore this question, marks redistributed elsewhere
b) Explain a circumstance when each of the following feasibility studies are carried out during systems development.
i. Technical [3]
Done to determine whether technology exists to support the proposed solution
ii. Economic [3]
Done to determine whether the proposed solution is economically viable
iii. Schedule [3]
Done to determine whether the proposed system can be done within an acceptable time.
c) Table 1 and Table 2 are related tables in a database. Use them to answer the questions that follow.
Table 1
|
Dept Code |
Dept Name |
|
001 |
Computer |
|
002 |
Aviation |
|
003 |
Engineering |
Table 2
|
DeptID |
Student Registration No. |
Student’s Name |
|
002 |
St01 |
Alex Too |
|
003 |
St02 |
Naomi Komi |
|
002 |
St03 |
Peter Kengo |
i. Identify the appropriate primary key for each table. [2]
Table 1 – Dept code, Student Registration No
ii. Explain two benefits of enforcing referential integrity in the database. [4]
19. a) Describe each of the following validation checks as used in data processing.
i. Preserve check [2]
Ignore this question, marks redistributed elsewhere
ii. Data type check [2]
Ensure correct type of data is entered for the field
iii. Check digit [2]
This is a number added/calculated by the computer to a binary number. The check digit ensures correct transmission of the binary number.
b. Write each of the following abbreviations in full:
i) BCD [1½]
Binary Coded Decimal
ii) EBCD [
This question was thrown out and marks redistributed elsewhere
iii) ASCII [1½]
American Standard Code for Information Interchange
c) Using 10-bits binary number system, perform the following decimal operation using two’s complement. [6]
12910 - 12810
+129 = 00 1000 0001
128 = 00 1000 0000
-128 = 11 0111 1111 (ones complement)
+1
11 1000 0000 (Twos complement)
129- 128
00 1000 0001
+ 11 1000 0000
100 0000 0001
Hence = 00 0000 00012 or 12 (the overflow bit is ignored)
State what is meant by each of the following modes of data processing
(i) Batch processing.
(ii) Real-time processing.
(iii) Online processing.
(iv) Off-line processing.
(i) Jobs collected together for processing at a later time
(ii) Output produced quickly enough to affect the next input
(iii) User has direct contact with the processor
(iv) User cannot communicate directly with the processor
Suggest two advantages of using robots, instead of humans, to build cars in the factory.
Differentiate between modulation and demodulation as used in data communication
Modulation refers to the process of converting a digital signal to analog signal at the transmission end while demodulation is to converting analog signal to digital signal at the receiving end
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
Describe the principles of operation of laser printers and describe how they are applied in real-life scenarios
Steps
Describe how the denial of service strategy works to compromise the security of networks.
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
At which stage of the system development life cycle does the changeover to a new system take place?