RAM Flashcards

1
Q

True or False: An array is a collection of ordered, contiguous group of elements.

A

True

An array is a collection of ordered, contiguous group of elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an array?

A

An array is a collection of ordered, contiguous group of elements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does RAM mean?

A

Random Access Memory

RAM is a contiguos block of data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

True or False: Is a byte a group of bits?

A

True

1 byte is a group of bits that can usually have 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What digits can a bit store?

A

0 or 1

Computers usually deals with 1s and 0s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an byte?

A

byte is a group of bits

There are usually 8 bits or less on 1 byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

True or False: Can a bit store a digit other than 0 or 1?

A

False

Can only be a 0 or 1

Computers usually deals with 1s and 0s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How many bits is there on 1 byte?

A

8 bits

1 byte * (1 byte * 8 bits) = 8 bits

There are usually 8 bits or less on 1 byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How many bits is there on 2 bytes?

A

16 bits

2 byte * (1 byte * 8 bits) = 16 bits

There are usually 8 bits or less on 1 byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How many bits is there on 10 bytes?

A

80 bits

10 byte * (1 byte * 8 bits) = 80 bits

There are usually 8 bits or less on 1 byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How many bytes is there on 24 bits?

A

3 bytes

24 bits / (1 byte * 8 bits) = 3 bytes

a byte can usually be 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the common representation size in bytes of an integer?

A

4 bytes

It’s common for an integer to be represented as 4 bytes

a byte can usually be 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the common representation size in bytes of an character?

A

1 byte

It’s common for an character to be represented as 1 byte

a byte can usually be 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How many bytes is there on 32 bits?

A

4 bytes

32 bits / (1 byte * 8 bits) = 4 bytes

a byte can usually be 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How many bytes is there on 16 bits?

A

2 bytes

16 bits / (1 byte * 8 bits) = 2 bytes

a byte can usually be 8 or less bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How many bytes is there on 64 bits?

A

8 bytes

64 bits / (1 byte * 8 bits) = 4 bytes

a byte can usually be 8 or less bits

17
Q

What is the common representation size in bits of an integer?

A

32 bits

It’s common for an integer to be represented as 4 bytes or 32 bits

a byte can usually be 8 or less bits

18
Q

What is the common representation size in bytes of an integer?

A

4 bytes

It’s common for an integer to be represented as 4 bytes or 32 bits

a byte can usually be 8 or less bits

19
Q

What is the common representation size in bits of an character?

A

8 bits

It’s common for a character to be represented as 1 byte or 8 bits

a byte can usually be 8 or less bits

20
Q

What is the common representation size in byte of an character?

A

1 byte

It’s common for a character to be represented as 1 byte or 8 bits

a byte can usually be 8 or less bits

21
Q

How many bits apart each element of an array of integers

A

32 bits

or 4 bytes

Each integer takes 32 bits of space, 4 bytes, hence the addresses are 4 bytes or 32 bits apart

22
Q

How many bits apart each element of an array of characters

A

8 bits

or 1 byte

Each character takes 8 bits of space, 1 byte, hence the addresses are 1 byte apart.

23
Q

How many bits does a single integer have?

A

32 bits

or 4 bytes

24
Q

How many bits does a single character have?

A

8 bits

or 1 byte

25
Q

True of false: Is it common for a single integer to be equal to 32 bits?

A

True

It’s common for a integer to be represented as 4 bytes or 32 bits

a byte can usually be 8 or less bits

26
Q

True of false: Is it common for a single character to be equal to 32 bits?

A

False

It’s common for a character to be represented as 1 byte or 8 bits

a byte can usually be 8 or less bits

27
Q

True or False: Is RAM not a contiguous block of data?

A

False

Ram is a contiguos block of data

28
Q

What is the 2 components of RAM

A

Value and Address

Value is the data stored in the Address
Address is where the Value is stored

29
Q

What component of RAM that represent the data we’re storing?

A

Value

Value is the data stored in the Address

30
Q

What component of RAM that represent the place where we are storing the data?

A

Address

Adress is where the Value is stored

31
Q

What numeric value a bit can represent?

A

0 or a 1

Computers usually deals with 1s and 0s

32
Q

True or False: Is an array not contiguous?

A

False

Arrays are contiguous

33
Q

How many bytes apart each element of an array of integers

A

4 bytes

or 32 bits

Each integer takes 32 bits of space, 4 bytes, hence the addresses are 4 bytes apart

34
Q

How many bytes apart each element of an array of characters

A

1 byte

or 8 bits

Each character takes 8 bits of space, 1 byte, hence the addresses are 1 byte apart.

35
Q

How many bytes does a single integer have?

A

4 bytes

or 32 bits

36
Q

How many bytes does a single character have?

A

1 byte

or 8 bits