Untitled Deck Flashcards
What is the relationship between assembly language and machine language?
Assembly language has a one-to-one relationship with machine language: Each assembly language instruction corresponds to a single machine-language instruction.
Which languages have a one-to-many relationship with machine language? (Select all that apply)
- C++
- Java
- Python
What is the decimal representation of the unsigned binary integer 01111000?
120
What is the hexadecimal representation of the unsigned binary integer 11011010?
DA
What is the most significant bit (MSB) of the unsigned binary number 1111001100?
1
What is the binary representation of the decimal number 28? (Assume you are limited to 6 bits)
011100
What is the result of adding the two unsigned binary numbers 0011101 and 0110?
0100011
What is the range of an unsigned doubleword?
0 to 4294967295
0 to 2^32 - 1
What is the decimal representation of the unsigned hexadecimal number 4AD1?
19153
Convert the decimal number 375 to its hexadecimal representation.
177
What is the result of the unsigned Hexadecimal addition 49B + ABC?
F57
What is the result of the unsigned hexadecimal subtraction DC - CD?
F
Perform the signed binary subtraction 8 - 19 (Assume a 6-bit restriction). What is the result?
110101
Is the signed hexadecimal number B5 positive or negative?
Negative