Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
1 views

Algorithm Assignment

The document is an algorithm assignment for Information Technology, specifically for Form 5 CSEC students. It includes multiple choice questions and short answer items that assess understanding of algorithms, control structures, and their representations. The assignment covers topics such as characteristics of algorithms, flowchart symbols, and pseudocode.

Uploaded by

kristen200717
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Algorithm Assignment

The document is an algorithm assignment for Information Technology, specifically for Form 5 CSEC students. It includes multiple choice questions and short answer items that assess understanding of algorithms, control structures, and their representations. The assignment covers topics such as characteristics of algorithms, flowchart symbols, and pseudocode.

Uploaded by

kristen200717
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

INFORMATION TECHNOLOGY – FORM 5 CSEC

ALGORITHM ASSIGNMENT

NAME: ______________________________ DATE: __________________

Multiple Choice Items

Please CIRCLE ONE answer only for each item in this section.

1. Which of the following is NOT a characteristic of an algorithm?

A. It must have clear, unambiguous steps


B. It must consist of an infinite number of steps
C. It must have a flow of control.
D. It must eventually stop

2. Which of the following control structures is used for making decisions in an


algorithm?

A. Sequencing
B. Selection
C. Iteration
D. Sorting

Item 3 refers to the following flowchart symbol.

3. The symbol represents _________.

A. a decision box
B. an input/output box
C. a process box
D. a terminator

4. Which of the following statements includes loops?

A. Repetition
B. Sequencing
C. Ordering
D. Selection

5. Which of the following is a method of representing algorithms?

A. Loop
B. Pseudocode
C. Chart
D. Binary Code

1
6. In representing algorithms, which of the following statements would be placed in the
flowchart box shown below?

A. Read A
B. A > 25
C. Count = Count + 1
D. Output C

7. Which of the following keywords is used to display results in a pseudocode


algorithm?

A. Read
B. Start
C. Accept
D. Write

8. When breaking down a simple problem into its logical steps, what
statement/instruction would the adding of two numbers be?

A. A storage
B. A process
C. An input
D. An output

9. What is the name given to an identifier that always holds the same value?

A. Constant
B. Variable
C. Location
D. Storage

10. Which of the following is a symbol in a flow chart?

A.

B.

C.

D.

11. A ‘IF-THEN’ statement is an example of which of the following constructs?

A. Ascending
B. Repetition
C. Sequence
D. Selection

2
12. Which of the following keywords is used to accept value in a pseudocode algorithm?

A. Display
B. Print
C. Read
D. Write

Items 13-16 refer to the following information.

ALGORITHM

Step1 START
Step2 PRINT “Please enter three integers.”
Step3 GET Number1, Number2, Number3
Step4 Avg = (Number1, Number2, Number3)/3
Step5 DISPLAY Avg
Step7 STOP

13. Step 3 in the above algorithm is an example of _________ statement.

A. input
B. output
C. processing
D. storage

14. Step 2 in the above algorithm is an example of _________ statement.

A. input
B. output
C. processing
D. prompt

15. Step 4 in the above algorithm is an example of _________ statement.

A. input
B. output
C. calculation
D. storage

16. Step 5 in the above algorithm is an example of _________ statement.

A. input
B. output
C. processing
D. storage

17. What is the MOST appropriate control structure to be used in calculating the total
of ten numbers?

A. If-then-else
B. Repeat-until
C. While-endwhile
D. For-endfor

3
Short Answer Items
Answer all items

1. Suppose you are baking a cake. The recipe states: "Mix the ingredients, bake at 350°F for
30 minutes, then let cool." How is this process similar to an algorithm?

2. You are creating instructions for setting up a new computer. Your steps are:

1) Plug in the monitor and System unit.


2) Turn on the monitor.
3) Install the operating system.

Why would this NOT be a valid algorithm?

3. You need to explain how to calculate the area of a rectangle (length × width) to a team of
beginners. Which representation of algorithms would be easiest to use, and why?

4. You are creating an algorithm for a vending machine. If the customer selects an item and
has enough money, the machine dispenses the item. Otherwise, it asks for more money.
Which control structure is being used?

5. List and briefly describe three characteristics of a valid algorithm.

6. Why must an algorithm have a logical flow of control?

7. Why might someone choose a flowchart over pseudocode when representing an


algorithm?

8. Give an example of a real-life problem that uses an iteration control structure.

9. Explain the difference between sequencing and iteration in control structures.

You might also like