Module 2 "Program Logic Design and Formulation" Flashcards
______ is a procedure or formula for solving a problem, based on conducting a sequence of specified actions.
Algorithm
Algorithm can be expressed using __________ or ________.
pseudocode or flowchart
Plan the ______ that will transform the problem’s input into its output.
algorithm
Write the algorithm in the Processing column of the _____________.
Input- Process-Output (IPO) chart.
Each instruction in the _________ will describe an action that the computer needs to take.
algorithm
Thus, each instruction should start with a ______.
verb
Most algorithms begin with instruction to enter the _______ into the computer.
input items
record instructions to process the _______ to achieve the problem’s output.
input items
The processing typically involves performing one or more calculations using the _______.
input items
Most algorithms end with instruction to __________
display, print, or store the output items.
___________ refer to the computer screen, printer, and a file on a disk, respectively.
Display, print, and store
_________ is called false code because, it has no syntax like any of the programming language and thus can’t be compiled or interpreted by the computer.
Pseudocode
Pseudocode is simply an implementation of an algorithm in the form of ______________________.
annotations and informative text written in plain English.
Pseudocode is not __________.
standardized
In Pseudocode, _________ are used to indicate common input- output and processing operations. They are written fully in uppercase.
keywords
Pseudocode also used mathematical, relational and logical operators to express ________ and ________
arithmetic and logical operations.
When writing pseudocode, we assume that the order of execution of the statements is from ________
top to bottom.