CISC 121 Chapter Notes - Chapter 1: Parsing

72 views2 pages
wunch and 39345 others unlocked
CISC 121 Full Course Notes
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.

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