1
00:00:00,540 --> 00:00:02,650
Hello and welcome in this field you.

2
00:00:02,700 --> 00:00:10,820
I'm going to illustrate with some basic examples what output means in programming.

3
00:00:11,130 --> 00:00:22,620
What is an output and how pulled is basically anything that comes out of a computer after it has been

4
00:00:22,620 --> 00:00:24,210
processed.

5
00:00:24,240 --> 00:00:31,450
So a typical example or B this slide you are looking at on the screen the monitor.

6
00:00:31,500 --> 00:00:36,670
Here's an example of an output device that is used to.

7
00:00:36,690 --> 00:00:48,420
I'll put text on the screen to illustrate I want you to open up your web browser and typing in the address

8
00:00:48,420 --> 00:00:49,180
bar.

9
00:00:49,410 --> 00:00:52,520
About call on blank.

10
00:00:52,620 --> 00:01:01,980
And that will keep you this blank page once you open up the blank page just right click anywhere and

11
00:01:01,980 --> 00:01:03,590
click on inspect.

12
00:01:04,980 --> 00:01:09,160
And click on console and this console area.

13
00:01:09,160 --> 00:01:19,100
Here is where we are going to do some experimentation with output so I'm going to use some built in

14
00:01:19,430 --> 00:01:29,910
commands of functions that I've built in to javascript functions are bunch of code or computer state

15
00:01:29,910 --> 00:01:36,800
measures that do specific things so the functions are already been built in and then baked into the

16
00:01:37,250 --> 00:01:38,980
javascript programming language.

17
00:01:38,990 --> 00:01:42,000
We just have to call them to use them.

18
00:01:42,210 --> 00:01:50,160
So the first thing I wanted to warn to this play and I'll put here inside this area here.

19
00:01:50,300 --> 00:01:56,720
I want to write him a message so to do that I I'm going to use a command.

20
00:01:56,950 --> 00:02:01,760
Source and another function called the document.

21
00:02:02,810 --> 00:02:05,160
Right.

22
00:02:07,860 --> 00:02:17,100
And inside the parentheses is where you specify the message that you want to be displayed on the screen.

23
00:02:17,570 --> 00:02:21,290
So I want the message to be big.

24
00:02:21,530 --> 00:02:33,290
So I'm going to use and hate one element we've sent which is an hastey AML hedin tag so I'm one of two.

25
00:02:33,810 --> 00:02:34,430
Hello

26
00:02:36,880 --> 00:02:39,060
world.

27
00:02:40,730 --> 00:02:42,480
Exclamation mark.

28
00:02:44,440 --> 00:02:49,940
Close the hate one tag.

29
00:02:49,980 --> 00:02:51,520
All right.

30
00:02:52,260 --> 00:02:59,810
And they're that close the parent this is Apple the semicolon.

31
00:02:59,810 --> 00:03:04,590
So this here is a complete statement in Jabr scrip.

32
00:03:04,760 --> 00:03:13,850
So what I'm seeing here this right here is a method in OIF function that basically is going to write

33
00:03:14,150 --> 00:03:17,110
this message here to the coroner document.

34
00:03:17,120 --> 00:03:19,900
This here is a current document.

35
00:03:19,910 --> 00:03:23,530
So who's going to print out this message.

36
00:03:23,640 --> 00:03:26,630
A world there is an alcoholic then closing quote.

37
00:03:26,630 --> 00:03:31,230
Is it because they had text so you need to enclose text in quotes.

38
00:03:31,250 --> 00:03:33,310
So they refer to us as string.

39
00:03:33,590 --> 00:03:38,630
So if I press Enter NOW was displayed in this period.

40
00:03:38,780 --> 00:03:42,060
Hell you want to let me do that.

41
00:03:42,060 --> 00:03:45,530
So this here is an output.

42
00:03:45,710 --> 00:03:51,790
It's regarded as an output sore because a computer has taken used this method here.

43
00:03:51,800 --> 00:03:56,400
This command then printed this text on the screen.

44
00:03:56,420 --> 00:04:00,830
So this is an output from this action.

45
00:04:00,830 --> 00:04:03,290
The computer or the program took.

46
00:04:03,500 --> 00:04:04,940
Let's try another common.

47
00:04:04,940 --> 00:04:13,870
This is another command also is called an alert is used to display pop pop messages on the screen.

48
00:04:14,360 --> 00:04:22,310
So let me do a simple Mat's out of seven blocks.

49
00:04:22,580 --> 00:04:28,340
8 You always have to end it in semicolon.

50
00:04:28,550 --> 00:04:31,720
That indicates that this is a complete statement.

51
00:04:31,730 --> 00:04:34,770
And this Deadmen enter here what they do.

52
00:04:34,780 --> 00:04:43,220
This alert is it's a built in function in Javascript is used to display bop bop messages.

53
00:04:43,490 --> 00:04:51,110
So if I press enter it will give me an output displayed in a pop up message to give me the result of

54
00:04:51,110 --> 00:04:51,680
this too.

55
00:04:51,680 --> 00:04:57,970
So our press centre can see here's givin me me I'll put off 15.

56
00:04:58,220 --> 00:05:04,010
So is done this is done the calculation and generated an output which is 15.

57
00:05:04,010 --> 00:05:07,960
So this here is known as an alert bop bop box.

58
00:05:08,120 --> 00:05:12,940
So that again Sunday sample off an output I can do one more.

59
00:05:12,950 --> 00:05:17,280
I can display a message here in a console this era.

60
00:05:17,280 --> 00:05:21,430
Here's a console so I can do console lock.

61
00:05:21,500 --> 00:05:30,700
This is another method or another function consider log and inside the parentheses.

62
00:05:31,400 --> 00:05:34,820
I can display a message and see

63
00:05:37,150 --> 00:05:41,220
that just do a similar message just say yo.

64
00:05:42,260 --> 00:05:48,810
Okay do surrounded by quotes because it's a text.

65
00:05:48,900 --> 00:05:55,290
You always have to enclose text in either single quotes or double quote.

66
00:05:55,300 --> 00:05:57,410
But you can't mix the quotes.

67
00:05:57,530 --> 00:06:00,700
You can't have a single quote here and then a double quote here.

68
00:06:00,710 --> 00:06:02,270
The quotes must match.

69
00:06:02,480 --> 00:06:10,990
So if I press enter to print out you'll on this console you can see here's printed out your console

70
00:06:11,000 --> 00:06:11,390
to the.

71
00:06:11,390 --> 00:06:13,450
This is an output.

72
00:06:13,550 --> 00:06:23,690
This here is an output so thus some basic examples or art puts an output is basically the outcome of

73
00:06:23,840 --> 00:06:27,710
the results that you've asked the computer to do.

74
00:06:27,710 --> 00:06:29,820
So you tell the computer to do something.

75
00:06:29,830 --> 00:06:33,390
He's done it and then he gives you back the results.

76
00:06:33,470 --> 00:06:37,430
So it is a result that is known as the output.

77
00:06:37,430 --> 00:06:47,590
I hope this video has helped to make you understand what he output or an output is in computer programming.

78
00:06:47,930 --> 00:06:49,190
Thank you for watching.

79
00:06:49,190 --> 00:06:50,200
Bye for now.
