COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
ASCII is a character encoding standard that uses 7-bit binary numbers to represent each character. The following table shows four ASCII characters and the decimal number associated with each character.
A
ASCII 7 Decimal Number 55
B
ASCII = Decimal Number 61
C
ASCII A Decimal Number 65
D
ASCII Z Decimal Number 90
Explanation: 

Detailed explanation-1: -ASCII is a 7-bit code, representing 128 different characters. When an ascii character is stored in a byte the most significant bit is always zero. Sometimes the extra bit is used to indicate that the byte is not an ASCII character, but is a graphics symbol, however this is not defined by ASCII.

Detailed explanation-2: -7-bit encoding is a reference to the Ascii character set-pronounced “Askey” and standing for “American Standard Code for Information Interchange”-which is a mapping of English alphabet characters, numbers and symbols to 7-bit numerical values in the range 0 to 127.

Detailed explanation-3: -ASCII. ASCII was originally developed for basic computers and printers. It uses a 7-bit code to represent characters. As more computers began to work with 8-bit groups of data, ASCII was written as 8 bits.

There is 1 question to complete.