CMPT 166 Lecture Notes - Lecture 8: .Int, Decimal Mark, Scientific Notation

38 views6 pages

Document Summary

One of the major aspects of a computer is that you can read or write values in its main memory. A computer"s main memory is often referred to as ram, which stands for random access memory. At the lowest level, ram is just a series of millions and millions of 0s and 1s (bits) that the cpu can quickly change whenever it wants. For example, a 64-bit computers would typically represent the number 65 as a series of 64 bits: This is an example of a binary, or base 2, number. Everyday numbers like 65 are decimal, or base 10. Binary works great for computers because it is so simple, but humans don"t like it as much. People find it hard to read and write all those 1s and 0s, making it both error-prone and tedious to use. So instead, high-level programming languages like processing do their best to use more human- friendly data.

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