1) Which of these are input only devices? a) Buttons b) LED c) Light Sensor d) GPIO pins e) Temp Sensor f) Accelerommeter 2) Which of these are output only devices a) LED b) GPIO pins c) Temp Sensor d) Buttons e) Light Sensor f) Accelerometer 3) Which of these are both input and Output devices a) LED b) GPIO pins c) Temp Sensor d) Buttons e) Light Sensor f) Accelerometer 4) Can the microbit communicate? a) Yes through the speaker b) Yes through its radio c) Yes over wifi d) No 5) Display.Scroll does what? a) Displays on LED display b) Shows a moving display on the leds. c) Lights up. d) Allows the user to scroll using their finger. 6) What line of code must always be included in a micro bit program? a) Display b) Show c) Microbit Import d) from microbit import e) from microbit import ! f) from microbit import * 7) How would I display a happy face image? a) display.image(Happy) b) display.show(IMAGE) c) display.show(image.HAPPY) d) happy.show(IMAGE) e) I'm happy. HAPPY HAPPY HAPPY! 8) How do we clear the image on a microbit? a) Image.Clear() b) microbit.clear() c) display.clear() d) clear.display() e) facedown.display() 9) How do we determine if the microbit is facing up? a) if accelerometer.is("face up"): b) if accelerometer.is_gesture.face up c) if is_gesture("face up"): d) if accelerometer.face_up("Gesture"): e) if accelerometer.is_gesture("face up"): 10) How do we code a microbit to read the light level? a) display.read_light_level() b) display.read_light_level c) display.read_light() d) display.read_level() e) display.light_level() 11) How do we create pauses in our microbit code? a) sleep() b) delay() c) stop() d) sleep(delay) e) stop(delay) f) delay(sleep) 12) How do we check if a button has been pressed? a) if button_b.was_pressed(): b) if button_b(): c) if button _was_pressed(): d) if button_b.was_pressed: e) if button_b_pressed() 13) How do we set a pixel to light up? a) display.set_pixel(1, 1 , 9) b) display.set_pixel(1 , 9) c) display.set_pixel(9) d) display.pixel(1, 1 , 9) e) display.set(1, 1 , 9) 14) pin0.is_touched(): What does this do? a) Checks if someone is touching GPIO pin 0 b) Checks if crocodile clips are inserted c) Checks how much power is in the pins d) Displays an image when touched 15) How do we display multiple images on a cycle? a) for images in images: b) display.show(image) c) show image in images d) display.show(images) 16) How do we set a specific delay? a) delay(sleep) b) delay(1000) c) sleep(1000) d) wait(1000) 17) How can we make a star image? a) star = Image("0:3:5:3:2") b) star("03530:35753:57975:35753:03530") c) Image("03530:35753:57975:35753:03530") d) star = Image("03530:35753:57975:35753:03530") e) star = Image("03530") 18) What is the code to display a specific pixel a) display.set_pixel(b) b) display.set_pixel(a,b) c) display.set_pixel(x,y,b) d) display.set_pixel(x,b,z) e) display.set_pixel(x,y) 19) What can we use to set pixels to a random brightness? a) x = randint( , ) b) y = randint( , ) c) brightness = randint( , ) d) display.set_pixel(x, y, brightness) e) All of this is a lie. 20) Buttons are? a) Input b) Output c) A way of interacting with the microbit d) Not needed 21) Led Display is? a) Output b) Input c) The main way to recieve information from the microbit d) A calculator screen 22) Light sensor is? a) Input b) Output c) increases with more light d) decreases with more light 23) Temperature sensor is? a) Input b) Output c) increases with more temperature d) decreases with more temperature 24) GPIO pins are? a) Input b) Output c) Redundancies d) Similar to usb ports in that they can be given attachments 25) Compass is? a) Input b) Output c) Finds True North d) Finds Magnetic North 26) The radio is? a) Input b) output c) plays music d) communicates 27) The Accelerometer is? a) Input b) Output c) Checks speed d) Does nothing e) Checks for gestures
0%
Microbit revision
共用
共用
共用
由
Edward76123
編輯內容
列印
嵌入
更多
作業
排行榜
顯示更多
顯示更少
此排行榜當前是私有的。單擊
共用
使其公開。
資源擁有者已禁用此排行榜。
此排行榜被禁用,因為您的選項與資源擁有者不同。
還原選項
迷宮追逐
是一個開放式範本。它不會為排行榜生成分數。
需要登錄
視覺風格
字體
需要訂閱
選項
切換範本
顯示所有
播放活動時將顯示更多格式。
打開結果
複製連結
QR 代碼
刪除
恢復自動保存:
?