Name the stage of program development cycle when: (3 marks)A user guide would be written.…………………………………………………………………………………….. Documentation A programmer dry-runs the code.…………………………………………………………………………………….. Testing and Debugging System charts would be drawn.…………………………………………………………………………………….. Program Design
0 Comments
What is the difference between looping and selection? Looping executes the same block of code (module) again and again until a certain condition is fulfilled, while selection execution of a statement(I) depends on a condition that returns true or false ( yes / No
âStudy the flowchart below and answer the questions that follows
âState the name of the control structure shown in the flowchart. (1 mark)
Selection control structure
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. (4 marks)
âThe printed values are
P=8, Q=14, x-8 and y=14 âWrite the pseudocode that would be used in place of the flowchart. (5 marks)The pseudo code is as follows BEGIN Print "enter the value of M and Nâ; Read M,N Set c= M; Set y = N; P = y - c; Q = c- y; IF P >Q THEN; Set P = c; Set Q = y; ELSE Set P = y; Set Q = c; ENDIF PRINT P, Q, c, y; END For each of the following file organization methods, state an appropriate storage medium(a) Serial
Difference between data privacy and data integrity as used in computing
Three ways used to represent negative number in binary number system
State the following types of transcription errors.
(a) 3455 instead of 3456……………
Mention any two advantages of running both the manual system and the computerized simultaneously19/7/2023 Mention any two advantages of running both the manual system and the computerized simultaneously.
Identify two main risks of direct changeover during system implementation.
Give two disadvantages of Direct changeover over Parallel running.
Briefly explain the terms parallel running and direct changeover as used in system implementation19/7/2023 Briefly explain the terms parallel running and direct changeover as used in system implementation
Give two advantages of using electronic point-of-sale terminals as opposed to manual entry at a supermarket checkout counter.
Outline three advantages of using computers for data processing over other types of office and business equipment.
Draw a flowchart which will simulate the processing of Student's report. The simulation should be such that the user repeatedly inputs marks per subject for six subjects using a looping control structure. The computer processes the total marks and mean score of the student.
Note.
State the three basic types of program control structures.
What is meant by the term Dry running as used in program development?
List three factors to be considered when choosing an electronic data processing method.
Using one’s complement, perform the following binary arithmetic leaving the answer decimal notation.19/7/2023 Using one’s complement, perform the following binary arithmetic leaving the answer decimal notation.
Describe the term prefixing an extra sign bit as used in data representation.
The roots of the equation ax2 + bx + c = 0 are given by the formula Write a pseudocode for the above program BEGIN INPUT A, B, C D= (B*B)-(4*A*C) IF D<0 THEN X1=INVALID X2=INVALID ELSE IF D=0 THEN X1= -B/(2*A) X2=X1 ELSE IF D>0 THEN X1= (- B + SQRT(D))/(2*A) X2= (- B - SQRT(D))/(2*A) END IF END IF END IF PRINT X1, X2 STOP Draw a flow chart for the above pseudocode
State three situations when REPEAT .. UNTIL structure can be used in writing a program
State two advantages and two disadvantages of high level programming languageAdvantages of high level programming
Disadvantages of high level programming
In a computer based information system, state the purpose of the following files and give one example where such a file may be required in a school. Report file. A report file is used to extract records from the masterfile or generated after processing. It stores a copy of the generated reports by the system. Report file. A report file is used to extract records from the masterfile or generated after processing. It stores a copy of the generated reports by the system. Sort file.
A sort file is used where data is to be processed sequetially to first arrange the records in the order of the master file before updating it. Example students exams marks entered in a class list Give two importance of feedback mechanism in systems
|
Categories
All
Archives
December 2024
|