Audio Transcript Auto-generated
- 00:00 - 00:02
Oh, welcome, everyone.
- 00:03 - 00:06
In this video, we're going to talk about algorithms and
- 00:06 - 00:09
protests and how they are related to the computers.
- 00:13 - 00:18
An algorithm Issa conjuction off operations that solved a mathematical
- 00:18 - 00:24
process. Computers that really related to algorithms because, as you
- 00:24 - 00:29
know, computer use a finance system, which is based in
- 00:29 - 00:34
one on zero numbers, so thio to combine them on
- 00:34 - 00:38
to keep orders and perform different tax, different taxes.
- 00:38 - 00:45
Computer smile Must use Calgary mathematical algorithms system a binary
- 00:45 - 00:56
Oh, uh, mathematical in an algorithm.
- 00:57 - 00:59
The order is really important.
- 00:59 - 01:02
If we change the order of the operations, we're not
- 01:02 - 01:03
going to get what we want.
- 01:04 - 01:07
For example, when you are going to turn on a
- 01:07 - 01:10
car, you have to follow the the order of the
- 01:10 - 01:11
things to do.
- 01:11 - 01:14
First, you must put the key into the car on.
- 01:14 - 01:15
Then you have to turn it around.
- 01:16 - 01:18
If you try to turn it home without putting the
- 01:19 - 01:21
key inside the whole, it's not going to turn on.
- 01:22 - 01:28
Same happens if you want to open or you if
- 01:28 - 01:30
you tell the computer to open up a program.
- 01:31 - 01:34
There are some elements that some things that you have
- 01:34 - 01:57
to do but i una If we change the order
- 01:57 - 02:01
of things, if we try to open the the the
- 02:01 - 02:05
animation before clicking it, we're not going to define which
- 02:06 - 02:07
program is it going to open?
- 02:08 - 02:17
Wow. The simplicity is also very importantly for for computers,
- 02:17 - 02:21
because we try, we have to try Thio.
- 02:22 - 02:27
Give us less task orders to the computer as we
- 02:27 - 02:44
can. Programa Very obvious mm in computers.
- 02:45 - 02:49
As we have said, program is based in mathematical algorithms
- 02:50 - 02:55
because computers are based in the by by language, which
- 02:55 - 02:57
is ones on zero number.
- 02:58 - 03:02
So you combine those way have to use mathematical algorithms.
- 03:05 - 03:09
All these mathematical algorithms can be represented in what is
- 03:10 - 03:11
called a flow chart.
- 03:12 - 03:16
Floater is a diagram that represents a process or a
- 03:16 - 03:20
workflow. And, as we have said, they can be used
- 03:20 - 03:30
to represent algorithms, flujo filter, assume, represent down, Professor.
- 03:30 - 03:36
Oh, the Yeah, there are some symbol specific symbols that
- 03:36 - 03:40
we must use when we're drawing a floater because its
- 03:40 - 03:42
symbol is going to mean something.
- 03:43 - 03:46
You have here all the symbols that we are going
- 03:46 - 03:46
to use.
- 03:47 - 03:50
The first one which is around the circle, is the
- 03:51 - 03:54
Terminator. We can use it for the start before the
- 03:54 - 04:06
ending, A similar the then for any process or for
- 04:06 - 04:08
any actions were going to use a rectangle.
- 04:09 - 04:12
So every time we see a rectangle, we already know
- 04:12 - 04:17
that that's going to be a process on action representing
- 04:17 - 04:22
professors or Internet professors.
- 04:23 - 04:26
Or when we have, we want to introduce a decision
- 04:27 - 04:31
or two paths or two variables we're going to use.
- 04:32 - 04:36
They cannot introduce.
- 04:40 - 04:44
The delay is going to be a with a circle
- 04:45 - 04:45
on one side.
- 04:46 - 04:57
L is delays a really important when we're talking about
- 04:58 - 05:01
computers when we're talking about programming because, as you know,
- 05:01 - 05:03
electricity and computers really, really fast.
- 05:04 - 05:10
So if we don't introduce delays, we aren't going to
- 05:10 - 05:13
be able Thio see what's happening or made to see
- 05:13 - 05:17
the results about what we're there for me is what
- 05:17 - 05:19
I intended with K.
- 05:24 - 05:29
Did that, uh, that we can introduce into the computer
- 05:29 - 05:33
or when we are going to collect some information from
- 05:33 - 05:37
outside. It's going to be given in a movement.
- 05:45 - 05:49
Uh, for example, if we're collecting the amount of light
- 05:50 - 05:53
that we have in our room to turn on or
- 05:53 - 05:57
off the lights, automated Lee uh, that information is going
- 05:58 - 06:00
to be represented in that symbol.
- 06:01 - 06:05
Yeah. And on the other hand, if we want to
- 06:05 - 06:10
give some information outside, for example, through a screen, we're
- 06:10 - 06:15
going to use the document symbol, which has a line
- 06:16 - 06:25
like this on the lower part, that simple is going
- 06:25 - 06:27
to be used when we want Thio.
- 06:28 - 06:32
Give some information after performing a task.
- 06:42 - 06:46
For example, if we want to turn on the TV
- 06:47 - 06:54
a. The the thing off the way to represent the
- 06:55 - 06:59
images are appearing in the TV should be in that
- 07:00 - 07:09
symbol. Finally, here you have some examples off different mathematical
- 07:09 - 07:13
algorithms represented in a flow chart, as you can see
- 07:13 - 07:14
in both of them.
- 07:15 - 07:18
To start at the end has the same symbol on
- 07:19 - 07:21
then in both of them were going to introduce some
- 07:22 - 07:26
information, and the first one, the one on the right.
- 07:27 - 07:31
You can see that we are interesting three numbers in
- 07:31 - 07:32
this case.
- 07:32 - 07:34
Three. That valley.
- 07:34 - 07:40
We're going to use that that's a symbol, and moments
- 07:41 - 07:45
on then we introduced the decision making symbol on.
- 07:46 - 07:48
As you can see, it's going to give us two
- 07:49 - 07:50
possible option recision.
- 07:51 - 07:55
Making simple is the only one that can have two
- 07:55 - 07:58
arrows coming out from form it.
- 08:01 - 08:12
Those, um, produced what we're going to think that that's
- 08:12 - 08:18
nto. In that case, it's going thio Compare the number
- 08:19 - 08:21
A with the number B and the number of the
- 08:21 - 08:22
with the number six.
- 08:23 - 08:25
If they think that you have in There is yes.
- 08:26 - 08:29
Is that the number eight on the number of B.
- 08:30 - 08:32
The number is higher than the number B and the
- 08:33 - 08:36
university. It's going to give us a non answer how
- 08:37 - 08:40
well, maybe in a screen, it's going to tell us
- 08:40 - 08:46
that the number A is the highest represented.
- 08:56 - 08:58
And if the answer is no, you're going to use
- 08:59 - 09:02
to choose another fat, and you have thio compare the
- 09:03 - 09:03
numbers again.
- 09:04 - 09:08
He knows well, we're process and the other option.
- 09:09 - 09:11
In the other example, you can see that we are
- 09:12 - 09:14
introducing two numbers instead of three.
- 09:14 - 09:17
Again, we use the same simple changes with the numbers
- 09:18 - 09:21
on. Then you have a rectangle because you have we
- 09:22 - 09:23
have to make an operation.
- 09:24 - 09:29
It's a process professor in action on that is inside
- 09:33 - 09:39
so okay on then it's going to give us again
- 09:40 - 09:41
two options.
- 09:41 - 09:44
So if you have two options we have to put
- 09:44 - 09:48
the decision making him and its option.
- 09:49 - 09:52
We're going to choose one or the other on again.
- 09:52 - 09:53
We have to document symbol.
- 09:54 - 09:57
So it it is telling me that I am going
- 09:57 - 10:01
to get that information ridden somewhere in a screen water
- 10:02 - 10:07
way will keep working on this.
- 10:08 - 10:13
How to represent your project, your project into a flow
- 10:13 - 10:15
chart. Thanks for watching.
- 10:16 - 10:17
We'll see you next day.