Question

In: Computer Science

1. A brief summary of Chapters 15 and 20 of The Code Book by Charles Petzold...

1. A brief summary of Chapters 15 and 20 of The Code Book by Charles Petzold

2. A brief summary on Hexadecimal and ASCII

(No Screenshots please)

P.S. If you can't do the first one, that's fine.

Solutions

Expert Solution

2.

ASCII -

ASCII stands for American Standard Code for Information Interchange. It is used for character encoding, which is used for numeric coding for representing characters or directly we can say that it is used for electronic communication. ASCII represent 128 characters which includes English letters (upper case and lower case), numbers, punctuation symbols.

ASCII uses 7 bit to represent character as the first bit is always 0 if the byte(8-bits). For example capital "A" is represented by 65 and its value in binary will be 01000001 and small "a" is represented by 97 and its value in binary will be 01100001. Keyboard keys are also represented as ASCII values. For example, Escape Key (ESC) is  27 in  ASCII and its value in binary will be 00011011 and Delete Key(DEL) is 127 in ASCII and its value in binary will be 01111111.

Hexadecimal -

Hexadecimal is used to describe a number system with base-16. Hexadecimal uses numbers from 0-9 and then the letters A to F are used for describing the numerals in decimal. When working with big systems like computers, it is very common to find the binary numbers.The main disadvantage of using binary numbers is that binary string as compared to hexadecimal base-16 is quite long. Hence, hexadecimal is preferred over binary numbers.

As a hexadecimal consists of base-16, it uses 16 digits with the combination of 0 and 1. It consists of numerals 0,1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 and 15. The two digits decimal numbers i.e. 10, 11, 12, 13, 14 and 15 are represented as A, B, C, D, E and F respectively. For example, Escape Key (ESC) is 27 in ASCII and its value in hexadecimal will be 1B and Delete Key(DEL) is 127 in ASCII and its value in hexadecimal will be 7F.

Please rate the answer. Thank You.


Related Solutions

I. Read Chapters 20 and 21 from your Text Book.   II. NCLEX Review Questions Chapters 20...
I. Read Chapters 20 and 21 from your Text Book.   II. NCLEX Review Questions Chapters 20 and 21 from Evolve Resources III. Case Study:  Age-Related Macular Degeneration Patient Profile P.J. is a 74-year-old female who has been seen multiple times in the past with a complex medical history. Most recently, she was discharged one month ago after a 14-day stay for gangrenous open cholecystectomy. The gangrene extended into the common bile duct and she suffered a bile leak postoperatively. On this...
Reflective summary on Chapters 3 and 4 of the book Principles of Health Behavior by Edberg
Reflective summary on Chapters 3 and 4 of the book Principles of Health Behavior by Edberg
A brief summary of Jon etsel’s book chapter 3 “Emotions”. The actual book is "THE OXFORD...
A brief summary of Jon etsel’s book chapter 3 “Emotions”. The actual book is "THE OXFORD BOOK OF ANALYTICAL SOCIOLOGY",.i need a brief summary of the 3rd chapter which was originally written by Jon Etsel>
Book; FINANCIAL INTELLIGENCE BY BERMAN AND KNIGHT Provide a chapter summary for Chapters 10, 11, 12,...
Book; FINANCIAL INTELLIGENCE BY BERMAN AND KNIGHT Provide a chapter summary for Chapters 10, 11, 12, 13 and 14 needs to be 1000+ words
Review the section discussing international accounting in chapters 15, 20, 22, 23, and 26. Are there...
Review the section discussing international accounting in chapters 15, 20, 22, 23, and 26. Are there major similarities and differences between U.S. GAAP and IFRS? Which of the difference do you find the most interesting? If there is a convergence between U.S. GAAP and IFRS, would you choose the U.S. GAAP or IFRS method? Why? Also, discuss if you had any change of option since the discussion in Module 5.
brief summary of NPPV
brief summary of NPPV
summary of chapters 9,10,11 of "nutrition concepts and controversies"
summary of chapters 9,10,11 of "nutrition concepts and controversies"
can you give me short summary abstract and conclusion on chapters 3 and chapters 4 in...
can you give me short summary abstract and conclusion on chapters 3 and chapters 4 in Strategic Market Management, 9th Edition, by David A. Aaker Competitor Analysis Competitor Identification Strategic Groups: Pursue similar competitive strategies –Have similar characteristics –Have similar assets and competencies Competitor Analysis: Potential Competitors: –Market expansion –Product expansion –Backward integration –Forward integration –Export assets or competencies –Retaliatory or defensive strategies Understanding the Competitors Competitor Actions: Size, Growth & Profitability, Current and Past Strategies, Strengths and Weaknesses Cost...
brief summary Reform Judaism
brief summary Reform Judaism
The code on pages 20-21 of the Text book asks you to input a number, and...
The code on pages 20-21 of the Text book asks you to input a number, and it will then sum the numbers from 1 to that number. The Prompt asks you to input a number, not necessarily an integer. The program will abort if a floating point number is entered. Your project, is to “fix” the program and allow for a floating point number to be entered. The program will NOT run, so your task is to convert the floating...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT