COMP 273 Lecture Notes - Lecture 5: Arithmetic Logic Unit, Scientific Notation
Document Summary
Data is complicated to store inside of a computer because all we have are bits. It has a built-in number of bits and once it is made, that is all we have to work with -- upper bound. Experiment with logisim progam (1) data representation (data types) (1a) characters. The character is the first type of data that we have. The way it is represented in memory is by using. It is nice to be introduced to characters because there is nothing special about it (no least or most significant bit, always positive, and whatever is in there is exactly what the hexadecimal number should be, etc). When you compile a program, and do something like: char x = a. There is ram somewhere, with an address part and a value part. The value part is 8 bits in width. The address width depends on your computer (probably 32 or 64). Some space will be created with an 8-bit width.