Unit 2:L2 - Algorithms design using pseudocodes and program flowcharts Flashcards
What are constants?
They are data values which can be introduced at the beginning of the program.
What pseudocodes?
One of the methods that can be used to represent an algorithm
Characterisitics of pseudocodes:
Lots of format
Not written in a specific syntax therefore can’t be executed in a computer
What are the commands used in pseudocodes?
INPUT
OUTPUT
DECLARE
INITIALIZATION
What is the structure of a program?
INPUT
OUTPUT
DECLARE
INITIALIZATION
PROCESS
What is INPUT?
Assigned it’s variable called FullName
What is OUTPUT?
Display the value stored in variable FullName
What are the 2 prompts?
INPUT PROMPT
OUTPUT PROMPT
What is the string often called as?
It is often called as OUTPUT PROMPT or INPUT PROMPT.
What does the string contain?
Helpful texts to identify the result that is produced by the program.
What is DECLARE?
Any variables to be used in the pseudocodes can be declared using the keyword DECLARE.
What is INTIALIZATION?
Variables which need to be intialized.