0% found this document useful (0 votes)
254 views

Lessson4-5 (Codechum)

The document contains multiple choice questions about algorithms, pseudocode, and flowcharts. It tests understanding of basic algorithmic concepts like the steps in a cooking rice algorithm, using the appropriate operation like multiplication to calculate total stickers, recognizing components of pseudocode and flowcharts, and tracing the logic and output of programs represented in pseudocode and flowcharts.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
254 views

Lessson4-5 (Codechum)

The document contains multiple choice questions about algorithms, pseudocode, and flowcharts. It tests understanding of basic algorithmic concepts like the steps in a cooking rice algorithm, using the appropriate operation like multiplication to calculate total stickers, recognizing components of pseudocode and flowcharts, and tracing the logic and output of programs represented in pseudocode and flowcharts.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

1.) Scenario: There is an algorithm in preparing rice. What is the first step in the given choices?

A. Cook the rice

B. Measure the rice

C. Rinse the rise

D. Serve the rice

2.) This is a set of steps used to complete a specific task.

A. Flowchart

B. Algorithm

C. Order

D. Routine

3.) The following image shows a simple arithmetical algorithm. What is the missing item here?

A. 123

B. 132

C. 213

D. 312
4.) “Zayd has 32 packs of stickers. Each pack has 467 stickers. He wants to know how many stickers there
are in all.” What do you think is the best algorithm to use in this situation?

A. Addition

B. Subtraction

C. Multiplication

D. Division

5.) “Zayd has 32 packs of stickers. Each pack has 467 stickers. He wants to know how many packs he can
give with an equal amount of stickers.” What do you think is the best algorithm to use in this situation?

A. Addition

B. Subtraction

C. Multiplication

D. Division

1.)

A. Represents a decision-making point

B. Represents arithmetic operations and data manipulations

C. Represents the start and the end of a flowchart

D. Represents the flow of the algorithm

2.)

A. Represents a decision-making point

B. Represents arithmetic operations and data manipulations

C. Represents the start and the end of a flowchart


D. Represents the flow of the algorithm

3.)

A. Represents a decision-making point

B. Represents arithmetic operations and data manipulations

C. Represents the start and the end of a flowchart

D. Represents the flow of the algorithm

4.)

A. Represents a decision-making point

B. Represents arithmetic operations and data manipulations

C. Represents the start and the end of a flowchart

D. Represents the flow of the algorithm

5.) This is a graphical representation of an algorithm.

A. Dropdiagram

B. Flowchart

C. Waveform

D. Streamshow
1.) This is one step used to show code hierarchy in a pseudocode.

A. Add indentation

B. Add a semicolon

C. Add curly braces

D. Add round brackets

2.) Examine the following pseudocode.

Let num1 = (5914x512) and num2 = (5614x1324)

What would be the output?

A. 7,432,936

B. 3,027,968

C. 5,014,423

D. 55,060,132

3.) Examine the following pseudocode.

What would be the output?


A. 5

B. 6

C. 7

D. 8

4.) Examine the following pseudocode.

What does INCREMENT mean here?

A. Compute

B. Initialize

C. Add

D. Multiply
5.) Examine the following pseudocode.

If we SET the variable i to 9 instead of 0 in the first line, what would be the output of the program?

A.

Hello World!

Programming with CodeChum!

B.

Programming with CodeChum!

Hello World!

C.

Hello World!

D.

Programming with CodeChum!

1.) Examine the following flowchart.


If we initialize i to 1 instead of 0, and change “is i == 7” to “is i == 9”, how many "Hello World"s would be
printed?

A. 6

B. 7

C. 8

D. 9

2.) Refer to the previous flowchart in #1. What does “add 1 to i” stand for?

A. Input/Output

B. Action or Process
C. Decision

D. Terminal

3.) Examine the following flowchart.

What does “Is c>b?” stand for?

A. Input/Output
B. Action or Process

C. Decision

D. Terminal

4.) Refer to the previous flowchart in #3. What does “Print b” stand for?

A. Input/Output

B. Action or Process

C. Decision

D. Terminal

5.) Refer to the previous flowchart in #3. What does “Declare variables a, b, and c” stand for?

A. Input/Output

B. Action or Process

C. Decision

D. Terminal

You might also like