Chapter 4
Chapter 4
a. Algorithms
b. Simple problem
c. Both a and c
d. None of them
a. Act it out
c. Draw a diagram
d. Leaving it unsolved
a. Flow diagram
b. Flowcharts
c. Circuit diagram
d. Both a and b
4. _____________________ instruct the computer to carry out actions based on certain conditions:
a. Syntax
b. If-Else
c. IF
d. Both b and c
a. Pseudocode
b. Instruction
c. Block of code
d. Flowchart
4. Problem-solving strategy in which one looks for the patterns involved is called
_____________________.
x=30
z=25
if z<x:
else
end if
5. How would you differentiate between if statement and if-else? Which one in your opinion is more
Higher-order questions:
2. You have studied nesting in algorithmic thinking. Why do you think it’s useful? Can we nest
conditional statements? If yes, how? Give an example.