unit 6 Flashcards
1
Q
what is an integer?
A
a whole number value with no decimal parts
2
Q
what is a float/real?
A
numbers with decimals/fractional parts
3
Q
what is a boolean?
A
one of two values
4
Q
what is a character?
A
a single letter, digit, symbol
5
Q
what is a string?
A
a collection of characters
6
Q
how do computers process data?
A
use transistors to store and process data
transistors have 2 states on and off 0 and 1
7
Q
what is denary?
A
base 10 number system
8
Q
what is binary?
A
base 2 number system
9
Q
what are the 2 ways of representing negative numbers in binary?
A
sign and magnitude
twos complement
10
Q
A