Chapter 1 Flashcards

1
Q

What is machine language?

A

The binary code executed by a processor.

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

What does assembly language consist of?

A

Mnemonics like ADD, MOV, SUB.

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

Name three high-level languages.

A

C++, Java, Python.

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

How do you convert decimal to binary?

A

Divide the decimal number by 2 and record remainders.

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

Describe the process to convert binary to decimal.

A

Multiply each binary digit by powers of 2 and sum.

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

What is the method for converting decimal to hexadecimal?

A

Divide by 16 and record remainders.

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

How do you convert hexadecimal to decimal?

A

Multiply each digit by powers of 16 and sum.

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

What is the conversion from hexadecimal to binary?

A

Convert each hex digit into a 4-bit binary equivalent.

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

What are the sizes of integer storage?

A
  • Byte (8 bits)
  • Word (16 bits)
  • Doubleword (32 bits)
  • Quadword (64 bits)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Two’s Complement used for?

A

To represent negative numbers.

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

How do you convert a positive number to negative using Two’s Complement?

A

Invert bits and add 1.

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