wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

J3 Arduino Quiz

Total questions: 19

Worksheet time: 10mins

Name
Class
Date
1.

什么是Arduino中最基本的输出设备?

What is the most basic output device in Arduino?

a)

电位器

Potentiometer

b)

红外綫感应器

Infrared Sensor

c)

LED

d)

超声波传感器

Ultrasonic sensor

2.

如何使LED产生闪烁(Blink)的效果?

How to make an LED produce a blinking (Blink) effect?

a)

digitalWrite(LED_PIN, HIGH);

b)

digitalWrite(LED_PIN, LOW);

delay(100); digitalWrite(LED_PIN, LOW);

delay(100);

c)

analogWrite(LED_PIN, 255);

d)

Serial.begin(9600);

3.

什么用途的元件可以用来调整电路的电阻值?

What component is used to adjust the resistance value in a circuit?

a)

Potentiometer

电位器

b)

Motor

电机

c)

Buzzer

蜂鸣器

d)

Button switch

按钮开关

4.

如何读取连接到Arduino的电位器的值?

How do you read the value of a potentiometer connected to Arduino? 

a)

analogRead(potPin);

b)

digitalRead(potPin);

c)

analogWrite(potPin, value);

d)

digitalWrite(potPin, HIGH);

5.

 何时使用按钮开关?

When is a button switch used?

a)

To produce sound 产生声音

b)

To control motor speed 控制电机速度

c)

As an input device to detect button presses 作为输入设备检测按下动作

d)

To send infrared signals 发送红外线信号

6.

如何在Arduino中检测按钮开关是否按下?

How do you detect if a button switch is pressed in Arduino?

a)

digitalRead(buttonPin);

b)

analogRead(buttonPin);

c)

pulseIn(buttonPin, HIGH);

d)

Serial.println("Button pressed");

7.

什么类型的传感器可以用来测量距离?

What type of sensor is used to measure distance?

a)

光敏电阻

Light-dependent resistor

b)

超声波传感器

Ultrasonic sensor

c)

温度传感器Temperature sensor

d)

气体传感器

Gas sensor

8.

如何使用Arduino读取超声波传感器的距离值?

How do you read the distance value from an ultrasonic sensor in Arduino?

a)

analogRead(ultrasonicPin);

b)

pulseIn(ultrasonicPin, HIGH);

c)

digitalWrite(ultrasonicPin, HIGH);

d)

ultrasonic.readDistance();

9.

舵机是一种什么类型的设备?

What type of device is a servo motor?

a)

输出设备

Output device

b)

输入设备

Input device

c)

传感器

Sensor

d)

驱动器

Driver

10.

如何在Arduino中控制舵机的位置?

How do you control the position of a servo motor in Arduino?

a)

servo.rotate(angle);

b)

analogWrite(servoPin, angle);

c)

servo.write(angle);

d)

digitalWrite(servoPin, angle);

11.

什么设备可以产生声音或蜂鸣?

What device can produce sound or a buzz?

a)

LED

b)

电位器

Potentiometer

c)

舵机

Servo motor

d)

蜂鸣器

Buzzer

12.

哪一个是Arduino中的串口通信功能?

Which is the serial communication function in Arduino?

a)

Serial.read();

b)

analogRead(serialPin);

c)

pulseIn(serialPin, HIGH);

d)

digitalWrite(serialPin, HIGH);

13.

如何将数据从Arduino发送到计算机上的串口?

How do you send data from Arduino to the computer through serial communication?

a)

Serial.print(data);

b)

analogWrite(Serial, data);

c)

digitalWrite(Serial, data);

d)

pulseIn(Serial, data);

14.

在Arduino中,用于暂停程序执行一段时间的函数是?

In Arduino, what function is used to pause program execution for a specific duration?

a)

wait()

b)

sleep()

c)

delay()

d)

pause()

15.

何时需要使用电阻?

When is it necessary to use a resistor?

a)

保护电源电压

To protect power voltage

b)

控制电路电流

To control circuit current

c)

降低电路电压

To decrease circuit voltage

d)

打开电路开关
To open a circuit switch

16.

在连接电位器时,为什么常常使用电阻?

When connecting a potentiometer, why is a resistor often used?

a)

保护电位器

To protect the potentiometer

b)

控制电位器的阻值

To control the potentiometer's resistance

c)

增加电位器的电流

To increase the potentiometer's current

d)

使电位器工作更快

To make the potentiometer work faster

17.

为了使电机旋转,应该使用哪个函数?

To make a motor rotate, which function should be used?

a)

servo.write(angle);

b)

analogWrite(motorPin, speed);

c)

digitalWrite(motorPin, HIGH);

d)

tone(motorPin, frequency);

18.

如何在Arduino中控制LED的亮度?

How do you control the brightness of an LED in Arduino?

a)

analogWrite(ledPin, brightness);

b)

digitalWrite(ledPin, HIGH);

c)

tone(ledPin, frequency);

d)

pulseIn(ledPin, HIGH);

19.

在Arduino中,如何检测光敏电阻的数值?

How do you detect the value of a light-dependent resistor in Arduino?

a)

analogRead(ldrPin);

b)

digitalRead(ldrPin);

c)

analogWrite(ldrPin, value);

d)

digitalWrite(ldrPin, HIGH);