Study the pseudo-code below and answer the questions that follow.
(c) Study the pseudo-code below and answer the questions that follow. The
pseudo code is as follows BEGIN Print “enter the value of M and N”; Read M,N Set χ = M; Set y = N; P = y – χ; Q = χ – y; IF P >Q THEN; Set P = χ; Set Q = y; ELSE Set P = y; Set Q = χ; ENDIF PRINT P, Q, χ, y; END State the name of the control structure shown in the flowchart ______________________________________________________________________ ______________________________________________________________________ Assuming the user keys in 8 and 14 when prompted to enter the values for m and N respectively, determine the printed values of P, Q, χ and y. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________
(iii)Draw a flowchart for the above pseudo-code. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________
(a) Describe three standard coding scheme used in computing and electronic systems. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (b) Convert the decimal number 0.562510 into its binary equivalence ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (c) Convert the binary number 110.101 to its Decimal equivalent. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (d) Using twos Complement, perform the following binary arithmetic leaving the answer in binary notation. 1001012 – 11012 ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (e) Other than the ring topology, describe other three types of topologies. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (a) One of the functions of an operating system is Job scheduling. Explain what is meant by Job Scheduling. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (b) Recently on 4th March 2013 Kenya went on election in which the results were to be transmitted electronically using mobile phones from all polling stations to the main server. But the system (Server) failed to work. (i) List four security threats that the system was prone to: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (ii) List four Control measures that the IEBC should take in future to ensure secure and safe tallying of votes. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (c) The principal of Chebloch Primary School wants to acquire a new operating system for his computer. Advise him stating the advantages of graphical user interface over Command line interface. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (d) Describe the following types of errors in data processing, giving examples.
(i) Truncated ______________________________________________________________________ ______________________________________________________________________
(ii) Transposition ______________________________________________________________________ ______________________________________________________________________
(iii) Transcription ______________________________________________________________________ ______________________________________________________________________ (e) Explain why the processor of a microcomputer is referred to as a microprocessor. ______________________________________________________________________ ______________________________________________________________________ (a) List and explain the functions of two computer buses. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (b) The formula = $B2 + C$4 is entered in cell C5 and then copied to D10. Write down the formula as it appears in the destination cell. ______________________________________________________________________ ______________________________________________________________________ (c) State two reasons why smaller computers like Laptops tend to be more expensive than Desktop computers. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________
(d) List and give examples three categories of post-secondary institutions where one can advance computer skills after sitting for KCSE. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (e) List four examples of:-
(i) Third Generation Languages. ______________________________________________________________________ ______________________________________________________________________
(ii) Object Oriented Languages. ______________________________________________________________________ ______________________________________________________________________ (f) Define the term Ergonomics. ______________________________________________________________________ ______________________________________________________________________ (a) Describe the following terms as used in relation to expert systems. User interface ______________________________________________________________________ ______________________________________________________________________ Knowledge base ______________________________________________________________________ ______________________________________________________________________ (iii) Interference Engine ______________________________________________________________________ ______________________________________________________________________ (b)
i) Explain the meaning of ISP. ______________________________________________________________________ ______________________________________________________________________
ii) List four examples of ISPs. ______________________________________________________________________ ______________________________________________________________________ (c) List and explain four services offered by the internet. ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ (d) Give one example of Internet search engine. ______________________________________________________________________