CMPT 120 Lecture Notes - Lecture 6: Elementary Arithmetic

20 views2 pages
meghan78 and 39786 others unlocked
CMPT 120 Full Course Notes
29
CMPT 120 Full Course Notes
Verified Note
29 documents

Document Summary

A sequence of instructions that specifies how to solve a problem. A sequence of instructions that specifies how to perform a computation. A sequence of instructions written in a programming language that specifies how to perform a computation. A set of instructions that a computer follows to perform a task. Programs are commonly referred to as software. Programmer: person who designs, creates, and test programs also called developer. You can think of programming as the process of breaking a large, complex task into smaller and smaller subtasks until the subtasks are simple enough to be performed with one of these basic instructions. [think python] Input instructions: to get data from keyboard , a file , or some other device . Output: to display data on screen , or save in a file, etc. Conditional: check for certain conditions and run the appropriate code. Repetition: perform some action repeatedly , usually with some variation.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents