Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:07,190 --> 00:00:11,330
In this lecture, we will learn the five steps to programming systems and applications.
2
00:00:11,810 --> 00:00:15,110
The five step process, the programming is defining the problem.
3
00:00:15,230 --> 00:00:16,430
Designing a solution.
4
00:00:16,840 --> 00:00:21,080
Coding the program, testing the program and documenting the program.
5
00:00:21,500 --> 00:00:23,330
Step one is to define the problem.
6
00:00:23,750 --> 00:00:30,260
Defining the problem means fully understanding the objective prospective users, stakeholders, inputs
7
00:00:30,320 --> 00:00:31,160
and outputs.
8
00:00:31,700 --> 00:00:36,950
This step is crucial because if you don't understand the problem, you won't have an easy time writing
9
00:00:36,950 --> 00:00:37,880
the code to solve it.
10
00:00:38,510 --> 00:00:40,400
Step two is to design a solution.
11
00:00:41,090 --> 00:00:45,260
With this approach, it is best to break the main problem down into sub problems.
12
00:00:45,770 --> 00:00:50,600
When you break down programs into modular forms like this, it is called structured programming.
13
00:00:51,080 --> 00:00:56,450
You can create a chart and also write pseudocode to plan out the flow of execution and the logic for
14
00:00:56,450 --> 00:00:57,140
your program.
15
00:00:57,560 --> 00:01:03,050
Recall from a previous lecture that pseudocode is programming logic written out in plain English that
16
00:01:03,050 --> 00:01:06,580
helps developers plan out their solution before they actually start coding.
17
00:01:07,220 --> 00:01:12,260
Step three is to code the program according to the needs of the application or system you are going
18
00:01:12,260 --> 00:01:12,980
to program.
19
00:01:13,340 --> 00:01:15,830
You need to select an appropriate programming language.
20
00:01:16,280 --> 00:01:18,290
Then you need to write the code for the program.
21
00:01:18,710 --> 00:01:20,570
Step force to test the program.
22
00:01:21,050 --> 00:01:26,810
This step is crucial as you want to detect and fix as many bugs in the program as you can before it
23
00:01:26,810 --> 00:01:28,040
reaches the end user.
24
00:01:28,400 --> 00:01:33,560
Before you actually run the program, you should proofread it when you proofread code before running
25
00:01:33,560 --> 00:01:33,710
it.
26
00:01:34,130 --> 00:01:36,260
This is known as desk checking the program.
27
00:01:36,710 --> 00:01:41,870
Debugging the program will involve finding, fixing and removing the average in your program.
28
00:01:42,200 --> 00:01:46,970
There are two main types of errors in programming syntax errors and logic errors.
29
00:01:47,330 --> 00:01:52,790
Syntax errors mean that you did not adhere to the syntactical rules of the language, for example,
30
00:01:53,120 --> 00:01:56,190
placing the curly brace in an incorrect part of the program.
31
00:01:56,930 --> 00:02:00,660
Logic errors mean that the code runs and is free of syntax errors.
32
00:02:01,070 --> 00:02:04,130
But the program does not work in the way that you intended it to.
33
00:02:04,790 --> 00:02:08,720
There is a flaw in your programming logic, the way that your code works.
34
00:02:09,260 --> 00:02:12,350
Remember, it is best to test early and test often.
35
00:02:13,040 --> 00:02:19,250
Step five is to document and maintain the programmer system, creating the documentation on an application
36
00:02:19,400 --> 00:02:19,970
or system.
37
00:02:19,970 --> 00:02:24,620
You program involves writing a description of what the program is and how to use it.
38
00:02:25,160 --> 00:02:30,740
Maintaining the program involves fixing errors that are discovered and upgrading the system as appropriate
39
00:02:31,280 --> 00:02:32,330
in the next lecture.
40
00:02:32,780 --> 00:02:34,910
We will learn how to get the most out of this course.
4022
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.