Squeak Learn Programming with Robots
The goal of this book is to explain elementary programming concepts (such as loops, abstraction, composition, and conditionals) to novices of all ages. I believe that learning by experimenting and solving problems is central to human knowledge acquisition. Therefore, I have presented programming co...
Đã lưu trong:
Tác giả chính: | |
---|---|
Định dạng: | Sách |
Ngôn ngữ: | English |
Được phát hành: |
Apress
2013
|
Những chủ đề: | |
Truy cập trực tuyến: | https://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34787 |
Các nhãn: |
Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
|
Thư viện lưu trữ: | Thư viện Trường Đại học Đà Lạt |
---|
id |
oai:scholar.dlu.edu.vn:DLU123456789-34787 |
---|---|
record_format |
dspace |
institution |
Thư viện Trường Đại học Đà Lạt |
collection |
Thư viện số |
language |
English |
topic |
Robot Computer |
spellingShingle |
Robot Computer Ducasse, Stéphane Squeak Learn Programming with Robots |
description |
The goal of this book is to explain elementary programming concepts (such as loops, abstraction, composition, and conditionals) to novices of all ages. I believe that learning by experimenting
and solving problems is central to human knowledge acquisition. Therefore, I have presented programming concepts through simple problems such as drawing golden rectangles or simulating animal behavior.
My ultimate goal is to teach you object-oriented programming, because this particular
paradigm provides an excellent metaphor for teaching programming. However, objectoriented
programming requires some more elementary notions of programming and abstraction.
Therefore, I wrote this book to present these basic programming concepts in an elementary programming environment with the special perspective that this book is the first in a series of two books. Nevertheless, this book is completely self-contained and does not require you to
read the next one. The second book introduces another small programming environment. It focuses on intermediate-level topics such as finding a path through a maze and drawing fractals.
It also acts as a companion book for readers who want to know more and who want to adapt the environment of this book to their own needs. Finally, it introduces object-oriented programming. The ideal reader I have in mind is an individual who wants to have fun programming. This person may be a teenager or an adult, a schoolteacher, or somebody teaching programming to children in some other organization. Such an individual does not have to be fluent in programming in any language. The material of this book was originally developed for my wife, who is a physics and mathematics teacher in a French school where the students are between eleven and fifteen years old. In late 1998, my wife was asked to teach computing science, and she was dismayed by the lack of appropriate material. She started out teaching HTML, Word, and other topics, and she remained dissatisfied, since these approaches failed to promote a scientific attitude toward computing science. Her goal was to teach computer science as a process of attacking
problems and finding solutions. |
format |
Book |
author |
Ducasse, Stéphane |
author_facet |
Ducasse, Stéphane |
author_sort |
Ducasse, Stéphane |
title |
Squeak Learn Programming with Robots |
title_short |
Squeak Learn Programming with Robots |
title_full |
Squeak Learn Programming with Robots |
title_fullStr |
Squeak Learn Programming with Robots |
title_full_unstemmed |
Squeak Learn Programming with Robots |
title_sort |
squeak learn programming with robots |
publisher |
Apress |
publishDate |
2013 |
url |
https://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34787 |
_version_ |
1819838726267731968 |
spelling |
oai:scholar.dlu.edu.vn:DLU123456789-347872014-01-20T01:40:20Z Squeak Learn Programming with Robots Ducasse, Stéphane Robot Computer The goal of this book is to explain elementary programming concepts (such as loops, abstraction, composition, and conditionals) to novices of all ages. I believe that learning by experimenting and solving problems is central to human knowledge acquisition. Therefore, I have presented programming concepts through simple problems such as drawing golden rectangles or simulating animal behavior. My ultimate goal is to teach you object-oriented programming, because this particular paradigm provides an excellent metaphor for teaching programming. However, objectoriented programming requires some more elementary notions of programming and abstraction. Therefore, I wrote this book to present these basic programming concepts in an elementary programming environment with the special perspective that this book is the first in a series of two books. Nevertheless, this book is completely self-contained and does not require you to read the next one. The second book introduces another small programming environment. It focuses on intermediate-level topics such as finding a path through a maze and drawing fractals. It also acts as a companion book for readers who want to know more and who want to adapt the environment of this book to their own needs. Finally, it introduces object-oriented programming. The ideal reader I have in mind is an individual who wants to have fun programming. This person may be a teenager or an adult, a schoolteacher, or somebody teaching programming to children in some other organization. Such an individual does not have to be fluent in programming in any language. The material of this book was originally developed for my wife, who is a physics and mathematics teacher in a French school where the students are between eleven and fifteen years old. In late 1998, my wife was asked to teach computing science, and she was dismayed by the lack of appropriate material. She started out teaching HTML, Word, and other topics, and she remained dissatisfied, since these approaches failed to promote a scientific attitude toward computing science. Her goal was to teach computer science as a process of attacking problems and finding solutions. Foreword. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii About the Author. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxvii PART 1 ■ ■ ■ Getting Started ■CHAPTER 1 Installation and Creating a Robot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 ■CHAPTER 2 A First Script and Its Implications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 ■CHAPTER 3 Of Robots and Men . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 ■CHAPTER 4 Directions and Angles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 ■CHAPTER 5 Pica’s Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 ■CHAPTER 6 Fun with Robots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 PART 2 ■ ■ ■ Elementary Programming Concepts ■CHAPTER 7 Looping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 ■CHAPTER 8 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 ■CHAPTER 9 Digging Deeper into Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 ■CHAPTER 10 Loops and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 ■CHAPTER 11 Composing Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 PART 3 ■ ■ ■ Bringing Abstraction into Play ■CHAPTER 12 Methods: Named Message Sequences . . . . . . . . . . . . . . . . . . . . . . . . 135 ■CHAPTER 13 Combining Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 ■CHAPTER 14 Parameters and Arguments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 ■CHAPTER 15 Errors and Debugging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 ■CHAPTER 16 Decomposing to Recompose . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 ■CHAPTER 17 Strings, and Tools for Understanding Programs . . . . . . . . . . . . . . . . 197 CONTENTS AT A GLANCE PART 4 ■ ■ ■ Conditionals ■CHAPTER 18 Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 ■CHAPTER 19 Conditional Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221 ■CHAPTER 20 Boolean and Boolean Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 ■CHAPTER 21 Coordinates, Points, and Absolute Moves . . . . . . . . . . . . . . . . . . . . . . 243 ■CHAPTER 22 Advanced Robot Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 ■CHAPTER 23 Simulating Animal Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269 PART 5 ■ ■ ■ Other Squeak Worlds ■CHAPTER 24 A Tour of eToy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289 ■CHAPTER 25 A Tour of Alice . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315 ■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 2013-07-19T01:38:32Z 2013-07-19T01:38:32Z 2005 Book 1-59059-491-6 https://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34787 en application/pdf Apress |