8.3Functionality of Imperative Languages239In the exercises, we ask you to compare the syntactic differences thatsurface in these examples.The use of uppercase and lowercase in identifiers is part of the cultureof a language. In our examples, we have tried to stay with the style that iscommon within the language’s culture. For example, most C++ program-mers use all uppercase for named constants and begin variable names withlowercase, while Ada and VB.NET programmers tend to begin variablenames with uppercase letters.Input/Output StructuresIn our pseudocode algorithms we have used the expressions Readand Writeto indicate that we were interacting with the environment outside theprogram. Readwas for getting a value from outside the program andstoring it into a variable inside the program, and Writewas for displaying amessage for the human to see.Machine-language instructions for input and output are very primitive.
This is the end of the preview.
access the rest of the document.