Question

In: Computer Science

SUBJECT: CYBER ESSENTIALS Convert between binary and hexadecimal values Question 7: Convert binary number to a...

SUBJECT: CYBER ESSENTIALS

Convert between binary and hexadecimal values

Question 7: Convert binary number to a hexadecimal number

Binary number: 00001100

Hexadecimal value: ??

Question 8: Convert binary number to a hexadecimal number

Binary number: 01001111

Hexadecimal value: ??

Question 9: Convert binary number to a hexadecimal number

Binary number: 10101101

Hexadecimal value: ??

Question 10: Convert hexadecimal number to an 8 bit binary number

Hexadecimal number: AB

8 bit binary number:

Question 11: Convert hexadecimal number to an 8 bit binary number

Hexadecimal number: D2

8 bit binary number: ??????????

Question 12: Convert hexadecimal number to an 8 bit binary number

Hexadecimal number: 01

8 bit binary number: ??????????

Part 3: ASCII Code (10 points)

Question 13: What character is the hexadecimal ASCII code 23?

Question 14: What character is the hexadecimal ASCII code 4A?

Question 15: What character is the hexadecimal ASCII code 6A?

Part 4: Converting numbers to binary (20 points)

Question 16: For each scenario determine if the numbers should be stored as ASCII codes or binary equivalents. Then find the ASCII code or calculate the binary equivalent.

Scenario

ASCII code

Binary equivalent

The course number: 107

The year: 2001

The number of printers in inventory: 62

The weight of a suitcase when it is checked in at the airport: 24

Question 17: Explain your reason for each of the choices in the previous question.

Scenario

Binary equivalent

The course number: 107

The year: 2001

The number of printers in inventory: 62

The weight of a suitcase when it is checked in at the airport: 24

Solutions

Expert Solution

Hexadecimal     Binary
    0           0000
    1           0001
    2           0010
    3           0011
    4           0100
    5           0101
    6           0110
    7           0111
    8           1000
    9           1001
    A           1010
    B           1011
    C           1100
    D           1101
    E           1110
    F           1111
Use this table to convert from binary to hexadecimal
7)
Converting 00001100 to hexadecimal
0000 => 0
1100 => C
So, in hexadecimal 00001100 is 0x0C

8)
Converting 01001111 to hexadecimal
0100 => 4
1111 => F
So, in hexadecimal 01001111 is 0x4F

9)
Converting 10101101 to hexadecimal
1010 => A
1101 => D
So, in hexadecimal 10101101 is 0xAD

10)
Converting AB to binary
A => 1010
B => 1011
So, in binary AB is 10101011

11)
Converting D2 to binary
D => 1101
2 => 0010
So, in binary D2 is 11010010

12)
Converting 01 to binary
0 => 0000
1 => 0001
So, in binary 01 is 00000001


Related Solutions

Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal....
Convert 110.7510 to binary ______ and hexadecimal ______. Show the answer in both binary and hexadecimal. There are ____________ kilobytes in a megabyte. Convert -13210 to a 16-bit 2’s complement in binary ____________ and hexadecimal ______________.
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b....
1. Convert to binary and hexadecimal (PLEASE SHOW WORK) a. 35 - binary: - hexadecimal: b. 85 - binary: - hexadecimal: c. 128 - binary: - hexadecimal: d. 4563 - binary: - hexadecimal:
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as...
Convert the following binary values to hexadecimal and decimal (1 pt each) Write Hex Numbers as 0x##(ex 0x0A, 0xFF) Binary Hexadecimal Decimal 0001-1011 0x 0000-1000 0000-0100 0000-1001 0001-1111 1001-1001 0111-1010 1100-0010 1110-0101 1000-1010 0011-0100 0001-1001 0100-0011 1111-1111 1110-0111 0001-0010 0100-1000 0100-1110 1001-0001 0110-1100 Name: Convert the following hexadecimal values to binary and decimal Write binary numbers as 0000-0000 Hexadecimal Binary Decimal 0xf1 0xac 0x56 0x6c 0x32 0x30 0x05 0x28 0xf0 0x07 0x42 0xb9 0x6d 0x2f 0x71 0x0e 0x2d 0xfb 0xba...
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
Design a Decoder Circuit that can convert a 4-bit Binary Number to a Hexadecimal Output.
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754...
With a detailed step-by-step process, convert the following decimal number into binary, Hexadecimal and IEEE 754 formats : 72.nn ( where nn is 80)
Write a MIPS Assembly Language program which runs interactively to convert between decimal, binary, and hexadecimal....
Write a MIPS Assembly Language program which runs interactively to convert between decimal, binary, and hexadecimal. 1. Request input data type. 2. Request input data. 3. Request output data type. 4. Output the data. Use any algorithm
Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of...
Convert a list of decimal numbers into their binary and hexadecimal equivalents Add the elements of each of these lists to generate a total sum Print the lists, and the total sum of each value C++ contains some built-in functions (such as itoa and std::hex) which make this assignment trivial. You may NOT use these in your programs. You code must perform the conversion through your own algorithm. The input values are: 5 9 24 2 39 83 60 8...
For the first three sections assume unsigned integers. Convert to binary and hexadecimal 85 4563 Convert...
For the first three sections assume unsigned integers. Convert to binary and hexadecimal 85 4563 Convert from binary to decimal and hexadecimal. 0b1010 1011 0b0011 0001 Convert from hexadecimal to binary and decimal. 0xB2 0x11
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal:...
Convert from hexadecimal to binary to decimal (PLEASE SHOW WORK) 1. B2 - binary: - decimal: 2. 37 - binary: - decimal: 3. 0A -binary: - decimal: 4. 11 - binary: - decimal:
Convert the following values into binary numbers for each word and place the binary values in...
Convert the following values into binary numbers for each word and place the binary values in the two-dimensional array in their proper order of words. Value Binary Number Equivalent Word 0 462,91210 Word 1 1142008 Word 2 5420h Word 3 20,992d Word 4 1104208 Word 5 6102008 Word 6 9F88h Word 7 20,49610 Word 8 502416 Word 9 1101018 Word 10 71082h
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT