Module 2 Flashcards
Most algorithms begin with instruction to enter the _______ items into the computer.
Input
Pseudocode is a formal way of writing a program.
False
When writing pseudocode, we assume that the order of execution of the statements is from bottom to top.
False
The processing typically involves performing one or more calculations using the ________ items.
Processing
In writing Pseudocode, which of the following is best used when there are many possible outcomes to a condition?
case-others-endcase
Jay-ar wants to compute for the area of a circle. Which of the following serves as the processing item?
Area = pi r^2
Pseudocode represents the algorithm of the program in natural language and mathematical notations.
True
An algorithm helps to simplify and understand the problem while pseudocode is a method of developing an algorithm.
True
Which of the following is not true about pseudocode?
Pseudocode is a formal way of writing a program.
In decision symbol, two or three flow lines should leave one for each possible answer.
True
If the flowchart becomes complex, it is better to use intersection of flow lines.
False
Flow lines indicate the approximate sequence in which instructions are executed.
True
There could be two or more flow lines that should enter a decision symbol.
False
A flowchart shape that is used for making decisions
Diamond
It is a flowchart symbol that is used as a connector to show a jump from one point int the process flow to another within the same page.
Circle
Flowcharts play an extremely important role in displaying information and assisting reasoning.
True
Identify the correct flowcharting symbol that represents the statement “PRINT Stud, Ave”
Parallelogram
The flowchart should be clear, neat and easy to follow.
True
To iterate is to repeat a set of instructions in order to generate a sequence of outcomes. Which of the following keyword is used for iteration?
FOR - ENDFOR
Each instruction in the algorithm will describe an action that the computer needs to take.
True
Use appropriate naming conventions and be consistent in writing pseudocodes.
True
Pseudocode is called false code because, it has no syntax like any of the programming language
True
Most algorithms end with instruction to display, print, or store the ________ items.
output
This will show your output to a screen or the relevant output device.
Print, Output, Display, Show