0% found this document useful (0 votes)
4 views3 pages

Programming IL 2

The document defines a flowchart as a diagram representing the sequence of actions in a system. It lists eight symbols used in flowcharts, including Start/End, Action or Process, Document, Decision, Input/Output, Manual Input, and Preparation symbols, along with their meanings. Additionally, it explains control structures in programming, detailing sequential, decision, and loop control structures with examples from C++.

Uploaded by

Ericka Umali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

Programming IL 2

The document defines a flowchart as a diagram representing the sequence of actions in a system. It lists eight symbols used in flowcharts, including Start/End, Action or Process, Document, Decision, Input/Output, Manual Input, and Preparation symbols, along with their meanings. Additionally, it explains control structures in programming, detailing sequential, decision, and loop control structures with examples from C++.

Uploaded by

Ericka Umali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Programming IL 2

Direction: Write your responses on the provided space. Once you done attach this to the given link for
submission.

1)​ Define Flow Chart


A flowchart is a diagram of the sequence of movements or actions of people or
things involved in a complex system or activity.

2)​ Give at least 8 symbols and its meaning.

Start/End Symbol
The terminator symbol marks the
starting or ending point of the system. It
usually contains the word "Start" or
"End."

Action or Process Symbol


A box can represent a single step ("add
two cups of flour"), or and entire
sub-process ("make bread") within a
larger process.

Document Symbol
A printed document or report

Multiple Documents Symbol


Represents multiple documents in the
process
Decision Symbol
A decision or branching point. Lines representing different decisions emerge
from different points of the diamond

Input/Output Symbol
Represents material or information entering
or leaving the system, such as customer
order (input) or a product (output).

Manual Input Symbol


Represents a step where a user is
prompted to enter information manually.

Preparation Symbol
Represents a set-up to another step in the
process

3)​ Define Control Structure


A control structure is like a block of programming that analyses variables and
chooses a direction in which to go based on given parameters. The term flow
control details the direction the program takes (which way program control
"flows"). Hence it is the basic decision-making process in computing; It is a
prediction.
4)​ Identify and define these Types of Control Structure

Sequential Control Structure: This refers to the line-by-line execution, in


which statements are executed sequentially, in the same order in which
they appear in the script. They might, for example, carry out a series of
read and write operations, arithmetic operations, or assignments to
variables.
Decision Control Structure: Depending on whether a condition is true or
false, the decision control structure may skip the execution of an entire
block of statements or even execute one block of statements instead of
another.
In C++, these are the types of selection statements:
●​ if
●​ if/else
●​ switch

Loop Control Structure: This is a control structure that allows the


execution of a block of statements multiple times until a specified condition
is met.
In C++, there are three types of loops:

●​ while
●​ do/while
●​ for

You might also like