RAM Flashcards
True or False: An array is a collection of ordered, contiguous group of elements.
True
An array is a collection of ordered, contiguous group of elements.
What is an array?
An array is a collection of ordered, contiguous group of elements.
What does RAM mean?
Random Access Memory
RAM is a contiguos block of data
True or False: Is a byte a group of bits?
True
1 byte is a group of bits that can usually have 8 or less bits
What digits can a bit store?
0 or 1
Computers usually deals with 1s and 0s
What is an byte?
byte is a group of bits
There are usually 8 bits or less on 1 byte
True or False: Can a bit store a digit other than 0 or 1?
False
Can only be a 0 or 1
Computers usually deals with 1s and 0s
How many bits is there on 1 byte?
8 bits
1 byte * (1 byte * 8 bits) = 8 bits
There are usually 8 bits or less on 1 byte
How many bits is there on 2 bytes?
16 bits
2 byte * (1 byte * 8 bits) = 16 bits
There are usually 8 bits or less on 1 byte
How many bits is there on 10 bytes?
80 bits
10 byte * (1 byte * 8 bits) = 80 bits
There are usually 8 bits or less on 1 byte
How many bytes is there on 24 bits?
3 bytes
24 bits / (1 byte * 8 bits) = 3 bytes
a byte can usually be 8 or less bits
What is the common representation size in bytes of an integer?
4 bytes
It’s common for an integer to be represented as 4 bytes
a byte can usually be 8 or less bits
What is the common representation size in bytes of an character?
1 byte
It’s common for an character to be represented as 1 byte
a byte can usually be 8 or less bits
How many bytes is there on 32 bits?
4 bytes
32 bits / (1 byte * 8 bits) = 4 bytes
a byte can usually be 8 or less bits
How many bytes is there on 16 bits?
2 bytes
16 bits / (1 byte * 8 bits) = 2 bytes
a byte can usually be 8 or less bits