ENGINEER 1D04 Lecture Notes - Lecture 2: Scientific Notation, Floating Point

39 views2 pages
scarletotter976 and 37168 others unlocked
ENGINEER 1D04 Full Course Notes
4
ENGINEER 1D04 Full Course Notes
Verified Note
4 documents

Document Summary

Floating point numbers- rational numbers in scientific notation. Values: information stored and manipulated by computer programs. The mathematical value 0, can be represented in python by: An expression is a syntactic entity that denotes a value: Atomic expression : an identifier (eg. x or true. Compound expression : formed by applying an operator to other expressions (eg. 2+3 or range(10)). A type is a syntactic entity that denotes a collection of values of similar form. Variables- a name to bound a value the name serves as an expression that denotes the value in python, names are identifiers. ) or a literal (eg. 2. 3, cat or true name = expr. Eg. x = 2 + 3 variables are readable and writable. A constant is a linguistic entity whose meaning is fixed eg. pi, c, true, false. It is up to the programmer to make sure the constant does not become a variable.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents