Module 4.1 Flashcards

binary and hexadecimal needs to be studied from textbook this is the little bit of theory

1
Q

what does a byte consist of

A

8 bits

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

3 common types variables used across languages

A

-integer/whole number
-real/decimal/floating point
-string/text

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

how data becomes unreliable

A

when we try to allocate values to variables that cannot ‘fit; into the space provided

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

truncation

A

misrepresentation of a string variable because there are not enough bytes available to store all the characters in the string

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

overflow

A

integer number is misrepresented due to an insufficient number of bytes being available

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

loss of accuracy

A

while programs use different ways & number of bytes to store numbers, decimal, real numbers normally stored namely part and exponent part

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

ASCII

A

American Standard code for Information Interchange system which is a coding system limited to 256 different characters, eg. ë 137

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