CMPT 120 Lecture Notes - Lecture 6: Elementary Arithmetic
![CMPT 120 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2242525-class-notes-ca-sfu-cmpt-120-lecture27.jpg)
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.