STEM - Focus on computers - 04.20.2020 - Monday -
Stem notes - Please define the terms that are CAPITALIZED -
Reading and computer notes -
- Sometimes, in the news, when you hear about things like delays in public transportation, or problems accessing an online grade book, or mistakes somewhere - you might have heard someone say; “There was a ‘computer error.’”
- The thing is, computers, really, are just calculators. A computer does not “know” anything but itself. A computer needs a PROGRAM to run.
- People write COMPUTER PROGRAMS.
- There are many different types of COMPUTER PROGRAMMING LANGUAGES.
- When you hear someone blame a computer for an error, what they really mean is that some person made an error while asking the computer to do something or in interpreting the DATA from the computer.
II. Computer languages are often called COMPUTER CODE. Or, “code” for short.
A. (Review) what were two of the computer languages that you looked up?
III. Computer languages are very much like math. They depend on a “shorthand” of instructions and rely on math rules like;
A. ORDER OF OPERATIONS
IV. There are special statements in computer code that are used very often, like …
A. IF / THEN STATEMENT:
V. ALL computers only understand one “language.” This is a language called BINARY.
A. Our counting system is based on the number ten. That’s why it’s called a BASE TEN system. Think about it … we count from zero to nine, and then it begins again with a 1-0, 1-1, 1-2, etc …
B. Computers only “worry about” the values ZERO and ONE.
C. Sometimes called “on-off” gates, or “yes-no” gates, any number that we can represent with our base-ten system, can also be represented binary.
VI. All those COMPUTER LANGUAGES take our instructions, or CODE, and put it into a form that computers can understand. Computers, in their CPU’s only understand BINARY.
VII. MACHINE LANGUAGE is a special programming language that is almost the same as BINARY. It’s a series of numbers that the computer can understand.