Search Header Logo

review 2 microbit

Authored by K17 Hóa

Information Technology (IT)

6th - 8th Grade

Used 4+ times

review 2 microbit
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để nhập dữ liệu từ người dùng trên Microbit với Python?

A. input()

B. get_input()

C. read()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cách đúng để hiển thị nhiều lần một ký tự trên Microbit?

A. for i in range(5): display.show("A")

B. while display.show("A")

C. repeat 5 display.show("A")

D. loop display "A" 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phát biểu nào đúng về biến toàn cục trong Python?

A. Chỉ sử dụng được trong 1 hàm

B. Chỉ khai báo trong vòng lặp

C. Có thể truy cập ở bất kỳ đâu

D. Chỉ dùng được 1 lần

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để kiểm tra xem Microbit đang bị nghiêng sang phải, ta dùng cảm biến nào?

A. magnetometer

B. temperature

C. button_a

D. accelerometer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào để đo độ sáng môi trường?

A. light_sensor()

B. brightness()

C. get_brightness()

D. display.read_light_level()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh compass.heading() cho biết điều gì?

A. Nhiệt độ

B. Độ sáng

C. Hướng nam-bắc

D. Độ cao

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào kiểm tra nếu cả hai nút A và B được nhấn cùng lúc?

A. button_ab.pressed()

B. button.a_b()

C. button_both()

D. button_a.is_pressed() and button_b.is_pressed()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?