Vocabulary

computerA device that uses program instructions to transform input into output
computer programA device that uses program instructions to transform input into output
formal languageA language used to write a computer program
natural languageA language that is written and spoken by people, such as English, French, or Spanish
grammarRules for writing statements in a given language

Vocabulary

computer
A device that uses program instructions to transform input into output

computer program
Instructions written for a computer

formal language
Language used to write a computer program

natural language
Language that is written and spoken by people

grammar
Rules for writing statements correctly

Comparison

natural languagesformal languages
communicate with peoplecommunicate with computers
evolve and change over timeare designed according to formal rules
have a huge vocabularyhave a few keywords

Some Formal (programming) Languages

C
Used for systems programming. Microsoft Windows was written in C.

HTML
Used to create web pages

javascript
Used to create active web pages that include features like animations, drag and drop

python
General purpose language, often used by scientists

scheme
Developed by MIT for teaching programming

Exercise 1.0 – Programming Language Developed in Class

These instructions should recreate the figure on page 7 of the workbook.

  • start (6, 6)
  • draw (2, 2)
  • draw (2, −2)
  • start (8,8)
  • draw (0,4)
  • start (6,10)
  • draw (4,0)
  • start (7,12)
  • square 2
Computer Programming Unit 1.1 - Vocabulary in Context of Computer Programming