COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following best describes the main purpose of encoding?
A
To format data for efficient storage and transmission
B
To maintain data confidentiality
C
To minimize data size
D
To slow down the transfer of data between computers
Explanation: 

Detailed explanation-1: -The purpose of encoding is to transform data so that it can be properly (and safely) consumed by a different type of system, e.g. binary data being sent over email, or viewing special characters on a web page. The goal is not to keep information secret, but rather to ensure that it’s able to be properly consumed.

Detailed explanation-2: -Encryption is the method by which information is converted into secret code that hides the information’s true meaning. The science of encrypting and decrypting information is called cryptography.

Detailed explanation-3: -UTF-8 is the most commonly used encoding scheme used on today’s computer systems and computer networks.

Detailed explanation-4: -A codec is a device or computer program that encodes or decodes a data stream or signal. Codec is a portmanteau of coder/decoder. In electronic communications, an endec is a device that acts as both an encoder and a decoder on a signal or data stream, and hence is a type of codec.

There is 1 question to complete.