| Computer Education for Teachers: Integrating Technology into Classroom Teaching, 4/e Vicki Sharp,
University of California - Northridge
Programming Languages and Logo
Chapter OutlinePROGRAMMING LANGUAGES I. Programming - Programming is a sequence of instructions that informs the computer what tasks are to be performed.
- Proponents of programming believe that it teaches higher-order thinking skills and is the key to computer literacy.
- Opponents of programming believe that it is better used as a tutor and a tool for learning.
II. Flowcharts - The first step in programming is the flowchart, a graphical representation of the sequence of operations in a program.
- A flowchart uses such symbols as ovals, diamonds, and squares to represent different operations; the symbols are connected with lines and arrows.
- After drawing a flowchart, the user is ready to write a program following the flowchart's blueprint, using languages that range from BASIC to C++.
III. Programming Languages - Programming languages are sequences of words, letters, numerals, and mnemonics that let the user operate the computer.
- Each computer language has its own precise set of rigid, unambiguous rules, syntax, and grammar that differ from those of ordinary language, with each command having only one, single meaning.
- Today, there are more than 400 computer languages including many dialects, which perform a variety of tasks.
- Determining which language to use is based on ease of use, availability of the language, and appropriateness of the language.
- In some situations, more than one language is appropriate.
- All languages have in common a base of high and low voltages represented by the 0s and 1s of the binary code, with 0 acting as the off switch and 1 acting as the on switch; a combination of 0s and 1s tells the computer to process information immediately, while another combination tells the central processing unit to add.
- A machine language composed of 0s and 1s is far removed from the language understood by humans.
IV. History of Computer Languages - Low-level languages are less like human language and closer to the machine's operation.
- Assembly language is based on a mnemonic system.
- High-level languages approximate human language and are more removed from the machine's operation.
|
|