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 代码
删除
恢复自动保存:
?