Give a reason why HMTL is not regarded as a programming language
State Advantages of online booking
Describe each of the following types of a program errors, giving an example in each case.
(i) Syntax error.
(ii) Logic error.
(iii) Arithmetic error/runtime error
(i) Incorrect use of language, e.g. PLINT instead of PRINT
(ii) A mistake in the structure of the solution, e.g. a jump goes to the wrong line
(iii) Inappropriate arithmetic is used, e.g. division by 0 is attempted
Maranda MOCK 2024 CRE Paper 2
b) What Simeon and Anna said about the life of Jesus during the dedication. (7mks)
Jesus would save people
He would bring glory to Israel
He would be a light to the gentiles
He would be a universal savoir
He would bring judgment to the Israelites
Many people would oppose his work
He would reveal secret thoughts of people
He would be the source of redemption for Jerusalem
What is repetitive strain injury?
What is meant by RAID technology?
RAID (Redundant Array of Independent Disks) technology refers to a method of combining multiple physical disk drives into a logical unit to improve performance, data availability, and data redundancy. RAID technology is commonly used in storage systems to provide fault tolerance, data protection, and increased storage performance.
The primary purpose of RAID is to create a more reliable and robust storage solution by spreading data across multiple drives and implementing various data redundancy techniques. This helps to mitigate the risk of data loss and system downtime in case of drive failures.
There are different levels or configurations of RAID, each offering different features and trade-offs. The most commonly used RAID levels are:
RAID 0 (Striping): Data is split evenly across multiple drives, resulting in increased performance as data can be accessed from multiple drives simultaneously. However, there is no redundancy, so if one drive fails, data loss can occur.
RAID 1 (Mirroring): Data is duplicated or mirrored across two drives, providing redundancy. If one drive fails, the other drive can still function and serve the data. RAID 1 offers data protection but does not offer increased performance.
RAID 5 (Striping with Parity): Data and parity information are striped across multiple drives, providing both increased performance and fault tolerance. Parity information allows for the recovery of data in case of a single drive failure. RAID 5 requires a minimum of three drives.
RAID 10 (Combination of Mirroring and Striping): RAID 10 combines elements of RAID 1 and RAID 0. It involves mirroring data across two sets of drives and then striping the mirrored sets for increased performance and fault tolerance. RAID 10 provides high levels of data redundancy and performance but requires a minimum of four drives.
Differentiate between logical and physical network topology
Physical topology - the physical arrangement of nodes of a computer network
Examples
Logical topology- the way data flows in a network
Examples
Differentiate between a compiled and an interpreted program
A workshop has a lot of heavy machinery operating throughout the day and requires a cable to connect a workstation to a switch. Which of the following, unshielded twisted pair (UTP) or shielded twisted pair (STP) cable, would be the more suitable? Justify your response.
Shielded twisted pair cable:
A twisted pair cable is made up of four pairs of twisted copper wires, a shielded twisted pair cable applies a shield to each one of the pairs on a cable or to all of the pairs together. This shield can reduce EMI (electromagnetic interference), which would be emitted from heavy machinery. This increased data transmission quality in the workshop. STP can also reduce crosstalk.
Describe the difference between a barcode and A quick Response code (QR code)
What is entity integrity?
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;
State advantages and disadvantages of the following system implementation strategies
Phased:
Advantages:
Disadvantages:
Pilot:
Advantages:
Disadvantages:
Direct:
Advantages:
Disadvantages:
Parallel:
Advantages:
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
Explain what is meant by a LIFO data structure.
What is the difference between a logical file and a physical file?
State advantages of batch processing
Differentiate between bus topology and star topology of networks. What are the advantages and disadvantages of star topology over bus topology
Advantages of Star topology over Bus topology
Disadvantages of Star topology over Bus topology
Compare and contrast CLI and GUI
CLI
GUI
Comparison
What is a source code as used in computer programming?