Problem_Solving_Using_UCSD_Pascal_2ed_1984_Bowles.pdf

(23045 KB) Pobierz
Problem Solving Using UCSD Pascal
Second Edition
Related Titles From The Original Publisher of Pascal
Books ...
PASCAL: USER MANUAL AND REPORT
2nd Edition
Kathleen Jensen
and
Niklaus Wirth
"One work that was highly rated by advanced students was the second edition of
Pascal:
User Manual and Report .
..
[which] is hardly surprising because one of the coauthors,
Niklaus Wirth, invented the
language."-Forbes
"Highly readable"-L.
Witte
The
Pascal classic. The user manual introduces the language in a tutorial, demonstrative
manner. The revised report serves as a concise, authoritative reference for both
programmers and implementers.
1978. Paper
ISBN 0-387-90144-2
A PRACTICAL INTRODUCTION TO PASCAL
2nd Edition
I.R. Wilson
and
A.M. Addyman
A short, practical introduction to Pascal that teaches good programming style through
examples. Over 60 programs, pencil and paper exercises and practical problems.
Describes the BSI 6192, the ISO-adopted international PASCAL Standard.
1982. Paper
ISBN 0-387-91210-X
AMERICAN PASCAL STANDARD
With Annotations
Edited by
Henry Ledgard
This complete ANSI/IEEE Pascal standard, supplemented by Henry Ledgard's
annotations, brings the new American standard to the level of the programmer.
1984. Paper
(Springer Books on Professional Computing)
ISBN 0-387-91248-7
PROGRAMMING IN MODULA-2
2nd Edition
Nlklaus Wirth
"[T]he definitive source ... It is a modestly small book filled to the brim with
information ...
"The book seems ideal for the audience Wirth acknowledges he intended to reach: people
who do not need to spend time on the basics of computing but are interested in learning
more about programming and particularly the Modula-2 programming language ."
-Journal of Pascal and Ada
1983. Cloth
(Texts and Monographs in Computer Science)
ISBN 0-387-12206-0
Kenneth
L.
Bowles
Stephen D. Franklin
Dennis
J.
Volper
Problem Solving Using
UCSD Pascal
Second Edition
With 106 Illustrations
Springer-Verlag
New York Berlin Heidelberg Tokyo
Kenneth L. Bowles
TeleSoft
10639 Roselle Street
San Diego, CA 92121
U.S.A.
Stephen D. Franklin
Dennis
J.
Volper
Department of Computer Science
University of California
Irvine, CA 92717
U.S.A.
(C.R.) Computer Classification: D.3.3
Library of Congress Cataloging in Publication Data
Bowles, Kenneth
L.,
Problem solving using UCSD Pascal.
Includes index.
1. UCSD Pascal (Computer program language)
1.
Franklin,
Stephen D. II. Volper, Dennis
J.
III.
Title. IV. Title:
Problem solving using U.C.S.D. Pascal.
QA76.73.U25B69 1984
001.64'24
83-27184
UCSD Pascal is a trademark of the Regents of the University of California.
The first edition of this book is entitled
Microcomputer Problem Solving Using Pascal,
©
1977 by Springer-Verlag.
©
1984 by Springer-Verlag New York Inc.
All rights reserved. No part of this book may be translated or reproduced
in any form without written pennission from Springer-Verlag, 175 Fifth Avenue,
New York, NY, 10010 U.S.A.
The use of general descriptive names, trade names, trademarks, etc., in
this publication, even if the former are not especially identified, is
not to be taken as a sign that such names, as understood by the Trade Marks
and Merchandise Marks Act, may accordingly be used freely by anyone.
987654321
ISBN-13: 978-0-387-90822-9
DOl: 10.1007/978-1-4612-5194-1
e-ISBN-13: 978-1-4612-5194-1
CONTENTS
o.
Introduction ........................................................................... .
1. Problem Examples ........ ,.................................................... .
2. Algorithm!!, Data, and Programs ........................................ .
3. The Choice of Pascal as our Programming Language ......... .
4. Equipment - Micro, Mini, and Maxi Computers ................. .
o.
Graphic Display Devices .................................................... .
6. Organization of the Book ................................................... .
7. Computer Jargon ............................................................... .
8. The Goal Statement!! ......................................................... .
9. Study Habits ...................................................................... .
Getting Started ...................................................................... .
1. Goals ................................................................................. .
2. Commands
to
the Computer ...................... .........................
3. Drawing Simple Pictures with Commands ..........................
4. A Pascal Program Using the Turtle ....................................
5. Modifying a Program with the Editor. ................................
6. Running the Modified Program .... .......................................
7. Disk Library and Work file ..................................................
8. Syntax Diagrams........ ......... ........... ..... .... ..... .... ......... ..........
9. Syntax for <program> and <block> ..............................
10. Sample Program Using <string> 's ..................................
Procedures and Variables ....................................................... .
1. Goals ................................................................................. .
2. Background ........................................................................ .
3. Procedures ......................................................................... .
4. Calling One Procedure
Crom
Another ................................. .
5. Parameters ........................................................................ .
6. Syntax for Procedures ........................................................ .
7. Variables ............................................................................ .
8. Syntax for Variables .......................................................... .
9. Preliminaries on Arithmetic Expressions ............................ .
10. Working with STRING variables ..................................... .
11.
Built~in
Procedures and Functions for Strings .................. .
12. Sample Programs Using Strings ....................................... .
Control Structures I ............................................................... .
1. Goals ................................................................................. .
2. Background ........................................................................ .
v
Page
1
1
2
3
4
6
6
7
7
o
1.
10
10
10
11
15
16
17
18
19
21
23
2.
37
41
27
27
27
Z8
31
33
36
40
45
47
51
3.
57
57
57
Zgłoś jeśli naruszono regulamin