← Structured Programming Using Think Pascal On The Macintosh 1992

Structured Programming Using Think Pascal On The Macintosh 1992

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

II The Templates of Recursion, 629 Reversing a String, 631 Subsequences and Substrings of a String, 633 Some Counting Problems, 635 A Power Set of a Set, 638 Mutual Recursion, 640 Review, 643 Exercises, 643 10-2 Recursive Programming 646 Factorial, 647 Reversing a String, 648 Recursive Sorting, 648 Subsequences and Substrings of a String, 649 Strings of Length N Using M Letters, 649 Number of Divisors of an Integer, 652 Obtaining a Number as a Sum, 653 The Power Set of a Set, 654 Mutual Recursion, 660 DPT, 660 Testing, 660 Review, 664 Exercises, 664 10-3 Recursion, Iteration, or ... ? 666 Program Measurements, 666 Measuring Time and Space, 667 A First Comparison, 670 The Fibonacci Numbers, 671 Combinatorial Coefficients, 674 Reversing a String, 676 Sorting , 677 Prefix Expressions, 679 Some Final Thoughts on Recursion, 680 Review, 680 Exercises, 680 ·FILE VO Objectives 683 11-1 Introduction 683 File Terminology, 684 Pascal Files, 685 Review, 688 Exercises, 688 11-2 Sequential Files: Control Breaks 690 An Example, 690 Control Breaks: General, 693 CONTENTS 683 xi

Reading notes: Source is a table of contents with page numbers; no headline or product advertising present. Headline is not identifiable as a primary heading in the supplied copy.

Languages
English