###### tags: Scratch教學 Scratch教學04 === ## :computer:Scratch 04 基礎程式積木-九九乘法測驗 **基本概念**  :::info ### [:bulb:先連結Scratch官網並登入](https://scratch.mit.edu/)[帳號: 班級+座號+英文名] ::: :::success #### :mag:點選左上的"創造"來開啟新專案 :::  :::success #### :mag:在"Untitled"處點選並輸入檔名(專案名) :arrow_right:座號+中文名+作業編號,例如21王大明02 ::: --- ### :point_right:練習實作 利用積木呈現兩個數字相乘的結果,新增三個變數,分別命名為 a、b 和Answer,將 a 與 b 設定為 1~9 的隨機數,並將答案設定為 axb,完成後點擊綠旗,貓咪就會說出兩個數字相乘的答案。 :::success #### :mag:變數設定 :arrow_right:三個變數:a、b、Answer ::: :arrow_right:**分別建立變數a、b、Answer**   :arrow_right:**建立好的變數可在此選取(取消打勾可以隱藏)**  :arrow_right:**舞台畫面有變數呈現**  --- :::success #### :mag:運算積木使用 :arrow_right:axb :::  --- :::success #### :mag:試做練習 :::  --- ### :point_right:作業實作 :arrow_right:**先將舞台上的變數隱藏(避免秀出答案)**  --- #### :arrow_right:**詢問問題**  #### :arrow_right:**先完成字串組合**  --- #### :arrow_right:**使用邏輯判斷式** 1. 如果答案相符則說"你答對了!" 並顯示答案 2. 如果答案不符則說"你答錯了!" 並顯示答案  --- #### :arrow_right:**將積木結合** * 加入重複無限次  --- #### :arrow_right:**執行專案觀看結果**   ### :point_right:儲存專案教學 --- #### :mag:只要有修改或更新即須儲存專案,按下檔名右邊之按鈕"立即儲存"即可更新專案內容  ### :point_right:連結至老師的創作坊並分享作業 :arrow_right: [201傳送門](https://scratch.mit.edu/studios/30282165):door: :arrow_right: [202傳送門](https://scratch.mit.edu/studios/30270943):door: :arrow_right:[操作教學網頁](https://hackmd.io/@careylin73/scratch02)
×
Sign in
Email
Password
Forgot password
or
Sign in via Google
Sign in via Facebook
Sign in via X(Twitter)
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
Continue with a different method
New to HackMD?
Sign up
By signing in, you agree to our
terms of service
.