0% found this document useful (0 votes)
21 views7 pages

What Is Algorithm?: Name: Sheniel Ann Omega Course/Section: BSIT 1104 Date: 10-09-2024

Uploaded by

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

What Is Algorithm?: Name: Sheniel Ann Omega Course/Section: BSIT 1104 Date: 10-09-2024

Uploaded by

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

Name: Sheniel Ann Omega Course/Section: BSIT 1104 Date: 10-09-2024

1. What is algorithm?
An algorithm is a methodical process or formula for accomplishing a task or
solving an issue. It is composed of a series of guidelines or directives that
specify a procedure; it is frequently applied in data processing,
programming, and mathematics. Algorithms can be as basic as a cake
recipe or as sophisticated as those employed in data analysis and artificial
intelligence. They are necessary to ensure consistency in the way problems
are treated and resolved as well as to automate processes.

2. What is flowchart?
A flowchart is a visual representation of a process or algorithm. It uses
standardized symbols and arrows to illustrate the steps in a sequence,
making it easier to understand how a process works. Common symbols
include:

 Oval: Start and end points


 Rectangle: Process steps or actions
 Diamond: Decision points that require a yes/no answer
 Arrows: Direction of flow

Flowcharts are useful for planning, documenting, and analyzing processes,


as they provide a clear and concise way to communicate complex ideas.
They can be applied in various fields, including business, engineering, and
computer science.

3. How do you know where flowchart begins?


An oval shape, frequently marked "Start" or "Begin," marks the beginning of
the process that is being depicted in a flowchart. From there, the flowchart
shows the order of actions or decisions that follow by moving through
different steps that are represented by rectangles, decisions (diamonds),
and other symbols. The flow keeps going until it reaches another oval shape
that says "End" or "Finish," denoting the process's completion.
1. What name is given to the start and end symbol?
The start and end symbols in a flowchart are commonly referred to as
terminators. They are usually represented by oval shapes and are labeled
"Start" and "End" (or "Begin" and "Finish"). These symbols help to clearly
indicate where the process begins and where it concludes.

4. What are the lines in a flowcharts called?


The lines in a flowchart are called flow lines or arrows. They indicate the
direction of the process flow, connecting the different symbols and showing
the sequence of steps or actions. Flow lines help to guide the viewer
through the process, illustrating how one step leads to the next.

5. What do the flow lines do in a flowcharts?


Flow lines in a flowchart indicate the direction of the process flow. They
connect different symbols, showing how one step leads to the next. By
using arrows, flow lines help clarify the sequence of actions and decisions,
guiding the viewer through the process and making it easier to understand
the overall structure and logic.

6. ?
7. FALSE
8. What are the following symbols used to show?

The oval symbol in a flowchart is used to


represent the start and end points of a
process. It indicates where the process
begins (labeled "Start" or "Begin") and
where it concludes (labeled "End" or
"Finish"). This helps to clearly define the
boundaries of the flowchart and provides
a visual cue for the beginning and
ending of the process being described.
The diamond symbol in a flowchart is
used to represent a decision point. It
indicates a point in the process where a
yes/no question or a condition is
evaluated. Depending on the outcome of
the decision, the flow will diverge along
different paths, leading to different steps
or actions based on the result. This helps
to illustrate branching in the process and
shows how different scenarios can lead
to different outcomes.

The parallelogram symbol in a


flowchart is used to represent input
and output operations. It indicates
where data is entered into the
process (input) or where results are
generated and displayed (output).
For instance, it can signify actions
like entering information, reading
data from a file, or presenting results
to the user. This symbol helps clarify
how information flows into and out of
the process being described.

10. What name is given to the diamond shape?


The diamond shape in a flowchart is commonly referred to as a decision
symbol or simply a decision. It represents a point in the process where a
decision is made, typically involving a yes/no question or a choice between
multiple options.

11. What should be next to the lines coming out of the decision box?Next to
the lines coming out of the decision box (diamond shape) in a flowchart,
there should be symbols that represent the subsequent actions or processes
based on the outcomes of the decision. Each line typically leads to a different
step, and these steps can be represented by:

 Process symbols (rectangles) for actions to be taken if the condition


is
 Met (e.g., "Yes" or "True").
 Additional decision symbols (diamonds) if further questions or
choices are needed.

It's important to label the lines or arrows (e.g., "Yes," "No," "True," "False") to
clearly indicate what each outcome represents.

12a. Give an example of an input

The input could be provided by a user like at an ATM machine or in a form


online or it could data provided by an instrument like a temperature read.
12b. Give an example of an output

Examples of an output using a document symbol include generating a


presentation, memo, or letter. Indicates a question to be answered — usually
yes/no or true/false.

1. In the flowchart above, what will be the first action you take?

ANSWER: In flowchart above my first action will take is take one step.

2. If you haven’t gone 50 steps yet, what will you do next?

ANSWER: I WILL COUNTINUE TO STEPS UNTIL IT COUNTS TO 50 STEPS.

3. If you’ve gone 50 steps, what do you do?

ANASWER: I WILL STOP BECAUSE THE COUNT IS ALREADY IN 50.

4. Describe the eventual result of your actions if you follow the flowchart
above from start to finish

ANSWER: Walk forward for 50 steps.

START
Select something
to wear

Check your alarm Get dressed


clock
Look for shoes
Hit snooze button

Time
to get
up? Check
No
time to
leave

Get out of bed Yes

Put shoes on
Put toast in the toaster

Wait
Eat breakfast

Brush teeth Check No


time to
leave
Turn on shower

Yes

Turn on shower Leave the house


Water at
correct
temperature NO
END

YES

Take shower

Comb hair

6. What behavior does the flow charts below describe?


ANSWER: filling a tire with air from a pump.
7. Create flowcharts to represents these short tasks:
A. B.
START START

Yes
Raining Take a step
outside?

Bring umbrella

END

C.

No

Yes

Stop robot

END

You might also like