Chapter 1 Flashcards
What is machine language?
The binary code executed by a processor.
What does assembly language consist of?
Mnemonics like ADD, MOV, SUB.
Name three high-level languages.
C++, Java, Python.
How do you convert decimal to binary?
Divide the decimal number by 2 and record remainders.
Describe the process to convert binary to decimal.
Multiply each binary digit by powers of 2 and sum.
What is the method for converting decimal to hexadecimal?
Divide by 16 and record remainders.
How do you convert hexadecimal to decimal?
Multiply each digit by powers of 16 and sum.
What is the conversion from hexadecimal to binary?
Convert each hex digit into a 4-bit binary equivalent.
What are the sizes of integer storage?
- Byte (8 bits)
- Word (16 bits)
- Doubleword (32 bits)
- Quadword (64 bits)
What is Two’s Complement used for?
To represent negative numbers.
How do you convert a positive number to negative using Two’s Complement?
Invert bits and add 1.