Looks like no one added any tags here yet for you.
List the 3 components in problem solving
Input
Process
Output
What is “input”?
List of things that is required by the problem
What is “process”?
Actions that need to be done to get output
What is “output”?
Outcome desired
Define algorithm
A step-by-step procedure to solve a given problem
What is used to connect symbols and to show the flow in flowchart?
Lines and arrows
What is the purpose of this symbol?
Indicates the starting or ending point of the flowchart
What is the purpose of this symbol?
It symbolize input or output
What is the purpose of this symbol?
Symbolize any process in any algorithm
What is the purpose of this symbol?
To be use when there are decisions to be made in the logic
What are the 3 basic control structures?
Sequential
Selection
Repetition
Draw a flowchart for a computer program that will get two test results from the user, calculate the average of the test results and display the calculation result.
What is the difference between pseudocode and flowchart?
Pseudocode a structured English that has been formalized to look like the high-level computer languages while flowchart shows the program logic as each task is represented by certain symbols which are the connected by lines and arrows to show the flow.
Describe the structure of pseudocode?
Begin with “Start”
Body content(input, processes, output)
End with “End”
Keywords for input
Prompt and Get
Read
Keywords for output
Display
Output
Put
Write
A program is to receive three numbers from user, multiply all three numbers and display the result. Write the pseudocode..
Start
Declare variables, num1, num2, num3, result
Prompt and Get num1, num2, num3
Calculate result= num1*num2*num3
Display result
End
What is Desk-checking?
A process of tracing through the algorithm with several sample data
Algorithm can be implemented by using _________ and __________.
Pseudocode, Flowchart
Give an example of flowchart using selection
Give an example of flowchart using repetition.