Hello and welcome in this field you.
I'm going to illustrate with some basic examples what output means in programming.
What is an output and how pulled is basically anything that comes out of a computer after it has been
processed.
So a typical example or B this slide you are looking at on the screen the monitor.
Here's an example of an output device that is used to.
I'll put text on the screen to illustrate I want you to open up your web browser and typing in the address
bar.
About call on blank.
And that will keep you this blank page once you open up the blank page just right click anywhere and
click on inspect.
And click on console and this console area.
Here is where we are going to do some experimentation with output so I'm going to use some built in
commands of functions that I've built in to javascript functions are bunch of code or computer state
measures that do specific things so the functions are already been built in and then baked into the
javascript programming language.
We just have to call them to use them.
So the first thing I wanted to warn to this play and I'll put here inside this area here.
I want to write him a message so to do that I I'm going to use a command.
Source and another function called the document.
Right.
And inside the parentheses is where you specify the message that you want to be displayed on the screen.
So I want the message to be big.
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.
Hello
world.
Exclamation mark.
Close the hate one tag.
All right.
And they're that close the parent this is Apple the semicolon.
So this here is a complete statement in Jabr scrip.
So what I'm seeing here this right here is a method in OIF function that basically is going to write
this message here to the coroner document.
This here is a current document.
So who's going to print out this message.
A world there is an alcoholic then closing quote.
Is it because they had text so you need to enclose text in quotes.
So they refer to us as string.
So if I press Enter NOW was displayed in this period.
Hell you want to let me do that.
So this here is an output.
It's regarded as an output sore because a computer has taken used this method here.
This command then printed this text on the screen.
So this is an output from this action.
The computer or the program took.
Let's try another common.
This is another command also is called an alert is used to display pop pop messages on the screen.
So let me do a simple Mat's out of seven blocks.
8 You always have to end it in semicolon.
That indicates that this is a complete statement.
And this Deadmen enter here what they do.
This alert is it's a built in function in Javascript is used to display bop bop messages.
So if I press enter it will give me an output displayed in a pop up message to give me the result of
this too.
So our press centre can see here's givin me me I'll put off 15.
So is done this is done the calculation and generated an output which is 15.
So this here is known as an alert bop bop box.
So that again Sunday sample off an output I can do one more.
I can display a message here in a console this era.
Here's a console so I can do console lock.
This is another method or another function consider log and inside the parentheses.
I can display a message and see
that just do a similar message just say yo.
Okay do surrounded by quotes because it's a text.
You always have to enclose text in either single quotes or double quote.
But you can't mix the quotes.
You can't have a single quote here and then a double quote here.
The quotes must match.
So if I press enter to print out you'll on this console you can see here's printed out your console
to the.
This is an output.
This here is an output so thus some basic examples or art puts an output is basically the outcome of
the results that you've asked the computer to do.
So you tell the computer to do something.
He's done it and then he gives you back the results.
So it is a result that is known as the output.
I hope this video has helped to make you understand what he output or an output is in computer programming.
Thank you for watching.
Bye for now.