Machine Language Flashcards
unit of storage in current computer systems is
a binary valued bit
to understand machine language the first step is to understand
data representations using 0’s and 1’s
text representations
basic ascii
extended ascii
Unicode
Strings(concatenating representations of characters)
basic ascii is _ bits per character
7
extended ascii is _ bits per character
And can be used to represent ________
8
characters from languages other than english
Unicode typically is _ bits per character
16
End of a string often _________
Alternatively could include _________
null character (all 0 bits) alternatively could include a count of the number of characters in the string(like java)
Represent unsigned integers
BCD
As base two (binary) numbers
BCD: _____________
supports ____________
inefficient _________ & ___________
use 4 bits to represent each decimal digit
languages such as COBOL that have decimal data types
inefficient use of storage & arithmetic operations
Binary #’s are ______ for computers but _________
efficient for computers but hard for people to work with
octal is base
8
hexidecimal is base
16
octal and hexidecimal are more ______________ and can easily ___________
more compact and easily readable by people and can easily be converted into binary
finite representation: It is important to note that in a computer system
There is a finite number of bits used to store numbers
for unsigned integers, using n bits and representation as base 2 numbers can represent integers from ________ to _____
0 to 2^n