1 00:00:01,899 --> 00:00:10,900 And this is the last presentation for today about programming. 2 00:00:10,900 --> 00:00:21,899 Programming is the application of other important things. 3 00:00:21,899 --> 00:00:29,899 We are going to talk about computational thinking and algorithms 4 00:00:29,899 --> 00:00:53,619 Which are a way you can solve problems in your daily life or in your personal life or in your career. It's very useful, this context. But they are also very difficult. 5 00:00:53,619 --> 00:01:13,620 It is also very useful, flowcharts and its applications, and finally we are going to do some programs using Scratch and a little bit of App Inventor. 6 00:01:13,620 --> 00:01:23,120 inventor is not very important because I think nowadays it is odd so it's not 7 00:01:23,120 --> 00:01:39,310 useful and if you if you can program with a scratch it will be enough in 8 00:01:39,310 --> 00:01:45,969 order to solve the project the problems the problems usually are very complex so 9 00:01:45,969 --> 00:02:02,969 So, you should discompose the problems in very simple problems, which are easy to solve. 10 00:02:02,969 --> 00:02:20,969 Besides this, sometimes you can categorize the problems and find a pattern which can solve a lot of problems. 11 00:02:20,969 --> 00:02:26,969 abstractions can solve a lot of problems. 12 00:02:26,969 --> 00:02:33,969 Finally, you can design a series of abstractions 13 00:02:33,969 --> 00:02:39,969 or order a step for performing an activity for solving a problem 14 00:02:39,969 --> 00:02:42,969 and this is an algorithm. 15 00:02:42,969 --> 00:02:51,599 In order to express algorithms 16 00:02:51,599 --> 00:03:03,599 You can use a flowchart. A flowchart is a set of symbols connected by arrows. 17 00:03:03,599 --> 00:03:11,599 And, for example, you have this one to start and end an algorithm. 18 00:03:11,599 --> 00:03:21,599 This one to input or output something. This one for processes and this one for decisions. 19 00:03:21,599 --> 00:03:32,599 If you do a good sequence and connect all of these with arrows, you have a flowchart. 20 00:03:32,599 --> 00:03:48,039 Apart from this, the programs and the algorithms can be categorized into three basic or simple structures. 21 00:03:48,039 --> 00:04:01,479 For example, this is a sequential algorithm that consists in one task and another. 22 00:04:01,479 --> 00:04:13,240 you can do two tasks at the same time and this structure is in the selective 23 00:04:13,240 --> 00:04:20,899 and iterative structure so it's very important that you know what you have to 24 00:04:20,899 --> 00:04:29,500 do these two symbols are important to know it and after that you have to defeat 25 00:04:29,500 --> 00:04:38,019 decisions and know the variables and constants you you will need in your 26 00:04:38,019 --> 00:04:46,680 program you could need you might need then you have to they then a value which 27 00:04:46,680 --> 00:04:54,540 is the the first the initial value and after that the operation operators or 28 00:04:54,540 --> 00:05:04,360 actions if you include in your algorithm and flowchart this symbol which is 29 00:05:04,360 --> 00:05:15,600 decision obviously it's a selective structure and you can do one task or 30 00:05:15,600 --> 00:05:29,199 another depending on a something a condition finally if you repeat a loop 31 00:05:29,199 --> 00:05:40,160 you have an interactive structure and it's very common in programming that you 32 00:05:40,160 --> 00:05:57,970 mixture different structures to build a very complex algorithm. Well, these 33 00:05:57,970 --> 00:06:07,430 algorithms need to be translated to the computer and for this you use 34 00:06:07,430 --> 00:06:19,620 the programming the programming language which can be a high level if are similar 35 00:06:19,620 --> 00:06:30,120 to human language or can be low level if they are more similar to the machine to 36 00:06:30,120 --> 00:06:36,779 be more come to to put all of this in practice in our subject we are going to 37 00:06:36,779 --> 00:06:45,779 use Scratch. Scratch is an object-oriented programming language 38 00:06:45,779 --> 00:06:54,180 and in this slide you can see more or less the different parts of the 39 00:06:54,180 --> 00:07:08,610 Scratch. We will do one or two examples in order to clarify all of this. 40 00:07:08,610 --> 00:07:18,329 we also we we we should view something about App Inventor but I know you 41 00:07:18,329 --> 00:07:25,649 haven't have enough time for this and it is complex but App Inventor is very 42 00:07:25,649 --> 00:07:35,310 similar to Scratch what is different is that it is used to to do apps for a 43 00:07:35,310 --> 00:07:42,870 smartphone, but nowadays it is off, so it's not important. As you can see, you 44 00:07:42,870 --> 00:07:52,709 have a layout for your screen, your mobile 45 00:07:52,709 --> 00:08:03,110 screen, and after that you can program it using blocks, a similarity to what you do 46 00:08:03,110 --> 00:08:11,269 in Scratch. To do examples put all of these in practice which is the most 47 00:08:11,269 --> 00:08:18,069 important because you have to learn how to program, you have to learn programming but 48 00:08:18,069 --> 00:08:25,629 you have to practice programming, it's the best way to learn all of this