Unit 5 Lesson 8
Unit 5 Lesson 8
VILLAPLAZA
BSME-2B AOL
Unit 5
PROGRAM DESIGN TOOLS: FLOWCHART AND PSEUDOCODE
ACTIVITY 5.1.1
Scenario; you’re trying to log in your Facebook account to your computer, it says that your
password is incorrect and your account was locked. What do you do to solve this problem
and login to your account successfully? List down all steps
1. Type the email and the password.
2. If it is found that the password is incorrect, by clicking the forgot password button,
and select options
3. Wait for a minimal second, the Fb maybe retrieved through the domain email by
sending the notice.
4. Fb will send the reset setting to the anchored Gmail account for possible retrieval of
the account.
5. Right then, change for password by inputting the new one that will ensure to log
successfully.
Analysis
In the previous activity, I encountered difficulty on?
- I have encountered difficulties in pseudo code because it is my first time to study it.
APPLICATION
PROGRAM DESIGN: it is on how or what approach are you going to do in programming or
solving the problem, phrase where the programmer determine the logic of the program to
solve a certain problem.
FLOWCHART; graphical representation of steps on how to solve a problem
PSEUDO CODE; artificial and informal language that helps programmer develop algorithms.
REFLECTION/ LEARNING INSIGHTS
1. Before taking up this lesson what is your idea on planning of the program?
- I don’t have any idea on planning of program before.
2. What do you think the important of understanding the activities in program design?
- I think, to be more familiar in the deep concept of making flowchart, algorithm, pseudo
code.
3. Assure from programming, in what area in your life will you apply this method to give a
solution to a problem?
- In the daily life that people have, it is really important to use tools and equipment for
every actions specifically the hard one. These innovative tools where programming is
involved, simple or complex will lead to a good result. Strongly beneficial to the people
who used to it.
LESSON 2:FLOWCHART
Activity 5.2.1
Let’s begin the lesson by answering the activity below for you to fully understand the concept
of a flowchart. This section will introduce you to the lesson proper and a review as well. Pick
the symbols from the box and draw the correct symbols for each function. Good luck!
Analysis
Congratulations on performing the first task. For you to move forward you must understand
and reflect first on your previous activity. Complete each statement based on your experience.
Application
This section is created to apply your knowledge and show what you’ve got.
Prepare yourself as you are going to create your flowchart. Good luck!
Product: A flowchart for each problem. Write your answer on a clean sheet of
bond paper.
Activity 5.3.1
Let’s have an ice breaker. Show your entry-level knowledge on writing a pseudocode. Take a
look at a flowchart below. This is the step in logging in to a Facebook account. Your task is to
convert this flowchart into a worded procedure.
This will test also if you remember the function of each flowchart symbol. Write your
answer on the space provided. Good luck!
PSEUDO CODE
BEGIN
ENTER WWW.FACEBOOK.COM
ENTER EMAIL AND PASSWORD
ELSE EMAIL AND PASSWORD IS INCORRECT
IF EMAIL AND PASSWORD IS COFREECT
ENTER DISPLAY ACCOUNT
END.
Analysis
Isn’t challenging? Don’t worry, it was just a pre-assessment of what you know about the topic.
Can you share your reflections on previous the activity? Complete each statement below.
ANALYSIS
1. How did the activity hell you gain more knowledge in preparation.
- It helps me to know and create steps and ways to logically solve the problem.
2. Do you think you were able to convert the flowchart into pseudo code, correctly? If now what
Hindered you to do so?
- Yes, but still there are still hindrance because I need to identify of what would I put in
words.
3. Write your expectations in this topic below
- To learn more and to know more about programming, I expect that pseudo code and
flowchart must be important and relevant in programming.
1. Flowchart
2. Test data
3. Input Process and Output
4. Pseudo code
5. Algorithm
6. Program, algorithm, flowchart and pseudocode
7. Terminal
Part 2: Flowchart
Fill in the blank. Complete each sentence by supplying the correct word.
1. A program flowchart indicates the problem to be performed and the symbol in which they
occur.
2. A program flow chart is generally read from top to bottom.
3. Flowcharting symbols are connected together by means of flow line.
4. A decision symbol used in determining the true or false of the two data items
5. Arrows are used to join remote position of a flow chart.
6. Off page connector connectors are used when a flowchart ends on one page and begin again
on the other page.
7. Terminal symbol used at the beginning and end of a flow chart.
8. Flow chart is one of the best way of solving a program.
9. To construct a flow chart, one must adhere to prescribe symbols provided by the component.
10. The programmer uses a symbols to aid in drawing flowchart symbols.
Part 3: Pseudocode
4. Make a flowchart and pseudocode that will accept the three numbers and will display the
numbers in order from the smallest to longest.
Begin
Input 1.2.3
Do increasing from smallest to highest(longest)
Arrange 1,2,3
End
5. Find the average high number, low number, sum of 5 numbers given by the user.
Begin
Input
N = number given by the user
X = average high number and low number
5 = constant
Compute
N+5=X
If X is high number
Else -X is a lower number
End
Final requirements
Writing a flowchart and pseudocode. Use flowchart and pseudocode to specify the algorithm
for an ATM bank machine, the ATM has four options.
1. Balance inquiry
2. Cash deposit
3. Cash withdrawal
4. Quit
After an option has been selected, the ATM will continue displaying the four options to the
person until he selects the option to quit the ATM.