What are Programming Languages?
Unlike markup languages (languages that represent the structure of data and content) such as HTML, and style sheets (documents that define the style of webpages) such as CSS, JavaScript is a programming language
that instructs a computer to perform tasks.
Since computers are complex digital devices that represent and process data in 0s and 1s, they cannot understand human languages like English, Spanish, or French.
Therefore, a programming language is an intermediary language that both humans and computers can understand.
The example addNumbers
function takes two parameters
, a and b, and returns the result of adding these two parameters.
We will explain functions in detail later!
What is a programming language?
A language for expressing the structure of data and content
A document defining the style of web pages
A language for instructing a computer to perform tasks
A method by which computers express data in 0s and 1s
Lecture
AI Tutor
Design
Upload
Notes
Favorites
Help
Code Editor
Execution Result