Integer (int)
Used for whole numbers (no decimals)
Float (floating-point number)
Used for decimal numbers
String (str)
Used for text
Boolean (bool)
Used for true/false values
explain why binary data is grouped into sets of four bits when converting to hexadecimal
Binary is grouped into sets of 4 bits when converting to hexadecimal because of how the number systems match.
explain why computers use binary number system instead of denary
Computers use binary (base 2) instead of denary (base 10) because it matches how their hardware works.
four uses of hexadecimal in computer systems
HTML colour coding
Memory addresses
Enter codes/ debugging
machine code/ assembly language
Not gate
if input 0 Output is 1
if input is 1 output 0
And gate
the output can only be 1 if both inputs are 1
Or gate
the output is only 0 when both inputs are 0
nor gate
the output can only be 1 when both inputs are zero
Nand
the output can only be 0 when both inputs are 1