chapter 1

studied byStudied by 1 person
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 15

16 Terms

1

What is the binary system?

  • Base 2 number system.

  • Values: 0 (OFF) and 1 (ON).

  • MSB: Most Significant Bit (leftmost bit).

New cards
2

What is the denary system?

  • Base 10 number system.

  • Values: 0 to 9

New cards
3

What is the hexadecimal system?

  • Base 16 number system.

  • Values: 0-9 and A-F (A=10, B=11, ..., F=15).

New cards
4

How do you convert hexadecimal to binary?

  1. Separate each hex digit.

  2. Convert each hex digit to 4-bit binary.

  3. Combine binary values.

New cards
5

How do you convert binary to hexadecimal?

  1. Group binary digits into 4-bit sections (from right).

  2. Add leading 0s if needed.

  3. Convert each group to hexadecimal.

New cards
6

How do you convert hexadecimal to denary?

  1. Convert hex to binary.

  2. Convert binary to denary.

New cards
7

How do you convert denary to hexadecimal?

  1. Convert denary to binary.

  2. Convert binary to hexadecimal.

New cards
8

What is overflow in binary calculations?

  • Occurs when the result exceeds the bit limit.

  • E.g., adding two 8-bit values results in a 9-bit answer.

New cards
9

What is a logical shift?

  • Moves binary digits left or right.

  • Emptied bits replaced with 0.

New cards
10

How do you perform a left logical shift?

  • Remove leftmost bit.

  • Shift all bits left.

  • Add 0 to the rightmost position.

New cards
11

What is two's complement?

  • Method to represent negative binary values.

  • MSB indicates the sign (-128 for 8 bits).

New cards
12

How do you convert a binary number to its two's complement?

  1. Find the first 1 from the right.

  2. Flip all bits to the left of it.

New cards
13

How do you convert a two's complement binary to denary?

  1. Replace MSB with its negative value.

  2. Add the remaining values.

New cards
14

Where is hexadecimal used?

  • HTML colors.

  • MAC addresses.

  • Assembly language.

  • Memory dumps.

  • Debugging.

  • Error codes.

  • IP addresses.

New cards
15

What is ASCII?

  • 7-bit code for characters and control codes.

  • Uppercase and lowercase have different values.

  • "a" = 97, "b" = 98, etc.

New cards
16

How is Unicode different from ASCII?

  • Unicode supports more characters (up to 4 bytes).

  • Includes international languages.

  • First 128 values match ASCII.

New cards
robot