Musato high school wanted to setup a network connectivity to be used in school. Mention three internet connectivity requirement that the school must have to get the connection.
0 Comments
Using relevant examples distinguish between a formula and function.
John is a first-year student at JKUAT. He is expected to login his student portal to access online assignments. Mention three ways in which he would prevent virus from infecting his computer.
Describe the term portability as used in the following context.Hardware
Mention three factors to consider when choosing an ISP for internet connectivity.
DESCRIBE FOUR WAYS IN WHICH ICT CAN BE USED TO IMPROVE HEALTH CARE PROVISION
PETER USED A COMPACT DISK RECORDABLE TO SAVE HIS WORK. ½ OF THE DISK WAS USED TO STORE VIDEO FILES WHILE ¼ OF THE REMAINDER WAS TO SAVE AUDIO FILE. NOTE THAT CD-RECORDABLE IS 700MB. CALCULATE THE REMAINING SPACE IN BYTES.Video =0.5 x 700= 350 …………………… ½ mark
Audio = 0.125 x 700=87.5 ………………… ½ mark Total = 437.7 …………………… 1mark Remaining spaces (700-437.5) = 262.5MB ………… 1mark Program Control Structuresprogram control structures are blocks of statements that determine how statements are to be executed, in structured programming languages, there are three control structures namely; sequence, selection and iteration (looping) SequenceIn this structure, the computer reads instructions from a program file starting from the first top line and proceeding downwards one -by -one to the end. This is called sequential programming execution i.e. SelectionIn selection control, execution of statements depends on a condition which is either a true or false There are four types of selection controls. Namely:
The IF....THEN selection is used if only one option is available. All other options are ignored Format: IF <condition> THEN Statements; ENDIF IF....THEN....ELSE This type of selection is suitable where there are two available options General Format IF <condition> THEN Statements; ELSE Statements; EndIF Nested IF Selection This type of selection is used where two or more options have to be considered to make a selection. General Format IF <condition> THEN statements ELSE IF <condition> THEN statements ELSE IF<condition> THEN Statements ELSE Statements ENDIF ENDIF ENDIF CASE Construct This is an alternative to the Nested IF especially where there are several options to choose from. Its preferred because it reduces the many lines of code. However, the boolean expression for the case selection can only be expressed using integers and alphabetic characters only. The General format should be CASE integer OF or CASE Char OF Example: Case x of label 1: statement 1 label 2: statement 2 label 3: statement 3 . . . label n: statement n-1 Else statement Endcase Iteration (looping)Iteration is also referred to as looping or repetition. Its designed to execute the same block of code again and again until a certain condition is fulfilled. The three main looping controls are:-
The "WHILE" loop is used if a condition has to be met before the statements within the loop are executed. General Format WHILE condition DO statement ENDWHILE The REPEAT....UNTIL loop The REPEAT....UNTIL loop allows the statements within it to be executed at least once since the condition is tested at the end of the loop. General Format REPEAT statements UNTIL <condition> The FOR Loop
The FOR loop is used in circumstances where the execution of the chosen statements has to be repeated a predetermined number of times. General Format //pseudocode for 'FOR" loop that counts from the lower limit FOR loop variable = lower limit to upper limit DO statements ENDFOR COMPUTER STUDIES QUESTIONS AND ANSWERSSection A: 40 Marks1. State two hardware technological differences between the second generation and the third generation computers. (2 marks)
The 2nd generation use transistor in its logic circuit while the 3rd generation used integrated circuit
2. State two ways of ensuring proper ventilation in a computer room. (2 marks)
3 (a) Explain the term toggle key as used in computer keyboard. (2 marks)
These are keys that alternate the input mode. When pressed ON they are
intended to perform a task, when OFF, they perform different task. @ 2 (b) List examples of toggle keys on a computer keyboard. (2 marks)
Caps lock, Insert, Num Lock and Scroll lock.
4. State three factors to consider when selecting an operating system to install in a computer. (3 marks)
5. Differentiate between analogue data and digital data as used in computers. (2 marks)State three differences between impact printers and non-Impact printers.Impact printer
Non-Impact printer
|
Categories
All
Archives
December 2024
|