SlideShare a Scribd company logo
Copyright 2023 Eiichiro Ito All rights reserved
micro:witch 中級者課題
<micro:bit 1台のみ>
レベル1からじゅんにやってください。
Copyright 2023 Eiichiro Ito All rights reserved
AボタンとBボタン(1)
【レベル1】 こんなうごきをするプログラムをつくろう。
さいしょはなにもひょうじされない。
Aボタンをおすと ↓ がでて、Bボタンをおすと ↓ が出る。
【レベル2】
さいしょはなにもひょうじされない。
Aボタンをおすと ↓ が出るが、Bボタンをおしてもかわらない。
もういちどAボタンをおすと、ひょうじがきえてさいしょにもどる。
Copyright 2023 Eiichiro Ito All rights reserved
AボタンとBボタン(2)
【レベル3】
さいしょはなにもひょうじされない。
Aボタンをおすと ↓ がでて、Bボタンをおしてもかわらない。
もういちどAボタンをおすと、ひょうじがきえてさいしょにもどる。
Bボタンをおすと ↓ がでて、Aボタンをおしてもかわらない。
もういちどBボタンをおすと、ひょうじがきえてさいしょにもどる。
こんなうごきをするプログラムをつくろう。
Copyright 2023 Eiichiro Ito All rights reserved
AボタンとBボタン(3)
【レベル4】
さいしょは0がひょうじされる。
Aボタンをおすたびに1・2・3とかずがふえていき、9になったらふえない。
Bボタンをおすたびに3・2・1とかずがへっていき、0になったらへらない。
こんなうごきをするプログラムをつくろう。
Copyright 2023 Eiichiro Ito All rights reserved
ドットをつかおう(1)
【せつめい】
右のブロックをつかうとドットがひかるよ。
※ざひょうは0から4まで、あかるさは0から9まで
【レベル1】
このブロックをつかって、下のようにひからせよう。
【レベル2】
このブロックをつかって、下のようにひかるアニメーションをつくろう。
0.5秒 0.5秒 0.5秒 2秒
このブロックはつかわないこと
xざひょう
y
ざ
ひ
ょ
う
Copyright 2023 Eiichiro Ito All rights reserved
ドットをつかおう(2)
【レベル3】
● さいしょはまん中のドットがひかっている。
● Aボタンをおすと、ドットが左に1つうごく。
● Bボタンをおすと、ドットが右に1つうごく。
● ドットが左はしにあるときAボタンをおすと、右はしにうつる。
● ドットが右はしにあるときBボタンをおすと、左はしにうつる。
こんなうごきをするプログラムをつくろう。 このブロックはつかわないこと
Copyright 2023 Eiichiro Ito All rights reserved
ドットをつかおう(3)
【レベル4】
● さいしょはまん中のドットがひかっている。
● Aボタンをおすと、ドットが1びょうごとに左に1つうごきだす。
● Bボタンをおすと、ドットが1びょうごとに右に1つうごきだす。
● ドットが左はしにきたら、右はしにうつる。
● ドットが右はしにきたら、左はしにうつる。
● AボタンかBボタンをおすと、ドットのうごきがとまる。
こんなうごきをするプログラムをつくろう。
このブロックはつかわないこと
Copyright 2023 Eiichiro Ito All rights reserved
タイマーをつかおう(1)
【せつめい】
右のブロックをつかうと、でんげんオンからのじかん
がわかるよ。
※じっこうじかんは1000ぶんの1びょうごとなので、1000でわってるよ。
【レベル1】
このブロックをつかって、下のようなプログラムをつくろう。
● さいしょはなにもひょうじされない。
● Aボタンをおすたびに、でんげんオンからのびょうすうがスクロールひょう
じされる。
Copyright 2023 Eiichiro Ito All rights reserved
タイマーをつかおう(2)
【レベル2】
「じっこうじかん」のブロックをつかって、下のようなプログラムをつくろう。
● Aボタンをおしたら、がめんがきえる。
● Bボタンをおしたら、Aボタンがおされてからのびょうすうがスクロールひょ
うじされる。
【レベル3】
下のようなプログラムをつくろう。
● Aボタンをおしたら、がめんがきえる。
● Bボタンをおしたら、Aボタンがおされてからのびょうすうが10びょうのと
きだけ happy がひょうじされ、そうでなければ sad がひょうじされる。
● さいしょにもどる
Copyright 2023 Eiichiro Ito All rights reserved
タイマーをつかおう(3)
【レベル4】
下のようなプログラムをつくろう。
● Aボタンをおしたら、がめんがきえる。
● Aボタンをおしてから、11びょういじょうたったら、じどうてきに sad が
ひょうじされる。
● Bボタンをおしたら、Aボタンがおされてからのびょうすうが10びょうのと
きだけ happy がひょうじされ、そうでなければ sad がひょうじされる。
● Aボタンをおしたら、さいしょからやりなおせる

More Related Content

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

