Learn to Program with Scratch: A Visual Introduction to Programming with Games, Art, Science, and Math (Paperback)

Majed Marji

  • 出版商: No Starch Press
  • 出版日期: 2014-02-14
  • 定價: $1,160
  • 售價: 9.5$1,102
  • 語言: 英文
  • 頁數: 288
  • 裝訂: Paperback
  • ISBN: 1593275439
  • ISBN-13: 9781593275433
  • 相關分類: Scratch
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Scratch is a fun, free, beginner-friendly programming environment where you connect blocks of code to build programs. While most famously used to introduce kids to programming, Scratch can make computer science approachable for people of any age. Rather than type countless lines of code in a cryptic programming language, why not use colorful command blocks and cartoon sprites to create powerful scripts?

In Learn to Program with Scratch, author Majed Marji uses Scratch to explain the concepts essential to solving real-world programming problems. The labeled, color-coded blocks plainly show each logical step in a given script, and with a single click, you can even test any part of your script to check your logic. You'll learn how to:
 

  • Harness the power of repeat loops and recursion
  • Use if/else statements and logical operators to make decisions
  • Store data in variables and lists to use later in your program
  • Read, store, and manipulate user input
  • Implement key computer science algorithms like a linear search and bubble sort
Hands-on projects will challenge you to create an Ohm's law simulator, draw intricate patterns, program sprites to mimic line-following robots, create arcade-style games, and more! Each chapter is packed with detailed explanations, annotated illustrations, guided examples, lots of color, and plenty of exercises to help the lessons stick. Learn to Program with Scratch is the perfect place to start your computer science journey, painlessly.

商品描述(中文翻譯)

Scratch是一個有趣、免費、適合初學者的程式設計環境,您可以通過連接程式碼塊來建立程式。雖然Scratch最著名的用途是介紹孩子們學習程式設計,但它也可以讓任何年齡段的人都能輕鬆接觸計算機科學。與其在一個晦澀難懂的程式語言中輸入無數行程式碼,為什麼不使用豐富多彩的指令塊和卡通精靈來創建強大的腳本呢?

在《用Scratch學習程式設計》一書中,作者Majed Marji使用Scratch來解釋解決現實世界程式設計問題所必需的概念。這些標記和彩色編碼的程式碼塊清楚地展示了每個腳本中的邏輯步驟,並且只需點擊一下,您甚至可以測試腳本的任何部分以檢查邏輯。您將學習如何:

- 利用重複循環和遞迴的威力
- 使用if/else語句和邏輯運算符做出決策
- 將數據存儲在變量和列表中,以便在程序中稍後使用
- 讀取、存儲和操作用戶輸入
- 實現關鍵的計算機科學算法,如線性搜索和冒泡排序

實踐項目將挑戰您創建歐姆定律模擬器、繪製複雜圖案、編程精靈模仿跟隨線路的機器人、創建街機風格的遊戲等!每個章節都充滿了詳細的解釋、註釋插圖、引導示例、豐富的彩色內容以及大量的練習,以幫助您牢固掌握所學知識。《用Scratch學習程式設計》是您輕鬆開始計算機科學之旅的完美起點。