Ask Question
31 December, 18:28

What are the 4-bit patterns used to represent each of the characters in the string "1301"? Only represent the characters between the quotation marks.) Note: There is space between 1301. Practical (show work 1. What are the sign and magnitude for the following numbers? A. - 27 B. 140 C. - 99 D. 46

+3
Answers (1)
  1. 31 December, 20:52
    0
    The string "1301" can be converted into numbers by using the ASCII characters set.

    1. Decimal ASCII

    1=49, 3=51, 0=48, 1=49

    Without space

    "1301" = 49 51 48 49

    with space included

    "1 3 0 1" = 49 32 51 32 48 32 49

    (white space is represented by 32 in Decimal ASCII)

    2. Hexadecimal ASCII

    1=31, 3=33, 0=30, 1=31

    Without space

    "1301" = 31 33 30 31

    with space included

    "1 3 0 1" = 31 20 33 20 30 20 31

    (white space is represented by 20 in hexadecimal ASCII)

    The magnitude can be found by traditional decimal to binary conversion (Divide by 2 until we are left with remainder 0 or 1) and sign can be represented by adding most significant bit (MSB) 0 for positive and 1 for negative.

    A. - 27

    Magnitude: 00011011

    Since the sign is negative add 1 to the MSB

    which becomes 100011011

    B. 140

    Magnitude: 10001100

    Since the sign is positive add 0 to the MSB

    which becomes 010001100

    C. - 99

    Magnitude: 01100011

    Since the sign is negative add 1 to the MSB

    which becomes 101100011

    D. 46

    Magnitude: 00101110

    Since the sign is positive add 0 to the MSB

    which becomes 000101110
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What are the 4-bit patterns used to represent each of the characters in the string "1301"? Only represent the characters between the ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers