COMP 273 Lecture Notes - Lecture 5: Arithmetic Logic Unit, Scientific Notation

39 views6 pages

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.

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