Read04
- be orgnized by keep the files organize, your JavaScript files can live in a folder called scripts,javascript,or js.
- When you want to use JavaScript with a web page, you use the HTML < script> element to tell the browser it is coming across a script.Its s re attribute tells people where the JavaScript file is stored.
- If you view the source code of the page in the browser,the JavaScript will not have changed the HTML,because the script works with the model of the web page that the browser has created.
- Java language:
- A script is a series of instructions that a computer can follow one-by-one.Each individual instruction or step is known as a statement.Statements should end with a semicolon.
- JavaScript is case sensitive so hourNow means something different to HourNow or HOURNOW.
- You should write comments to explain what your code does.They help make your code easier to read and understand.
- A variable is a good name for this concept because the data stored in a variable can change (or vary) each time a script runs.
Read04b
- Take input (keyboard, mouse, touch screen,GPS, etc), store information(in memory), process it (changes it using an algorithm then backed to store,CPU)and then output the results(screen, speaker,printer,photos, games,VR…etc)
- circuitry can be an art form like if i have a creative idea out, i can get that creative using circuits.
- more complicated circuits can take multiple signals and combine them,and give you adifferent result.(AND,NAND,NOT,NOR,OR,XOR)
- Software is all of the computer programs, or code , or runing on this machine.
CPU: central processig unit, the CPU is the master chip that controls all the parts of the computer.