Ch.21 Problem-Solving Procedures Assignment Ans

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

NLSI Lui Kwok Pat Fong College

Information and Communication Technology (ICT) Ch.21 Problem-solving Procedures

Assignment

1. Arrange the first four steps of problem-solving procedure in the correct order.
(1) problem identification
(2) algorithm design
(3) problem analysis
(4) solution development

A. (1) à (2) à (3) à (4)


B. (1) à (3) à (2) à (4)
C. (1) à (3) à (4) à (2)
D. (3) à (1) à (2) à (4)

2. Study the problem below and determine its input, processing step and output.
Problem: Make a copy of an identity card using a photocopier

Input Processing. Output


A. identity card photocopying copy of identity card
B. identity card, photocopying copy of identity card
blank paper
C. identity card, scanning copy of identity card
photocopier and identity card
D. identity card scanning photocopies
and identity card

3. To illustrate the interrelationship of the divided modules, we usually create a


_____________________

A. structure diagram
B. flowchart
C. documentation
D. pseudocode description

4. ____________________ involves identifying the inputs, processing steps and outputs


required for solving the problem.

A. Algorithm design
B. Problem analysis
C. Problem identification
D. Solution development

5. Debugging is the process of

A. locating and removing the errors in the problem.


B. testing whether there are any errors in the program.
C. locating and identifying the type of programming errors found in the program.
D. optiming the efficiency of the program.

1
NLSI Lui Kwok Pat Fong College
Information and Communication Technology (ICT) Ch.21 Problem-solving Procedures
6. Which of the following is not a cause of syntax error?

A. Command words are not in proper order.


B. Required punctuation is omitted.
C. Control structures are used improperly.
D. Spelling of a command is incorrect.

7. Which of the following is not commonly found in a user manual?

A. Installation guide of software


B. FAQs for using the software
C. Technical details about test data and sample outputs
D. Functions provided by the software

8. Which of the following are programming errors?


(1) Syntax error
(2) Run-time error
(3) Common error
(4) Logic error
(5) initial error

A. (1), (2) and (4) only


B. (1), (2) and (5) only
C. (1), (4) and (5) only
D. (1), (2), (3), (4) and (5)

9. Which of the following is an example of logic error?

A. The spelling of command words is incorrect.


B. Command words are not in proper order.
C. Required punctuation is omitted.
D. Control structures are used improperly.

10. Which of the following is not a need for documentation?

A. The user can learn how to use the program.


B. Documentation can help programmers maintain the program in the future.
C. The software can be sold at a higher price.
D. It helps the programmers discover some errors in the program.

2
NLSI Lui Kwok Pat Fong College
Information and Communication Technology (ICT) Ch.21 Problem-solving Procedures
11. Which of the following is one of the steps of problem-solving?

A. Brainstorming
B. Problem analysis
C. Mind mapping
D. Scenario analysis

12. Which of the following should be included in a user manual?


(1) How to install the program
(2) How to use the program
(3) Test data and sample outputs

A. (1) and (2) only


B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3)

13. Which of the following tools are most suitable for algorithm design?
(1) Flowchart
(2) Pseudocode
(3) Mind map

A. (1) and (2) only


B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3)

14. Which of the errors can be found in the stage of debugging and testing?
(1) Syntax errors
(2) Run-time errors
(3) Logic errors

A. (1) and (2) only


B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3)

15. Identify the process part of calculating the average weight of students in a class.

A. Calculate the average weight


B. The weight of each student
C. Read the weight of each student
D. The average weight of the students

3
NLSI Lui Kwok Pat Fong College
Information and Communication Technology (ICT) Ch.21 Problem-solving Procedures
16. Which of the following is the first step of problem solving?

A. Problem identification
B. Problem analysis
C. Algorithm design
D. Documentation

17. Which of the following should be included in a program manual?


(1) Problem statements
(2) Specification of requirements
(3) Algorithms

A. (1) and (2) only


B. (1) and (3) only
C. (2) and (3) only
D. (1), (2) and (3)

18. What is the meaning of IPO in problem-solving procedure?

A. Identifying Process Orders


B. Input Program Orders
C. Input Process Output
D. Integrated Processing Output

19. Problem analysis is to _______________________________________.

A. collect users’ requirements


B. design the algorithms
C. report the errors found
D. identify the inputs, processing steps and outputs

20. Which of the following problems is suitable to be solved by top-down approach?

A. Smaller problems
B. Large problems
C. Scattered problems
D. Numerical problems

You might also like