Untitled Deck Flashcards

1
Q

What is the relationship between assembly language and machine language?

A

Assembly language has a one-to-one relationship with machine language: Each assembly language instruction corresponds to a single machine-language instruction.

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

Which languages have a one-to-many relationship with machine language? (Select all that apply)

A
  • C++
  • Java
  • Python
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the decimal representation of the unsigned binary integer 01111000?

A

120

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

What is the hexadecimal representation of the unsigned binary integer 11011010?

A

DA

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

What is the most significant bit (MSB) of the unsigned binary number 1111001100?

A

1

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

What is the binary representation of the decimal number 28? (Assume you are limited to 6 bits)

A

011100

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

What is the result of adding the two unsigned binary numbers 0011101 and 0110?

A

0100011

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

What is the range of an unsigned doubleword?

A

0 to 4294967295
0 to 2^32 - 1

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

What is the decimal representation of the unsigned hexadecimal number 4AD1?

A

19153

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

Convert the decimal number 375 to its hexadecimal representation.

A

177

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

What is the result of the unsigned Hexadecimal addition 49B + ABC?

A

F57

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

What is the result of the unsigned hexadecimal subtraction DC - CD?

A

F

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

Perform the signed binary subtraction 8 - 19 (Assume a 6-bit restriction). What is the result?

A

110101

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

Is the signed hexadecimal number B5 positive or negative?

A

Negative

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