Kids & The Apple 1982
From the originals
13 scansMachine-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.
Image 1
JUST FOR KIDS! KIDS & THE APPLE EDWARD H. CARLSON DATAMOST $19.95 10 HOME 20 PRINT TAB( 30 FOR I=1 TO 35 X=13:1FX 40 NEXT I 50 LET Y=X 60 SQ.RT.(1+X
A grid of mosaic-style tiles mixing black squares reading KIDS & THE APPLE with illustrated scenes of children, adults, and computers, including Apple II-style machines, a red apple, and a smiling mouth.
Reading notes: The diagonal corner banner reads JUST FOR KIDS! and is partly cut off at the top left. Several tiles repeat KIDS & THE APPLE, some partly cropped or upside down (one reads inverted), so the reading order is approximate. The BASIC program lines in the bottom right corner are partly cropped and some characters are uncertain, e.g. the line 20 and line 35 text. The partial text on the top left reading POW and the faint text on the monitor in the scene are not confidently transcribed. The top-left tile fragment reading 'THE APPLE' and the fragment 'PPLE' are cut off by the edge.
- Printed product names
- Apple
- Printed prices
- $19.95
- Languages
- English
PDF page 1
JUST FOR KIDS! EDWARD H. CARLSON DATAMOST $19.95 KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE KIDS & THE APPLE 10 HOME 20 PRINT TAB( 30 FOR I=1 TO 35 X=13:1FX 40 NEXT I 50 LET Y=X 60 SQ.RT.(1+X
A grid of illustrated tiles alternating black text panels reading 'KIDS & THE APPLE' with scenes of children, a teen with an apple, a dog at a computer, a red apple, and an older man at an Apple computer, under a diagonal 'JUST FOR KIDS!' banner.
Reading notes: Diagonal 'JUST FOR KIDS!' banner text is partly cut off at the top-left corner and reads 'JUST FOR KIDS.' with partial letters. Many tiles repeat 'KIDS & THE APPLE' and some are rotated, mirrored, or partially cropped (e.g., 'KIDS & THE APPLE' upside down on one tile, and fragmentary 'PPLE' and 'KIDS' edge text), so exact count and reading order are uncertain. Small screen text on the monitors is partly illegible; the program listing lines (10 through 60) are approximate, particularly lines 35, 50, and 60, which may be cut off at the right edge. The 'POW' text on one monitor and the faint text on the upper-left partially hidden box are not reliably readable. Product name 'Apple' appears as part of the brand logo on the computer and in the title; 'Datamost' and 'Edward H. Carlson' are printed as credits.
- Printed product names
- Apple · Kids & the Apple
- Printed prices
- $19.95
- Languages
- English
PDF page 2
KfDg AND THE APPLE
KfDg AND THE APPLE BY Edward H. Carlson Department of Physics and Astronomy Michigan State Unive_ rsity Illustrated by Paul D. Trap First Printing July 1982 Second Printing January 1983 Third Printing June 1983
Reading notes: The first headline word 'KfDg' appears garbled and its reading is uncertain. 'Unive_ rsity' contains a stray underscore and spacing break, likely 'University'. The title and author lines are in a stacked reading order that may not match the original visual hierarchy. The source copy does not show whether 'First Printing' is a separate line from the date, so the dates are listed only as they appear.
- Printed dates
- July 1982 · January 1983 · June 1983
- Languages
- English
PDF page 3
~ DATAMOS't .. 8943 Fullbright Avenue Chatsworth, CA 91311-2750 (213) 709- 1202 ISBN No. 0-88190-019-2 CDPVAIBHT ~ 1982 BY DATAMOBT This manual is published and copyrighted by DATAMOST. All right s are reserved by DATAMOST. Copying, duplicating, selling or otherwise distributing this product is hereby expressly forbidden except by prior written consent of DATAMOST. The word APPLE and the Apple logo are registered trademarks of APPLE COMPUTER. INC. APPLE COM PUTER,INC.was not in anyway involved in the writing or other preparation of this manual, nor were the facts presented here reviewed for accuracy by that company. Use of the term APPLE shou ld not be construed to represent any endorsement, official or otherwise, by APPLE COMPUTER, INC.
Reading notes: OCR spacing artifacts in copyright and trademark lines, e.g. 'CDPVAIBHT' and 'COM PUTER,INC.'
- Printed product names
- APPLE
- Printed dates
- 1982
- Languages
- English
PDF page 4
TABLE OF CONTENTS
TABLE OF CONTENTS Page Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i io The Kids . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii To The Parents .. ............ .. . . .. . ... . . ............ .. . . . ..... . .. ... . . ... . ... ............ . .... . . . .. iii To The Teachers . . . . .. ............ . ........................... . ........ . ..................... . . ... . . iv About Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v About the Book . .. .. . .. . ... . ... ... ................ ....... . . . . .. . . . ...... .. . ... ................... ... vi INTRODUCTION 1 Home, Print, New, and Run · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·: · · · · · · · · . 7 2 Peeping, Flash, Inverse, and Normal······························· · .. . ... .. . . . · · · · . . .. ·.· ··· ·· . . 13 3 List and Rem·· ····· · ··· ·· ··· ·· ·· ·· ··· · .. ·.······················· ............................. 17 4 Special Keys · . · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 23 5 The INPUT Command· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ........ · ... · . · ...... . . · · · · .. 27 6 Tricks with Print, Speed ...... .. ......... · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 30 7 The LET Command . · · · · · · · · · · · · · · · · · · · .... · · · · · · · · · · · · · · · · . · · . · · · ..................... ........ 34 8 The GOTO Command and Reset Key ....... · · · · · · · · · · · · · · · · · · · · · · · · · · . · · · · · · · · · · · · · · · · · · · · · · · · · 38 9 The IF Command .... ... .. .. .. .. ....... . .. · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 42 10 Introducing Numbers··················· . ... ··· · ············· · · · ··· . ... . ... ............. · ..... · -48 11 Tab and ))elay Loops .......... . ... . ........... · · .................... ..... ...................... 54 12 The IF Command with Numbers .. ..... · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 59 13 Random Numbers and the INT Function ....... . · · · · . . · . · · . · · ... . .......... . .... ..... . . · . · . · . . · .. . 63 14 Save to the Disk · · · · · . · . · · ...... . . · . . . · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 69 GRAPHICS, GAMES, AND ALL THAT 15 Some Shortcuts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 16 Moving About on the Screen, VTAB, HTAB ... .................... . .................... .. ...... 79 17 FOR-NEXT Loops .. .. . . . . ...... . ... ......... ....................... . ......................... 82 18 Edit and Run Modes, The Calculator ........ .. ....... . .. . ... .. ..... . . . . ...... ... . . . ............. 87 19 Moving Pictures Using Strings .... .. .. . ............................................. . ... .... . ... 91 20 Variable Names ..... .. . .. ....... .. ... .. ... .... ........ . ................. . ..................... 95 21 LO-RES Graphics ...... . ............................................ .. .................... ... . 98 22 Graphics Using HLIN and VLIN ..... . ....... . . ... . .. .. .. . ..... . ........... ... . ..... . .. ... ... . . 103 23 Secret Writing and the GET Command . ..... . ....... .. .. . .. . ....... . .. . ... . . .. .................. I 08 24 Pretty Programs, GOSUB , Return, End .. .. . . ... .. .. ... .. .. . . ..... . ........... . ... ... . ... .. . . . . .. 11 3 ADVANCED PROGRAMMING 25 Line Editing ... , .............. ... . . ............... .... ................. . ..................... .11 9 26 Snipping Strings: LEFT$, MID$, RIGHT$, LEN . .. ....... .......... ... ......................... .J 23 27 Switching Numbers with Strings ...... . . . ........ . ................. .. . . .. ...................... .128 28 Paddles for Action Games . . ................ ... ....... . ...... . ..... . ......... ... . ... . . ... .. .. .. .132 29 ASCII Code, Keyboard, ON ... GOTO ......... . ....... ...................................... .138 30 Arrays and the DIM Command ................ .. ... . ...... .. .................................... 145 31 Logic: AND, OR, NOT ................. . . . ................. . . .. .. .... . . . . ..... . . . . .... .. . .. .. .149 32 User Friendly Programs .. ... ........... .. . . ....................... . . . .. . . . .................... .156 33 ))ebugging, STOP, CTRL-C, CONT ..... .... .. ....... ... .... ... ........ . ....... ... .. . .. . . . ... . .162 Appendix A - Disk Usage······ ·· · ··· ·· · ········ · ······ · ························· · · ·· ··· · ········· 167 Appendix B - Saving to Tape · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 169 Appendix C - Reserved Words in Applesoft · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 172 Answers to Assignments · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 173 Glossary · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · • · 207 Index of Commands · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 216 Error Messages · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 217 Index of Topics · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·219
Reading notes: OCR noise and inconsistent characters (e.g., 'io', '))ebugging', 'Rem··') in table of contents entries Chapter 14 title 'Save to the Disk' and Appendix A 'Disk Usage' reading order is uncertain due to layout dot leaders
- Printed product names
- Applesoft
- Languages
- English
PDF page 5
ACKNOWLEDGEMENTS My sincere thanks go to Paul Sheldon Foote for suggesting I write this book. Paul pointed out to me that parents urgently need a book to help their children learn programming on their home computers. I have an Apple and kids at home and was helping plan and preparing to teach in the "Computers and You" summer camp at Michigan State University, but I had not noticed the absence of a book that would teach serious computing to children of middle school age. I am deeply grateful to my fellow teachers and board members at the summer camp: Mark Lardie, John Forsyth, and Mary Winter, each of whom shared their teaching experiences with me and suggested techniques for communicating the material in an effective way. Mark Lardie has been especially generous in reading the typescript and offering suggestions from his extensive experience in teaching computing to children under a variety of formats. The summer camp experience was enhanced by its smooth operation under the direction of Marc Van Wormer and by the expert and sympathic help of the student assistants Paul Johns and Cecilia Stauffer. Remembering the enthusiastic pleasure of the summer camp students has encouraged me during the months spent in preparing this book. Several families have used the book in their homes and offered suggestions for improvement. I especially wish to thank Steve Peter and his girls Karen and Kristy; George Campbell and his youngsters Andrew and Sarah; Beth O'Malia and Scott, John and Matt; Chris Clark and Chris Jr., Tryn, Daniel, and Vicky; and Paul Foote and David. In addition, Lucy Slinger commented on the book from her perspective as a science teacher and Bill Brown from his extensive experience in microcomputing. My own family has tolerated my periods of seclusion in the writing den. These were punctuated by noisy tours of the house in search of whichever of my children could listen to and evaluate my latest idea. So my final and heartfelt thanks go to my wife Louise and our children Karen, Brian and Minda.
Reading notes: Possible typo 'sympathic' for 'sympathetic' in the acknowledgements text. Some line breaks mid-sentence may reflect layout rather than intended reading order.
- Printed product names
- Apple
- Languages
- English
PDF page 6
TO THE KIDS
TO THE KIDS This book teaches you how to write programs for the Apple computer. You will learn how to make your own action games, board games and word games. You may entertain your friends with challenging games and provide some silly moments at your parties with short games you invent. Perhaps your record collection or your paper route needs the organization your special programs can provide. If you are working on the school yearbook, maybe a program to handle the finances or records would be useful. You may help your younger sisters and brothers by writing drill programs for arithmetic facts or spelling. Even your own schoolwork in history or foreign language may be made easier by programs you write. How to Use This Book Do all the examples. Try all the assignments. If you get stuck, first go back and reread the lesson carefully from the top. You may have overlooked some detail. After trying hard to get unstuck by yourself, you may go ask a parent or teacher for help. There are review questions for each lesson. Be sure you can answer them before announcing that you have finished the lesson! MAY THE BLUEBIRD OF HAPPINESS EAT ALL THE BUGS IN YOUR PROGRAMS! ii
- Printed product names
- Apple
- Languages
- English
PDF page 7
iii TO THE PARENTS This book is designed to teach Applesoft BASIC to youngsters in the range from 10 to 14 years old. It gives guidance, explanations, exercises, reviews, and "quizzes." Some exer~ises have room for the student to write in answers that you can check later. Answers are provided in the back of the book for all assignments. Your child will probably need some help in getting started and a great deal of encouragement at the sticky places. Learning to program is not easy because it requires handling some sophisticated concepts. It also requires accuracy and attention to detail which are not typical childhood traits. For these very reasons it is a valuable experience for children. They will be well rewarded if they can stick with the book long enough to reach the fun projects that are possible once a repertoire of commands is built up. How to Use the Book The book is divided into 33 lessons for the kids to do. Each lesson is preceded by a NOTES section which you should read. It outlines the things to be studied, gives some helpful hints , and provides questions which you can use verbally (usually at the computer) to see if the skills and concepts have been mastered. These notes are intended for the parents, but the older students may also profit by reading them. The younger students will probably not read them, and can get all the material they need from the lessons themselves. For the youngest children, it may be advisable to read the lesson out loud with them and discuss it before they start work. TO THE TEACHER This book is designed for students in about the 7th grade. It teaches Applesoft BASIC on disk based or cassette Apple systems. The lessons contain explanations (including cartoons), examples, exercises, and review questions. Notes for the instructor which accompany each lesson summarize the material, provide helpful hints, and give good review questions. The book is intended for self study, but may also be used in a classroom setting. I view this book as teaching programming in the broadest sense, using the BASIC language, rather than teaching "BASIC." Seymour Papert has pointed out in MINDSTORMS that programming can teach powerful ideas. Among these are the idea that procedures are entities in themselves. They can be named, broken down into elementary parts, and debugged. Some other concepts include these: "chunking" ideas into "mind sized bites;' organizing such modules in a hierarchial system, looping to repeat modules , and conditional testing (the IF .. . THEN statement). Each concept is tied to everyday experiences of the student through choice of language to express the idea, through choice of examples, and through cartoons. Thus metaphor is utilized in making the "new" material familiar to the student.
Reading notes: OCR-like spacing and possible broken characters in 'exer~ises' and 'hierarchial'
- Printed product names
- Applesoft BASIC · Apple · MINDSTORMS
- Languages
- English
PDF page 8
ABOUT PROGRAMMING
ABOUT PROGRAMMING There is a common misconception that programming a computer must be very similar to doing arithmetic. Not so. The childhood activities that computing most resembles may be playing with building blocks and writing an English composition. Like a set of blocks, BASIC uses many copies of a small number of elements (commands) that are combined in rather standardized ways to achieve an original end result. As familiarity with the system grows, a "bag of tricks" is collected by the programmer that allows each command to serve a larger number of functions, just as the child first uses the "triangle block" in making roofs, but later finds that two of them make a splendid fir tree. Like an essay, a program is a finished product that fulfills a specified need. The child writing to the theme "How I spent my summer:' adopts one of several working styles. The beginner may be hung up in how to hold the pencil and how to spell. The same child a few grades later will just start writing, not spending much time in forming good paragraphs, much less in planning the overall structure of the composition. With maturity comes freedom to move back and forth among the levels of concern, now thinking about the overall form, and a few moments later paying attention to word choice or punctuation. Computing does have some similarities to arithmetic as seen by most children. There are rigid rules to learn: procedures in arithmetic but only syntax in programming. Even the tiniest mistake makes the whole result "wrong." (A more effective attitude in programming is that "wrong" results are partly right, and need debugging, a normal and expected activity.) However, the limited scope for creativity in arithmetic contrasts sharply with the emphasis on creativity in program writing. iv
Reading notes: Quotation marks around 'bag of tricks' and 'triangle block' are rendered with irregular spacing in the source text.
- Printed product names
- BASIC
- Languages
- English
PDF page 9
v Programming offers general education advantages not easily found elsewhere in a child's experiences. The plasticity of the form, words on a screen that are created and destroyed by the touch of a key, allows effort to be concentrated on the central features to be learned. These features are balanced between analysis (why doesn't it work as I want) and synthesis (planning on several size scales, from the program as a whole down through loops and subroutines to individual commands). Learning on the computer is efficient of effort. Errors of syntax are automatically pointed out by the computer. The analytical and synthetical skills learned in programming can be transferred to more general situations and can help the child to a more mature style of thinking and working. ABOUT THE BOOK The book is arranged in 33 lessons, each with notes to the instructor and each containing assignments and review questions. For instructors who feel themselves weak in BASIC or are beginners, the student's lessons form a good introduction to BASIC. The lessons and notes differ in style. The lessons are pragmatic and holistic, the notes and GLOSSARY are detailed and explanatory. The book starts with a bare bones introduction to programming, leading quickly to the point where interesting programs can be written. See the notes for lesson 5, THE INPUT COMMAND, for an explanation. The central° part of the book emphasizes more advanced and powerful commands. The final part of the book continues this, but also deals with broader aspects of the art of programming such as editing and debugging, and user friendly programming. The assignments involve writing programs, usually short ones. Of course, many different programs are satisfactory "solutions" to these assignments. In the back of the book I have included a solution for each assignment program, some of them written by children who have used the book. Lessons 14 (SAVE TO THE DISK) and 18 (EDIT AND RUN MODES) can be studied anytime after the first lesson.
Reading notes: Source text begins mid-page with a stray 'v' character. Degree symbol after 'central' in the body text is ambiguous.
- Printed product names
- BASIC
- Languages
- English
PDF page 10
INTRODUCTION INSTRUCTOR NOTES 1 HOME, PRINT, NEW, and RUN This lesson is an introduction to the computer. Directions for turning on the machine are given on the next page and may be supplemented by your own instructions. Appendix A concerns care and usage of disks. You should initialize a disk at this point for the exclusive use of the student. Instructions and a useful HELLO program for this are given in the appendix. Commands covered in this lesson are: HOME, NEW, PRINT and RUN The contents of the lesson: 1. Turning on the computer. 2. Typing versus entering commands or lines. RETURN key. 3. The computer only understands a limited number of commands. 4. In this lesson, HOME, NEW, PRINT, RUN. 5. What is a program. Numbered lines. 6. The screen can be cleared using HOME. 7. Memory can be cleared with NEW. 8. What is seen on the screen and what is in memory are different. This may be a hard concept for the student to understand at first. 9. RUN makes the computer go to memory, look at the commands in the lines (in order) and perform the commands. 10. One can skip numbers in choosing line numbers , and why one may want to do so. QUESTIONS: 1. Write a program that will print your name. 2. Make the program disappear from the TV screen but stay in memory. 3. Run it. 4. Erase the program from memory. 5. Write a program that will clear the screen, then print "HELLO" 6. Make it run . 7. Erase it from memory but leave it on the screen. 7
- Languages
- English
PDF page 11
LESSON 1 HOME, PRINT, NEW, and RUN
8 LESSON 1 HOME, PRINT, NEW, and RUN HOW TO TURN ON THE COMPUTER If you have the Apple II+ with Autostart ROM, then: 1. Find your special disk or the one named "DOS 3.3 SYSTEM MASTER". 2. Hold the disk with the label up and your thumb on the label. 3. Put the disk carefully in the drive 1 and close the door. 4. Reach behind the computer at the left and switch it on. 5. Switch on the TV or Monitor. If you have another kind of Apple, follow these instructions: TYPING iype some things. What you type shows on the TV screen. COMMAND THE COMPUTER Thy this. iype: HOME and press the RETURN key. The word "HOME" tells the computer to erase the TV screen and move the flashing box to the upper left corner of the screen.
Reading notes: OCR spacing irregular in some words such as 'iype' and 'Thy' which likely read 'Type' and 'Try'
- Printed product names
- Apple II+ · DOS 3.3 SYSTEM MASTER
- Languages
- English