micro witch中級者課題1

  • 1. Copyright 2023 Eiichiro Ito All rights reserved micro:witch 中級者課題 <micro:bit 1台のみ> レベル1からじゅんにやってください。
  • 2. Copyright 2023 Eiichiro Ito All rights reserved AボタンとBボタン(1) 【レベル1】 こんなうごきをするプログラムをつくろう。 さいしょはなにもひょうじされない。 Aボタンをおすと ↓ がでて、Bボタンをおすと ↓ が出る。 【レベル2】 さいしょはなにもひょうじされない。 Aボタンをおすと ↓ が出るが、Bボタンをおしてもかわらない。 もういちどAボタンをおすと、ひょうじがきえてさいしょにもどる。
  • 3. Copyright 2023 Eiichiro Ito All rights reserved AボタンとBボタン(2) 【レベル3】 さいしょはなにもひょうじされない。 Aボタンをおすと ↓ がでて、Bボタンをおしてもかわらない。 もういちどAボタンをおすと、ひょうじがきえてさいしょにもどる。 Bボタンをおすと ↓ がでて、Aボタンをおしてもかわらない。 もういちどBボタンをおすと、ひょうじがきえてさいしょにもどる。 こんなうごきをするプログラムをつくろう。
  • 4. Copyright 2023 Eiichiro Ito All rights reserved AボタンとBボタン(3) 【レベル4】 さいしょは0がひょうじされる。 Aボタンをおすたびに1・2・3とかずがふえていき、9になったらふえない。 Bボタンをおすたびに3・2・1とかずがへっていき、0になったらへらない。 こんなうごきをするプログラムをつくろう。
  • 5. Copyright 2023 Eiichiro Ito All rights reserved ドットをつかおう(1) 【せつめい】 右のブロックをつかうとドットがひかるよ。 ※ざひょうは0から4まで、あかるさは0から9まで 【レベル1】 このブロックをつかって、下のようにひからせよう。 【レベル2】 このブロックをつかって、下のようにひかるアニメーションをつくろう。 0.5秒 0.5秒 0.5秒 2秒 このブロックはつかわないこと xざひょう y ざ ひ ょ う
  • 6. Copyright 2023 Eiichiro Ito All rights reserved ドットをつかおう(2) 【レベル3】 ● さいしょはまん中のドットがひかっている。 ● Aボタンをおすと、ドットが左に1つうごく。 ● Bボタンをおすと、ドットが右に1つうごく。 ● ドットが左はしにあるときAボタンをおすと、右はしにうつる。 ● ドットが右はしにあるときBボタンをおすと、左はしにうつる。 こんなうごきをするプログラムをつくろう。 このブロックはつかわないこと
  • 7. Copyright 2023 Eiichiro Ito All rights reserved ドットをつかおう(3) 【レベル4】 ● さいしょはまん中のドットがひかっている。 ● Aボタンをおすと、ドットが1びょうごとに左に1つうごきだす。 ● Bボタンをおすと、ドットが1びょうごとに右に1つうごきだす。 ● ドットが左はしにきたら、右はしにうつる。 ● ドットが右はしにきたら、左はしにうつる。 ● AボタンかBボタンをおすと、ドットのうごきがとまる。 こんなうごきをするプログラムをつくろう。 このブロックはつかわないこと
  • 8. Copyright 2023 Eiichiro Ito All rights reserved タイマーをつかおう(1) 【せつめい】 右のブロックをつかうと、でんげんオンからのじかん がわかるよ。 ※じっこうじかんは1000ぶんの1びょうごとなので、1000でわってるよ。 【レベル1】 このブロックをつかって、下のようなプログラムをつくろう。 ● さいしょはなにもひょうじされない。 ● Aボタンをおすたびに、でんげんオンからのびょうすうがスクロールひょう じされる。
  • 9. Copyright 2023 Eiichiro Ito All rights reserved タイマーをつかおう(2) 【レベル2】 「じっこうじかん」のブロックをつかって、下のようなプログラムをつくろう。 ● Aボタンをおしたら、がめんがきえる。 ● Bボタンをおしたら、Aボタンがおされてからのびょうすうがスクロールひょ うじされる。 【レベル3】 下のようなプログラムをつくろう。 ● Aボタンをおしたら、がめんがきえる。 ● Bボタンをおしたら、Aボタンがおされてからのびょうすうが10びょうのと きだけ happy がひょうじされ、そうでなければ sad がひょうじされる。 ● さいしょにもどる
  • 10. Copyright 2023 Eiichiro Ito All rights reserved タイマーをつかおう(3) 【レベル4】 下のようなプログラムをつくろう。 ● Aボタンをおしたら、がめんがきえる。 ● Aボタンをおしてから、11びょういじょうたったら、じどうてきに sad が ひょうじされる。 ● Bボタンをおしたら、Aボタンがおされてからのびょうすうが10びょうのと きだけ happy がひょうじされ、そうでなければ sad がひょうじされる。 ● Aボタンをおしたら、さいしょからやりなおせる