Answers to Chapter 5 Review Questions
|1:||What is lexical analysis?|
|A1:||Lexical analysis is a process performed by the compiler to distinguish the atomic parts (in the source code of a computer language) from each other.|
|2:||What are the atomic parts of a C# program?|
|A2:||The atomic C# parts constitute the unbreakable parts, such as keywords, identifiers, curly braces, parentheses, semicolon, and so on.|
|3:||What is Pascal casing and camel casing? For which parts of the C# program should they be used?|
|A3:||If an identifier is written with Pascal casing, all words within this name begin with an uppercase character, as in CalculateMaxDistance.
Camel casing is nearly identical to Pascal casing, the only difference being that identifiers written with ...