# 2.10 質數與合成數 There can be Only, Two

STEM lessons + blocks

## Students will use their knowledge of prime numbers, between 2 and 10, to determine if a number more than 10 but less than 100 is a prime or composite number.

Students will integrate and exhibit learning by building a SAM system which verifies if a number is prime and or composite.

## 在本課程中，學生將使用2到10之間的質數知識來確定10至所有少過100的數字是質數還是合成數。

The followings are provided with this lesson kit:

• 45/90 minutes There can be Only, Two - Teacher Lesson Plan with notes (script) on lesson PowerPoint
• There can be Only, Two  -  Teaching PowerPoint
• There can be Only, Two - Student Workbook (worksheet)

What is SAM Labs? (1 min)

﻿
Webinar: How to use SAM Labs in the classroom? (30 mins)

## SAM Labs Blocks used in this lesson - There can be Only, Two

Physical blocks :

1 x Button

1 x RGB LED
• Counter
• Compare
• Colour
• Sound Player

1 x Button

1 x RGB LED

SAM Space software blocks used:

Counter

Compare

Colour

Sound Player

SAM Labs in the classroom videos   - see 14 videos here

The following tutorial, though is not directly related to this lesson, will give you a good feel of how SAM Labs works.

4-minute Tutorial: Loops in SAM Space featuring the RGB LED light

Blocks used in the above tutorial (see full SAM Blocks (physical and virtual blocks) directory here):

Physical block - RGB LED light

Software bocks:

• Key press
• Toggle
• Interval  (creating the looping condition)
• Counter
• Compare

The SAM Labs approach provides concrete solutions to link Computational Thinking to Coding in a non-technical, friendly approach for all teachers and learners.

See this document:   SAM Steam approach and computational thinking

References:

• BrainPOP movies/quizzes and games on Computational Thinking, Programming (coding), STEM and more.   These are good resources for teachers and students to clarify the meaning of key concepts.   Contact us if you like to have a trial.

BrainPOP Jr:  Computational Thinking Explained

BrainPOP Jr.

BrainPOP

## Want to try some Cool, Crazy ideas that kids, adult, everyone loves?  Check the followings ideas guide from SAM Labs:

The Book of Crazy Cool Ideas

To see the step-by-step video on how to connect the blocks, please click blow:

1. Traffic light 交通指示燈 (easy, 1 player, gadget)
2. Kaleidoscope 萬花筒 (easy, multi-player, gadget)
3. Pattern-Bot  繪畫機械人(medium, multi-player, home hack)
4. Door Prank 惡作劇之門  (easy, 1 player, home hack)
5. Bridge 起動式橋樑 (medium, multi-player, gadget)
6. Flipbook 翻書動畫 (medium, 1 player, gadget)
7. Stirring Machine 攪拌機 (easy, 1 player, home hack)
8. Alarm 鬧鐘 (medium, 1 player, home hack)
1. Flashlight 史詩火炬 (medium, 1 player, gadget)
2. SyncDancers 同步舞者 (easy, multi-player, gadget)
3. Smart Watch 智能手錶 (medium, 1 player, gadget)
4. Pinball 彈珠球 (medium, multi-player, game)
5. Conductor 指揮者 (easy, 1 player, game)
6. Football game 足球比賽 (medium, multi-player, game)
7. Gameshow button 遊戲按鈕 (medium, multi-player, game)
8. Drawing Machine 繪圖機 (hard, 1 player, home hack)