1 00:00:08,030 --> 00:00:12,700 Hello, I'm here to tell you about your end of course project. 2 00:00:12,700 --> 00:00:15,500 This course project that you're about to do, 3 00:00:15,500 --> 00:00:19,350 will cover a lot of the concepts that you've already covered in the course. 4 00:00:19,350 --> 00:00:22,095 You'll have to do a series of problems that are of 5 00:00:22,095 --> 00:00:24,990 varying types and covering varying concepts. 6 00:00:24,990 --> 00:00:27,945 But all of these problems that you'll be doing 7 00:00:27,945 --> 00:00:32,280 are the kind of programs that lots of people use in their real lives. 8 00:00:32,280 --> 00:00:36,120 Accumulation, gathering data together, 9 00:00:36,120 --> 00:00:38,670 changing what it looks like in this little program. 10 00:00:38,670 --> 00:00:42,740 These kinds of programs that you're about to write in your project are 11 00:00:42,740 --> 00:00:48,175 possibly very applicable to your everyday life in school or work or wherever. 12 00:00:48,175 --> 00:00:50,840 I want to remind you of some tips that may be 13 00:00:50,840 --> 00:00:53,120 useful as you start to work on this project. 14 00:00:53,120 --> 00:00:55,415 So, first of all, as you know, 15 00:00:55,415 --> 00:00:58,580 you should always change one thing in a program, 16 00:00:58,580 --> 00:01:02,410 predict what will happen when you eventually run that program, 17 00:01:02,410 --> 00:01:05,430 after changing this and then try it. 18 00:01:05,430 --> 00:01:08,000 That way, if you've only changed one thing, 19 00:01:08,000 --> 00:01:09,980 made a prediction and then tried it, 20 00:01:09,980 --> 00:01:13,190 you will know whether or not that worked, 21 00:01:13,190 --> 00:01:14,990 whether or not your prediction was right. 22 00:01:14,990 --> 00:01:19,475 You'll know if you have a good understanding of what you're working on in that moment. 23 00:01:19,475 --> 00:01:23,000 If you do a bunch of different things and then try it, 24 00:01:23,000 --> 00:01:25,670 you might have to dig through all those different things, 25 00:01:25,670 --> 00:01:28,820 to figure out what was good and what was not good and what you need to do 26 00:01:28,820 --> 00:01:33,100 to finish that program and get it to happen the way you want. 27 00:01:33,100 --> 00:01:34,960 Always change one thing, 28 00:01:34,960 --> 00:01:36,440 predict and then try it. 29 00:01:36,440 --> 00:01:40,190 I also want to remind you to use variable names that are clear to you. 30 00:01:40,190 --> 00:01:44,540 For instance, if you're using an accumulator pattern or any for-loop, 31 00:01:44,540 --> 00:01:47,690 you never want the iterator variable to be plural, 32 00:01:47,690 --> 00:01:51,155 because it's always going to be bound to one singular thing. 33 00:01:51,155 --> 00:01:53,990 You wouldn't want to plural variable name for 34 00:01:53,990 --> 00:01:56,060 a singular thing because that can be really 35 00:01:56,060 --> 00:01:58,790 confusing when you talk and think about your code. 36 00:01:58,790 --> 00:02:06,460 Similarly, I would advise you not to use the word L-I-S-T inside a variable name. 37 00:02:06,460 --> 00:02:08,800 It couldn't be a list because that's going to 38 00:02:08,800 --> 00:02:11,245 get confusing too when you read your code later. 39 00:02:11,245 --> 00:02:15,340 You'll think it's a list and then it will not be a list. 40 00:02:15,340 --> 00:02:18,290 All of these problems that you're about to do in this end of 41 00:02:18,290 --> 00:02:20,800 course project are different, 42 00:02:20,800 --> 00:02:22,270 but they're all similar patterns, 43 00:02:22,270 --> 00:02:24,700 problems that you've seen or done before. 44 00:02:24,700 --> 00:02:27,820 As you work on them I'd advise you to think about those 45 00:02:27,820 --> 00:02:30,790 and think about how they're similar to other stuff you've done. 46 00:02:30,790 --> 00:02:33,535 That will make it easier to progress on these. 47 00:02:33,535 --> 00:02:35,815 For each one, you should go through, 48 00:02:35,815 --> 00:02:38,605 make a step-by-step plan in words, 49 00:02:38,605 --> 00:02:41,860 no code at all for how you're going to solve the problem and 50 00:02:41,860 --> 00:02:46,955 then make sure that you can translate each of those pieces into code. 51 00:02:46,955 --> 00:02:50,080 For example, in an accumulation problem, 52 00:02:50,080 --> 00:02:53,180 you should talk through step-by-step as if you're talking to 53 00:02:53,180 --> 00:02:56,270 a robot or write down what each of those steps are, 54 00:02:56,270 --> 00:02:59,760 that needs to happen in that program, that little task. 55 00:02:59,760 --> 00:03:04,325 You can think step-by-step about how to translate each of those things into code. 56 00:03:04,325 --> 00:03:08,430 How can you translate your words into a program that will run and 57 00:03:08,430 --> 00:03:13,475 continue with changing one thing and then trying it to make sure that the code runs. 58 00:03:13,475 --> 00:03:16,100 Finally, if you see a problem, 59 00:03:16,100 --> 00:03:19,520 for example, maybe the last problem in this end of course project, 60 00:03:19,520 --> 00:03:24,110 where there is a complex task to do for each one of a set of things, 61 00:03:24,110 --> 00:03:28,085 do something with each string, for example. 62 00:03:28,085 --> 00:03:31,900 You should think about your plan for each individual task, 63 00:03:31,900 --> 00:03:37,570 say for doing that complex task for one string and make sure that that works, 64 00:03:37,570 --> 00:03:40,445 that everything is fine for just one string. 65 00:03:40,445 --> 00:03:46,310 If your code for doing the task one time with one string is successful, 66 00:03:46,310 --> 00:03:49,370 then you can move to building all of your code and 67 00:03:49,370 --> 00:03:52,730 putting it into a for- loop and implementing the full solution, 68 00:03:52,730 --> 00:03:56,090 so that all of your code is successful for that program. 69 00:03:56,090 --> 00:03:59,420 All of these problems are really useful for 70 00:03:59,420 --> 00:04:03,470 applications in almost everybody's everyday life in one way or another. 71 00:04:03,470 --> 00:04:08,220 I think they're fun. I hope you will enjoy yourself and I wish you good luck.