1.2.1 introduction-to-programming
Summary
TLDRThe script explains how computer programs provide instructions for computers to complete tasks. It uses the example of Jane going about her day using various technologies reliant on programming, like buying groceries, tracking exercise, and ordering flowers online. It describes how programming languages act as a bridge for communication between computers and humans.
Takeaways
- ð Programming allows computers to perform a wide variety of tasks that are essential to modern life
- ð¡ Programming languages serve as a bridge for communication between humans and computers
- ð€ Programs are made up of instructions that tell a computer what to do
- ð¢ Programming languages get converted to binary code that a computer's CPU can understand
- ð Barcode scanners, cash registers, credit card payments all rely on computer programs
- â Smartwatches and fitness trackers use programs to track data and sync with apps
- ð Ordering things online involves many different computer programs working together
- ð¥ Hardware provides the physical machines computers programs run on
- âïž Programming is the process of writing the instructions for what a computer should do
- ð» Learning programming allows you to become a developer and create solutions that impact the modern world
Q & A
ããã°ã©ãã³ã°ã®åœ¹å²ãšã¯äœã§ããïŒ
-ããã°ã©ãã³ã°ã¯ãã³ã³ãã¥ãŒã¿ãŒã«äžé£ã®æ瀺ãäžããããšã§ãç¹å®ã®èšèªã䜿çšããŠã¿ã¹ã¯ãå®äºãããããã»ã¹ã§ããããã¯çŸä»£äžçã®å€ãã®åŽé¢ã«åœ±é¿ãåãŒããŠããŸãã
ããã°ã©ãã³ã°èšèªãšã¯äœã§ããïŒ
-ããã°ã©ãã³ã°èšèªã¯ã人éãšã³ã³ãã¥ãŒã¿ãŒéã®ã³ãã¥ãã±ãŒã·ã§ã³ã容æã«ããããã®æ©æž¡ãã®ãããªãã®ã§ããJavaScriptã®ãããªèšèªã¯ãã³ã³ãã¥ãŒã¿ãŒã«äœãããã¹ãããäŒããããã«äœ¿çšãããŸãã
ããŒã³ãŒããªãŒããŒãã¬ãžã·ã¹ãã ãããã°ã©ãã³ã°ãã©ã®ããã«äœ¿çšããŠãããã®äŸã説æããŠãã ããã
-ã¬ãžã·ã¹ãã ã¯ããŒã³ãŒããªãŒããŒããã®å ¥åãåãåããåååã®äŸ¡æ Œã«å€æããåèšéé¡ãçšéãå²åŒãèšç®ããŠã¬ã·ãŒããå°å·ããŸãããããã®ããã»ã¹ã¯ãã¹ãŠããã°ã©ã ã«ãã£ãŠå¶åŸ¡ãããŠããŸãã
ã¹ããŒããŠã©ãããããã°ã©ã ãã©ã®ããã«äœ¿çšããŠãããã®äŸãæããŠãã ããã
-ã¹ããŒããŠã©ããã¯ããã°ã©ã ã䜿çšããŠå¿ææ°ã远跡ãããã®ããŒã¿ã瀟äŒçãªãã£ãããã¹ã¢ããªã«åæãããŠãŒã¶ãŒãã©ã®æ å ±ãå ±æã誰ããããèŠãããéžæã§ããŸãã
ãªã³ã©ã€ã³ã§è±ã泚æããéã«é¢äžããããã°ã©ã ã¯ã©ã®ãããªãã®ã§ããïŒ
-ãªã³ã©ã€ã³ã§è±ã泚æããéã«ã¯ã泚æåŠçãæ¯æãåŠçãé éã®ã¹ã±ãžã¥ãŒãªã³ã°ãªã©ãè¡ãå€ãã®ããã°ã©ã ãé¢äžããŠããŸãããããã¯è¡æãéä¿¡ãããã¯ãŒã¯ãªã©ããŸããŸãªæ©åšã§åäœããŠããŸãã
ãœãããŠã§ã¢ãšããŒããŠã§ã¢ã®éãã¯äœã§ããïŒ
-ãœãããŠã§ã¢ã¯ã³ã³ãã¥ãŒã¿ãŒããã°ã©ã ã®ããšã§ãç¹å®ã®ã¿ã¹ã¯ãå®è¡ããããã®æ瀺ã®éãŸãã§ããäžæ¹ãããŒããŠã§ã¢ã¯ãããã®ããã°ã©ã ãåäœããç©ççãªæ©åšã§ãã
ããã°ã©ãã³ã°èšèªãã³ã³ãã¥ãŒã¿ãŒã«ã©ã®ããã«ç解ããããã説æããŠãã ããã
-ããã°ã©ãã³ã°èšèªã¯ãã³ã³ãã¥ãŒã¿ãŒã®ã©ã³ãã ã¢ã¯ã»ã¹ã¡ã¢ãªïŒRAMïŒãŸãã¯ãã£ã¹ã¯ã«äºé²ã³ãŒããšããŠä¿åãããŸãããã®äºé²ã³ãŒãã¯ãã³ã³ãã¥ãŒã¿ãŒã®äžå€®åŠçè£ çœ®ïŒCPUïŒã解éã§ããæ©æ¢°èªãè¡šããŠããŸãã
äœã¬ãã«èšèªãšé«ã¬ãã«èšèªã®éãã¯äœã§ããïŒ
-äœã¬ãã«èšèªã¯ã³ã³ãã¥ãŒã¿ãŒã®CPUã«ããçŽæ¥ç解ãããèšèªã§ãããé«ã¬ãã«èšèªã¯äººéã«ãšã£ãŠããç解ããããèšèªã§ãCPUãç解ã§ãã圢åŒã«å€æããå¿ èŠããããŸããäŸãã°ãJavaScriptã¯é«ã¬ãã«èšèªã§ãã
ãªãããã°ã©ãã³ã°ã¯çŸä»£äžçã§éèŠãªã®ã§ããïŒ
-ããã°ã©ãã³ã°ã¯çŸä»£äžçã®ã»ãŒãã¹ãŠã®åŽé¢ã«åœ±é¿ãåãŒããæ¥ã ã®æŽ»åããããžãã¹ã®éå¶ãŸã§å¹ åºãåéã§å©çšãããŠããŸããããã°ã©ãã³ã°ã¯é©æ°çãªæè¡ãšãµãŒãã¹ãçã¿åºãåºç€ã§ãã
éçºè ãšããŠã®ãã£ãªã¢ã®å¯èœæ§ã«ã€ããŠèª¬æããŠãã ããã
-éçºè ãšããŠã®ãã£ãªã¢ã¯å€æ§ã§ããŠã§ãéçºããœãããŠã§ã¢ãšã³ãžãã¢ãªã³ã°ãããŒã¿åæãAIéçºãªã©ããŸããŸãªåéã§æŽ»èºããããšãã§ããŸããæè¡ã®é²æ©ãšå ±ã«éèŠãé«ãŸã£ãŠããŸãã
Outlines
ð»ããã°ã©ãã³ã°å ¥é
ãã®ãããªã§ã¯ãçŸä»£äžçã«ãããããã°ã©ãã³ã°ã®åœ¹å²ã解éããæ¹æ³ãåŠã³ãŸããããã°ã©ãã³ã°ã¯ãããã°ã©ãã³ã°èšèªã䜿çšããŠã³ã³ãã¥ãŒã¿ã«äžé£ã®æ瀺ãäžããããšã§ãããšèªèããŸãããããŠãJavaScriptã®ãããªããã°ã©ãã³ã°èšèªããç§ãã¡ãã³ã³ãã¥ãŒã¿ã«äœãããããããäŒããã®ã«ã©ã®ããã«åœ¹ç«ã€ãã説æããŸããæ¥åžžã®äŸãæãããšããžã§ãŒã³ã¯äŒæ¥ã«3ã€ã®ã¿ã¹ã¯ãããªããŸãïŒé£æåã®è³Œå ¥ãéåäžã®å¿ææ°ã®è¿œè·¡ãå人ãžã®è±ã®è³Œå ¥ããããã®æŽ»åã¯ãã¹ãŠãã³ã³ãã¥ãŒã¿ãã³ã³ãã¥ãŒã¿ããã°ã©ã ãšå¯æ¥ã«é¢é£ããŠããŸããããã°ã©ãã³ã°ã¯åã«ãç¹å®ã®ã¿ã¹ã¯ãéè¡ããããã«ãç¹å®ã®ç¶æ³äžã§ã³ã³ãã¥ãŒã¿ã«äœããã¹ãããæ瀺ããäžé£ã®æ瀺ã§ããäŸãã°ããžã§ãŒã³ãé£æåãè³Œå ¥ããéãããŒã³ãŒãã¹ãã£ããŒããåãåã£ãå ¥åãåã¢ã€ãã ã®äŸ¡æ Œã«å€æããããã°ã©ã ãã¯ã¬ãžããã«ãŒãã§æ¯æãéã«éè¡åŠçããã¹ãŠæ±ãå¥ã®ããã°ã©ã ãå¿ææ°ã远跡ããã¹ããŒããŠã©ãããå人ã«è±ããªã³ã©ã€ã³ã§æ³šæããããã«é¢äžããå€ãã®ããã°ã©ã ãªã©ãæ¥åžžç掻ã®æ§ã ãªé¢ã§ããã°ã©ã ãå©çšãããŠããŸãããããã®ããã°ã©ã ã¯ãœãããŠã§ã¢ãšåŒã°ãããã圢ãŸãã¯å¥ã®åœ¢ã§ç©ççãªãã·ã³ãããŒããŠã§ã¢äžã§å®è¡ãããŠããŸããããã°ã©ãã³ã°ã¯ãã³ã³ãã¥ãŒã¿ãç¹å®ã®ã¿ã¹ã¯ãå®äºããããã«åãã¹ãæé ãèšè¿°ããããã»ã¹ã§ãããããã®æ瀺ãããã°ã©ã ããããã«ãããã°ã©ãã³ã°èšèªã䜿çšããŸããããã°ã©ãã³ã°èšèªã¯ãã³ã³ãã¥ãŒã¿ãšäººãšã®éã®ã³ãã¥ãã±ãŒã·ã§ã³ãä¿é²ããããã«äœ¿çšãããæ©ã®ãããªãã®ã§ããã³ã³ãã¥ãŒã¿ãããã°ã©ãã³ã°èšèªãç解ããããã«ã¯ããã®ã©ã³ãã ã¢ã¯ã»ã¹ã¡ã¢ãªïŒRAMïŒãŸãã¯ãã£ã¹ã¯äžã®ãã€ããªã³ãŒããšããŠããŒããšäžã®ã·ãªãŒãºã§ã©ããã«ä¿åããå¿ èŠããããŸãããã®ãã€ããªã³ãŒãã¯ãã³ã³ãã¥ãŒã¿ã®CPUãç解ã§ããæ©æ¢°èªã®è¡šçŸã§ããé«ã¬ãã«èšèªã§ããJavaScriptãªã©ã¯ãCPUãäœæ¥ã§ãããã€ããªã³ãŒãã«å€æãããå¿ èŠããããŸãããžã§ãŒã³ã®äŸã§èŠãããã«ãã³ã³ãã¥ãŒã¿ããã°ã©ã ã¯ããããå Žæã«ãããŸãããããã£ãŠãããã°ã©ãã³ã°ã¯çŸä»£äžçã®ã»ãŒãã¹ãŠã®åŽé¢ã«è§Šããéåžžã«ãšããµã€ãã£ã³ã°ãªåéã§ãããããŠä»ãããªãã¯éçºè ãšããŠãã®äžçã®äžéšã«ãªãéäžã«ããŸãã
Mindmap
Keywords
ð¡ããã°ã©ãã³ã°
ð¡ããã°ã©ãã³ã°èšèª
Highlights
A computer program is just a series of instructions based on some rules.
These instructions tell a computer what to do under some specific circumstances and they are written to perform a specific set of tasks.
When Jane is buying groceries, there was a program that could take the input received from the barcode scanner and convert it to a price for each item.
The cash register program instructed the printer to take these prices and print them out together with some other calculations.
When Jane was paying with the credit card, the point of sale machine contacted another program somewhere else.
This program took care of all the bank processing and updated the balance on Jane's account.
Yet more programs were involved in her smartwatch tracking her heartbeats.
Finally, for Jane to be able to order flowers for a friend, a lot of other programs on many different machines were involved.
Programming is simply the process of writing the steps a computer needs to take to complete a certain task.
A programming language is sort of like a bridge that we use to facilitate communication between computers and people.
The binary code is a representation of machine language that a computer can understand all of the zeros and ones in binary language represent electrical switches.
Finally, a computer's central processing unit, or CPU can comprehend these binary electrical signals and update itself accordingly.
There are also high level languages such as JavaScript, that needs to be interpreted, that is converted to binary code that a CPU will be able to work with.
So we might think of JavaScript and other high level languages as a tool that helps us to communicate with the CPU.
Computer programs are everywhere. So programming is a very exciting field that touches almost all aspects of the modern world.
Transcripts
Hello and welcome to this video about coding.
Let's get started.
In this video,
you will learn how to interpret the role of programming in the modern world.
Recognize that programming is simply giving computers a set of instructions to
complete using a programming language.
And explain how a programming language like JavaScript helps us
tell a computer what to do.
Meet Jane, it's Janes day off from work and
she has three things on her to do list.
Buy groceries, track her heart rate while exercising and buy flowers for her friend.
At the grocery store the cashier needs to use the barcode reader to
get the information and prices for each of the products Jane wants to buy.
The cash register adds up these prices, calculates tax and possible discounts.
It then prints out a slip with all the relevant information listed after Jane
pays with a credit card.
Later on in the day,
Jane uses her smart watch to track her heartbeats while exercising.
The smartwatch is sync to her personal profile on a social fitness app and
she chooses what information about her activities she discloses.
And she also gets to choose who sees this information.
Lastly after finishing her exercise, Jane orders flowers for a friend online.
For many people just like for Jane,
our daily activities are intertwined with computers and computer programs.
A computer program is just a series of instructions based on some rules.
These instructions tell a computer what to do under some specific circumstances and
they are written to perform a specific set of tasks.
For example, when jane is buying groceries,
there was a program that could take the input received from the barcode
scanner and convert it to a price for each item.
The cash register program instructed the printer to take these prices and
print them out together with some other calculations.
When Jane was paying with the credit card,
the point of sale machine contacted another program somewhere else.
This program took care of all the bank processing and
updated the balance on Jane's account.
Yet more programs were involved in her smartwatch tracking her heartbeats.
Finally, for Jane to be able to order flowers for a friend,
a lot of other programs on many different machines were involved.
These might include satellites or some other telecommunication computer programs.
All these programs are called software and are in one way or another.
Running on physical machines which are referred to as hardware.
Programming is simply the process of writing the steps a computer needs to take
to complete a certain task.
To program these instructions, we use programming languages.
A programming language is sort of like a bridge that
we use to facilitate communication between computers and people.
For a computer to understand a programming language,
it needs to save it somewhere in its random access memory.
RAM or on a disk in binary code, which is represented by a series of zeros and ones.
The binary code is a representation of machine language.
That a computer can understand all of the zeros and
ones in binary language represent electrical switches.
Finally, a computer's central processing unit, or
CPU can comprehend these binary electrical signals and update itself accordingly.
This machine language, with its series of zeros and ones, is known as a low
level language because it's closer to being understood by a computer's CPU.
There are also high level languages such as JavaScript, that needs to be
interpreted, that is converted to binary code that a CPU will be able to work with.
So we might think of JavaScript and
other high level languages as a tool that helps us to communicate with the CPU.
As you saw with Jane's example.
Computer programs are everywhere.
So programming is a very exciting field that touches almost all
aspects of the modern world.
And now you're on your way to becoming a part of that world as a developer.
Browse More Related Video
![](https://i.ytimg.com/vi/ifo76VyrBYo/hq720.jpg)
Introduction to Computer Programming | What is it? Programming Language Types
![](https://i.ytimg.com/vi/EjavYOFoJJ0/hq720.jpg)
C_01 Introduction to C Language | C Programming Tutorials
![](https://i.ytimg.com/vi/Xpk67YzOn5w/hq720.jpg)
Why Do Computers Use 1s and 0s? Binary and Transistors Explained.
![](https://i.ytimg.com/vi/X8MZWCGgIb8/hq720.jpg)
Quantum Computing In 5 Minutes | Quantum Computing Explained | Quantum Computer | Simplilearn
![](https://i.ytimg.com/vi/fkGCLIQx1MI/hq720.jpg)
Computer Basics: Understanding Operating Systems
![](https://i.ytimg.com/vi/CxGSnA-RTsA/hq720.jpg)
COMPUTER SCIENCE explained in 17 Minutes
5.0 / 5 (0 votes)