Give one advantage using a star network rather than a ring network.
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
Give one application of each type of data transmission. Each application must be different
Parallel
Serial
Briefly describe the information Security principles or CIA triads
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
State advantages and disadvantages of Solid State Drives and Hard Disk Drives
Advantages of of Hard Disk Drive
Disadvantages of Hard Disk Drives
Advantages of Solid State Drives
Disadvantages of SDD
Explain each of the strategies listed below.
(a) Phishing
(b) DoS
(a) Phishing
(b) DoS
Define the term ‘outsourcing’.
A school intends to install a computer network. Explain three challenges that the school may experience after the installation (KCSE 2021 Computer Studies Q19(b))
Network Failure - when the network becomes faulty or the network is down, users may not access network resources hence operations of an organization may be brought to a standstill
Security Issues: A computer network can be accessed thus there is an increased chance of hacking
The rapid spread of viruses: Viruses can easily spread to terminals of a computer network which may be very expensive to clear
Cultural and moral effects: adult content may be shared in a networked environment which may be of negative impact on teenagers
Defining blocking of text as used in word processing
Ochieng manages a network for an organisation.
(a) Two computers are assigned the same IP address.
Explain why Ochieng must change the IP address of one of the computers.
(b) Identify the network topology that requires a server.
Ochieng manages a network for an organisation.
(a) Two computers are assigned the same IP address.
Explain why Ochieng must change the IP address of one of the computers.
(b) Identify the network topology that requires a server.
Explain one reason why a computer needs to be connected to a stable power source
System Stability: Computers require a consistent and stable power supply to function properly. Fluctuations or interruptions in the power source can cause various issues that can disrupt the computer's operation or lead to hardware damage.
a. Data Loss: Sudden power outages or voltage fluctuations can cause the computer to shut down abruptly, resulting in data loss if unsaved work is not properly stored. This can be particularly problematic when working on critical tasks or handling important files.
b. Hardware Damage: Power surges or inconsistent power supply can damage the computer's internal components, including the motherboard, CPU, memory, and storage devices. These damages can result in system instability, reduced performance, or even complete hardware failure.
c. Operating System Corruption: Abrupt power loss or inconsistent power supply can corrupt the operating system files, leading to system crashes, error messages, and instability. This may require system repairs or reinstallation of the operating system.
d. Component Lifespan: Inconsistent power supply can put unnecessary stress on computer components, shortening their lifespan. Frequent power fluctuations or surges can cause wear and tear on various parts, reducing their efficiency and overall longevity.
Differentiate between Physical and logical topologies
(iii) John von Neumann proposed the concept of a stored program.
State the two items he proposed to store in main memory.
Data
Instructions
State the formatting features used in Ms Excel
Font Formatting:
Cell Formatting:
Explain how an SSD stores data
Uses transistors( resistors and capacitors) . It can be implemented by the use of NAND or NOR gates. Data is stored on the chip as a charge
Describe two effects on society of an increase in the use of the Internet for e-commerce.
Explain three ways a computer can store negative numbers (3 marks)
Prefixing an extra sign bit- A negative number is representes by prefixing a digit 1 to the number
Ones complement- This is flipping the binary equivalent of the number
Twos complement- this involves getting the ones complement and then adding a 1
One characteristic of a robot is its mechanical structure.
State two other characteristics of a robot
List two areas where infrared waves are used in data communication.
TV remote, wireless mouse , wireless keyboard, used by robots to gauge distance and avoid obstacles,