CISC 121 Chapter Notes - Chapter 1: Parsing
![CISC 121 Full Course Notes](https://new-docs-thumbs.oneclass.com/doc_thumbnails/list_view/2588659-class-notes-ca-queens-cisc-121-lecture32.jpg)
35
CISC 121 Full Course Notes
Verified Note
35 documents
Document Summary
A program is a sequence of instructions that specifies how to perform a computation. Input: get data from the keyboard, a file, the network, or some other device. Output: display data on the screen, save it in a file, send it over the network, etc. Math: perform basic mathematical operations like addition and multiplication. Conditional execution: check for certain conditions and run the appropriate code. Repetition: perform some action repeatedly, usually with some variation. Python interpreter: a program that reads and executes python code, (window that you open to run python) Operators: special symbols that represent computations like addition and multiplication, / division has a float input rather than an integer, ^ is a bitwise operator called xor. Types: basic symbol objects, different kinds of valus. Floating-point number eg. 42. 0: use type() function to give what type of value you are using. Programming languages are formal languages that have been designed to express computations.