Pascal, an Introduction to the Art and Science of ProgrammingIntroduction to computers and problem solving. Introduction to problem solving with Pascal. More Pascal and programming techniques. Designing procedures for substasks. Procedures for modular design. Designing programs that make choices. Problem solving using loops. Designing functions and data types. Arrays for problem solving. Complex array structures. Records and other data structures. Program design methodology. Text files and secondary storage. Problem solving using recursion. Solving numeric problems. More files types. Dynamic data structures. The goto statement. Syntax diagrams for standard Pascal. Conformant array parameters. Functions and procedures as parameters. A quick introduction to the Vi editor. Summary of Vi commands. UNIX files and directories. Summary of UNIX commands. I/O redirection in UNIX. Character sets. |
From inside the book
Results 1-3 of 70
Page 63
... const BranchCount = 10 ; To declare more than one constant , simply list them all , separated by semicolons , like SO : const BranchCount = 10 ; WindowCount = 10 ; InterestRate = 0.06 ; AccountCode = ' S ' ; Any identifier that is not a ...
... const BranchCount = 10 ; To declare more than one constant , simply list them all , separated by semicolons , like SO : const BranchCount = 10 ; WindowCount = 10 ; InterestRate = 0.06 ; AccountCode = ' S ' ; Any identifier that is not a ...
Page 162
... const X = var Scope of X procedure A ( var Scope const Y = var of Y procedure B ( var const Z = var begin { B } Scope of Z end ; { B } begin { A } end ; { A } procedure C ( var const W = var begin { C } end ; { C } begin { Program } end ...
... const X = var Scope of X procedure A ( var Scope const Y = var of Y procedure B ( var const Z = var begin { B } Scope of Z end ; { B } begin { A } end ; { A } procedure C ( var const W = var begin { C } end ; { C } begin { Program } end ...
Page 283
... const declaration ) . The function changes the value of Memory to another value in this range . } const Max = 728 ; { The largest value returned by Random . } begin { RandomReal } RandomReal : = Random ( Memory ) / Max end ...
... const declaration ) . The function changes the value of Memory to another value in this range . } const Max = 728 ; { The largest value returned by Random . } begin { RandomReal } RandomReal : = Random ( Memory ) / Max end ...
Common terms and phrases
actual parameter algorithm AmountLeft array[1 begin{Program binary binary search algorithm blanks boolean expression boolean-valued function buffer Chapter char characters component type const constant contains data flow diagram data structure data type digits dynamic variable enumerated type eoln equal evaluates example executed false file variable formal parameter function declaration given in Figure indexed variable input iteration Last letter linked list local variable loop body MaxLength NetPay NewFile node OldFile Optional output Pascal program pointer Postcondition Precondition Price problem procedure call program in Figure Program program programming language pseudocode pseudorandom readln record recursive call Sample Dialogue Score Self-Test Exercises sentinel value sort string subrange type subtasks syntax text file type CharString type definition type integer type real value of type value parameters variable of type variable parameter Width Write a program writeln writeln('Enter zero