Preview

Lab 1.4 ASCII

Satisfactory Essays
Open Document
Open Document
349 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Lab 1.4 ASCII
What is the ASCII hexadecimal code for a blank space? Why is it necessary to represent a blank space as a separate character in text? 32. Spaces are part of data.
Using the Microsoft Word or Excel, create a chart similar to Table 1-3 for the hexadecimal codes for the numbers from 0 through 9.
Binary
Decimal
Hexadecimal
Character
00000000
0
000
NUL
00000001
1
001
SOH
00000010
2
002
STX
00000011
3
003
ETX
00000100
4
004
EOT
00000101
5
005
ENQ
00000110
6
006
ACK
00000111
7
007
BEL
00001000
8
008
BS
00001001
9
009
HT

Exercise 1.4.3
What are the binary and decimal values of the ASCII letter K? 01001011, 75.
What is the relationship of ASCII to the UCS encoding? For communication and exchange of electronic information. The way they encode each character and the number of bits used.
What features are provided by UTF- 8 that are not provided by ASCII? Why was it chosen to replace ASCII as the standard for the web? A variable with encoding that can represent every character in the Unicode character set. UTF-8 functions better on the web. It can translate foreign languages.

1. Using the ASCII encoding scheme, write your name (including the space between your first and last name) in hexadecimal. How much memory would it take to store your name if each ASCII character occupied a byte? 52-R, 61-a, 6D-m, 6F-o, 6E-n, 32-Space, 44-D, 65-e, 4C-L, 61-a, 54-T, 6f-o, 72-r, 72-r, 65-e. 1407/8= 175.875 bytes
2. Using a word size of 64 bits, how much memory space is wasted by the leading 0 used to store 256 ASCII characters each in individual bytes? Every time you save a character it begins with 0 and only use 7 bits in a slot, so you would be wasting some money.
3. 3. What is the binary equivalent of the word NETWORK using ASCII encoding?
N= 01001110
E= 01000101
T=01010111
W=01001111
O=01001111
R= 01010010
K=01001011

You May Also Find These Documents Helpful

  • Satisfactory Essays

    NT1210 Lab 1

    • 319 Words
    • 4 Pages

    The ASCII hex code for a blank space is 20. Blank spaces are necessary to represent in text so…

    • 319 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1210 Week 1 Labs 1

    • 3680 Words
    • 20 Pages

    Create an expanded mapping similar to Figure 1- 3 for the binary number 10010 2 using either paper and pencil or a Word document.…

    • 3680 Words
    • 20 Pages
    Satisfactory Essays
  • Good Essays

    Pt1420 Unit 5 Study Guide

    • 2789 Words
    • 12 Pages

    2. Convert the binary number to hexadecimal by grouping bits in threes, starting from right.…

    • 2789 Words
    • 12 Pages
    Good Essays
  • Good Essays

    1 Which statements are true concerning the shared memory buffering used by an Ethernet switch? (Choose two.)…

    • 2145 Words
    • 9 Pages
    Good Essays
  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. What is the highest number that can be stored in a byte? – 8 bytes as 11111111 or 255 in decimal.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab 1 1

    • 814 Words
    • 9 Pages

    Create an expanded mapping similar to Figure 1-3 for the binary number 100102 using either paper and pencil or a Word document.…

    • 814 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab6 7 8 9

    • 425 Words
    • 2 Pages

    Is what is used to represent in the form of a binary number for the address bus.…

    • 425 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 1 Research Paper

    • 4285 Words
    • 18 Pages

    Each character requires one byte as it is usually stored as an ASCII character. Notice that a digit such as 8 could be held as either a character, an integer or even a real. If any calculations are going to take place on the value then it should be held as either an integer or a real. If the calculation will never result in it being extremely large or gaining decimal places then an integer should be used.…

    • 4285 Words
    • 18 Pages
    Powerful Essays
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    For example, the capital letter A is ASCII character 65, the numeral 2 is ASCII 50, the character} is ASCII 125 and the metacharacter carriage return is ASCII 13. Systems based on ASCII use seven bits to represent these values digitally. In contrast, most computers store data in memory organized in eight-bit bytes. Files that contain machine-executable code and non-textual data typically contain all 256 possible eight-bit byte values. Many computer programs came to rely on this distinction between seven-bit text and eight-bit binary data, and would not function properly if non-ASCII characters appeared in data that was expected to include only ASCII text. For example, if the value of the eighth bit is not preserved, the program might interpret a byte value above 127 as a flag telling it to perform some function. It is often desirable, however, to be able to send non-textual data through text-based systems, such as when one might attach an image file to an e-mail message. To accomplish this, the data is encoded in some way, such that eight-bit data is encoded into seven-bit ASCII characters (generally using only alphanumeric and punctuation characters—the ASCII printable characters). Upon safe arrival at its destination, it is then…

    • 1994 Words
    • 8 Pages
    Better Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    There are several items that are pertinent to memory management such as, basic hardware, the binding of symbolic memory addresses to definite physical addresses and the difference between logical and physical addresses. The most important task that memory management executes is the distribution and collection of memory…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Using a system of 1's and 0's ______________ is the most common way of encoding data.…

    • 932 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    NT1110

    • 315 Words
    • 2 Pages

    The third numbering system that computers use is hexadecimal system, which is complex than the other two numbering systems. This refers to the base16 number system that consists of 16 symbols. The numbers are 0 to 9 and the letters A to F. The decimal number 15 is represented as F in the hexadecimal numbering system. The hexadecimal system is useful because it can represent every byte as two consecutive hexadecimal digits. It is easier for people to read hexadecimal numbers than binary numbers.…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    3. Any piece of data that is stored in a computer’s memory must be stored as a…

    • 435 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    essay

    • 892 Words
    • 6 Pages

    ** There is no correlation between the number of spaces provided and the number of codes!!…

    • 892 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    10 is the same as 0010 because in binary a “zero “doesn’t represent a value. It does however represent a “place” so you definitely need to place the “zeroes” in accordingly.…

    • 332 Words
    • 2 Pages
    Satisfactory Essays