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 is a primary difference between encoding and encryption?
A
Which of the following is a primary difference between encoding and encryption?
B
Encoding transforms data and encryption does not.
C
Encryption is used in online transactions and encoding is not.
D
Encryption is used to restrict access and encoding is not.
Explanation: 

Detailed explanation-1: -While encryption does involve encoding data, the two are not interchangeable terms, encryption is always used when referring to data that has been securely encoded. Encoding data is used only when talking about data that is not securely encoded. There are two basic types of encryption: symmetric key and public key.

Detailed explanation-2: -Polymorphic viruses encrypt or encode themselves in a different way (using different algorithms and encryption keys) every time they infect a system.

Detailed explanation-3: -In computers, encoding is the process of putting a sequence of characters (letters, numbers, punctuation, and certain symbols) into a specialized format for efficient transmission or storage. Decoding is the opposite process–the conversion of an encoded format back into the original sequence of characters.

Detailed explanation-4: -Asymmetric encryption uses the notion of a key pair: a different key is used for the encryption and decryption process. One of the keys is typically known as the private key and the other is known as the public key.

There is 1 question to complete.