HOW TO CREATE FLOWCHART | LOGIC FORMULATION |TAGALOG| Beginners Guide 2020
Summary
TLDRThis video introduces the concept of flowcharts in computer programming, emphasizing their role as graphical representations of algorithms or programs. It outlines various flowchart symbols like terminal blocks, process blocks, input/output blocks, decision blocks, and connectors, explaining their functions. The video differentiates between declaration and initialization, using baking a cake as an analogy. It also discusses the significance of flow lines in indicating data direction. The tutorial concludes with a teaser for the next video, which will involve creating flowcharts to solve problems.
Takeaways
- š A flowchart is a graphical representation of a sequence of operations in an algorithm or program.
- šµ Flowcharts use various symbols like terminal block, process block, input/output block, decision block, and flow lines to represent different operations.
- š“ Terminal blocks are oval or rounded rectangles used to indicate the start and end of a module or program.
- š The difference between declaration and initialization is that declaration states variable names without values, while initialization sets starting values for variables.
- š¹ Process blocks, represented by rectangles, are used for actions like calculations, opening/closing files, etc.
- š¼ Input/output blocks are parallelograms that represent input or output operations, using verbs like 'get', 'enter', 'input' for input, and 'display', 'print' for output.
- š Decision blocks are diamonds that represent decision points with one entrance and two exits for true/false conditions.
- š Connectors are circles used to connect non-adjacent parts of a flowchart, but should be used sparingly to maintain readability.
- š Flow lines are straight lines with arrowheads that show the direction of data and connect different blocks in a flowchart.
- šÆ The video tutorial aims to teach viewers how to create flowcharts and solve problems using them.
Q & A
What is a flowchart?
-A flowchart is a graphical representation of a sequence of operations, containing symbols that describe how an algorithm or a program operates.
What are the different symbols used in a flowchart?
-Flowcharts use symbols such as terminal block, process block, input/output block, decision block, initialization block, connector, and flow lines.
What does a terminal block represent in a flowchart?
-A terminal block, indicated by an oval or rounded rectangle, represents the start and end of a module or program.
What is the difference between declaration and initialization in the context of flowcharts?
-Declaration is stating a variable name to be used, while initialization sets a starting value for a variable. For example, in baking a cake, declaring flour means you need it, but initializing it means you need 3 cups of flour.
What is a process block and what does it represent?
-A process block, represented by a rectangle, indicates a process such as calculations, opening and closing files, and has one enter and one exit point.
What does an input/output block represent and what verbs are typically used within these blocks?
-An input/output block, represented by a parallelogram, indicates input or output operations. For input, verbs like 'get', 'enter', or 'input' are used, while for output, 'display' and 'print' are common.
How is a decision block depicted in a flowchart and what does it represent?
-A decision block is depicted by a diamond and represents a decision point with one entrance and two exits, one for when the condition is true and the other for when it is false.
What is a condition in the context of flowcharts?
-A condition in flowcharts is a question or statement that yields a true or false, yes or no answer, guiding the flow of the algorithm.
What is the purpose of a connector in a flowchart?
-A connector, represented by a circle, is used as a connection point between two sections of a flowchart that are not adjacent and is meant to enhance readability by avoiding clutter.
Why should connectors be used sparingly in flowcharts?
-Connectors should be used sparingly because overuse can decrease readability and produce a cluttered effect, making the flowchart difficult to understand.
What is the significance of flow lines in a flowchart?
-Flow lines, indicated by straight lines with arrowheads, show the direction of data and connect blocks by exiting from one and entering another, representing the sequence of operations.
Outlines
š Introduction to Flowcharts
This paragraph introduces the concept of flowcharts within the context of computer programming. A flowchart is defined as a graphical representation of a sequence of operations, utilizing various symbols to depict how an algorithm or program functions. The narrator explains that flowcharts are composed of different shapes, each with a specific meaning, such as terminal blocks for start and end points, process blocks for actions, input/output blocks for data exchange, decision blocks for conditional statements, and connectors for linking distant parts of the flowchart. The paragraph also differentiates between declaration and initialization, using baking a cake as an analogy to clarify the concepts.
š Flowchart Symbols and Their Functions
The second paragraph delves deeper into the specific symbols used in flowcharts and their functions. It describes the process block, which is represented by a rectangle and is used for actions like calculations and file operations. The input/output blocks, indicated by parallelograms, are explained with examples of verbs used within them, such as 'get' for input and 'display' or 'print' for output. Decision blocks, symbolized by diamonds, are detailed with an explanation of how they handle true or false outcomes. The paragraph also discusses the use of connectors, which are circles used to link non-adjacent parts of a flowchart, with a note on their limited use to maintain readability.
š Conclusion and Call to Action
The final paragraph serves as a conclusion to the video script, reminding viewers of the upcoming content where a flowchart will be created to solve problems. It encourages viewers to subscribe to the channel and to watch the next video. Additionally, it prompts viewers to click the notification bell to receive updates on tutorial videos, indicating the end of the current session.
Mindmap
Keywords
š”Flowchart
š”Symbols
š”Terminal Block
š”Initialization Block
š”Process Block
š”Input/Output Block
š”Decision Block
š”Flow Lines
š”Connector
š”Algorithm
š”Condition
Highlights
Introduction to flowcharting as a method for visualizing algorithms in computer programming.
Definition of a flowchart as a graphical representation of a sequence of operations.
Explanation of the different symbols used in flowcharts to represent operations.
Description of the terminal block symbol used to indicate the start and end of a program.
Clarification of the difference between declaration and initialization in programming.
Example of how to use the declaration block to state variable names.
Example of how to use the initialization block to set starting values for variables.
Explanation of the process block and its use for calculations and file operations.
Description of the input/output block and its representation by a parallelogram.
Usage of verbs like 'get', 'enter', or 'input' for input operations.
Usage of verbs like 'display' and 'print' for output operations.
Introduction to the decision block symbolized by a diamond shape.
Explanation of how conditions in decision blocks lead to true or false outcomes.
Description of connectors as circles used to connect distant parts of a flowchart.
Advice on using connectors sparingly to maintain readability.
Encouragement to watch the next video for practical flowchart creation.
Invitation to subscribe to the channel for more tutorial videos.
Transcripts
okay guys welcome to ITs information technologyĀ skills so for today's video we're going to haveĀ Ā
logic formulation which starts with flowchartingĀ this is the lesson three of our introduction toĀ Ā
computer programming So let's start,Ā
what is a flowchart? a flow chart is a graphicalĀ representation of a sequence of operationsĀ Ā
a flowchart contains symbol describing howĀ an algorithm or a program operates well theĀ Ā
example of flow chart is this so basically guysĀ on flowchart they are graphical representation orĀ Ā
images that represents the sequence or arrangementĀ of an operation then a flowchart uses differentĀ Ā
symbols or shapes which will be discussed forĀ the next slide to representing an operationĀ Ā
okay what either symbol used in flowchart so forĀ the symbols we have the following terminal blockĀ
process black input or output blockĀ
decision blocks initialization blockĀ
connector and flow linesĀ
flow lines indicate by straight lineĀ with arrow to show the directions ofĀ Ā
data so basically a flow lines guys theyĀ are line with an arrow head to show theĀ Ā
direction or what is the next step for the data
used to connect blocks by exiting from one and entering from another if you're going toĀ look at the image that is an example of flow lineĀ Ā
terminal ovals or rounded rectangles are usedĀ to indicate the start and the end of the module orĀ Ā
a program. So from the word terminal block this is the symbol used for the termination
or start of an algorithm or flowchart okay soĀ we have two: the start and End and so basically from
the words start , that is the start of the flowchartĀ and the end is the last or the ending point ofĀ Ā
the flowchart so don't forget guys on flowchartĀ is an algorithm graphical representation that is why we need End
then next we have theĀ initialization blockĀ Ā
use the declare or initialize variables needed to store a certain process so weĀ have the word declare Ā
so declaration stating aĀ variable name to be use then we have initializingĀ initialization to set a starting value of aĀ Ā variable
So what is the difference between declaration and initialization?
if we say declaration, you just stating the name for example: You will bake a cake
the declaration their is, you'll say that you need flour, egg, milk and water but no amount Ā
for the initialization, you will state the ingredientsĀ plus the amount okay so for example initializeĀ Ā
baking, you will say you need flour 3 cups, eggs 3 eggs, water 1 liter
okay that is initialization, you state what you need plus the value okey,
So to further explained to you we have the next slide
so thisĀ is an example of declaration if you're going toĀ Ā
observe we only have number one and number twoĀ but no value you are just statingĀ Ā
that you need that later on your algorithm then next the initialization for the initializationĀ Ā
it already have value or have contentĀ You are stating that the value of number one is 5Ā Ā
for num 2 is 3 so that's the difference between the two, then next we have the process block rectangleĀ Ā
indicates a process block okay so the simpleĀ use for process block is rectangle used for suchĀ Ā
thing as calculations, opening and closing filesĀ and so on okay so from the word process block
these are the processes or action that we doĀ so we have this example of processĀ Ā block
So we have here num1 and num2 then we want toĀ calculate there sum Ā
So we have here Sum equals to num1 plus num2 okay guysĀ don't forget you only have one enter and one exit pointĀ Ā
of a process block
then next we have the input and output block the parallelogram indicates inputĀ Ā
or output operations okay it is parallel okayĀ so this is an example of input an output blockĀ Ā
okay so you're going to observe the input it has get x okay for the input you can use the verbĀ Ā
get, enter or input okay so those are the verbs that you can use inside input block and forĀ Ā
the output block you can use the verb displayĀ and print then next we have the decision blockĀ Ā
the diamond indicates decision okey so theĀ symbol or the shape being used for decision blockĀ Ā is diamond
it has one entrance and exactly twoĀ exit from the block one exit is the action whenĀ Ā
the resultant is true and the other is false okayĀ so for the decision block we have this
if you'reĀ Ā going to observe it only have one arrow going to the conditionĀ a condition guys are questions areĀ Ā
statements that gives you an answer of true or false or yes or no so the conditions areĀ Ā
questions or statement that have an answerĀ of true or false, yes or no
an example is, Will I become an IT?Ā yes or no,
Is it good to be an IT? Yes or NO
Okey, So that is a condition
then next, if you're going to look at the decision blockĀ It has two exit point which isĀ Ā
the true or false okay so for the true or falseĀ it can be any symbol it can be processed blockĀ Ā
input/output block or terminal block so laterĀ on we are going to discuss that so the conventionsĀ Ā
or the questions that can be answered or givenĀ under conditions we have true or false, T orĀ Ā F
that is the same with true or false, yes or no (Y or N) same with yes or no then next we have theĀ Ā
connectors the circle is used as a connectionĀ point between two sections of flow chart the IĀ Ā
not adjacent and closely located to each otherĀ okay guys, we use the connector Ā Ā
to connect blocks that is too far okayĀ so for example you are writing aĀ Ā
flowchart but it is not fit to theĀ paper or on your work areaĀ Ā
So you are going to use a connector to connect Ā parts of the flowchart on the paperĀ Ā , okay
but we have this note okay connector should be used as little as possible so as muchĀ Ā
as possible, we should limit the use of connector okay this should only be used toĀ Ā
enhance readability so it is only useĀ to make your flowchart clean because it is
not good if you have too many lines on your flowchart however decreases readabilityĀ Ā
and produce cluttered effect okay it hasĀ some however it also have some negative effect
if you always use the connector so that'sĀ it guys it ends the session for today please don'tĀ Ā
forget to watch your next video because we are going to create a flowchart and some problems
that we can do with flowchartĀ okay so please don't forget to subscribe toĀ Ā
this video or this channel click this video hitĀ the notification bell for more tutorial videos
Browse More Related Video
Flowcharts for Programming - Lecture 1 | Prof. Kamal Ghanshala | Graphic Era University
Introductory fxDreema course. Video 5. The blocks (part 1)
Python Karel Algorithms
Perfecting LTF Orderblock Entries With CRT - Candle Range Theory - ICT Concepts
02 - Expressions B - Python for Everybody Course
Algoritma - Pengertian Algortima & Contoh Sehari-hari
5.0 / 5 (0 votes)