ปัญหา 1เลือกประเภทWhat is the main programming language used for Arduino development?PythonJavaC/C++Ruby
ปัญหา 2เลือกประเภทWhich function in Arduino is used to initialize variables or pin modes?start()initialize()setup()begin()
ปัญหา 3เลือกประเภทWhat function in Arduino runs continuously after setup() is completed?loop()repeat()cycle()continue()
ปัญหา 4เลือกประเภทWhich Arduino function is used to set the digital pin as output?digitalWrite()pinMode()analogWrite()setPin()
ปัญหา 5เลือกประเภทWhat does the digitalWrite() function do in Arduino?Reads a pin valueWrites a high or low value to a digital pinWrites an analog valueConfigures pin mode
ปัญหา 6เลือกประเภทWhich function would you use to read the value from a digital pin in Arduino?analogRead()digitalRead()pinRead()inputRead()
ปัญหา 7เลือกประเภทWhat is the purpose of the delay() function in Arduino?To stop the program executionTo pause the program for a specified timeTo speed up the programTo initialize variables
ปัญหา 8เลือกประเภทHow do you comment a single line in an Arduino sketch?/* comment */// comment# comment<!-- comment -->
ปัญหา 9เลือกประเภทWhich of the following is a correct way to declare an integer variable in Arduino?int count = 0;integer count = 0;number count = 0;var count = 0;
ปัญหา 10เลือกประเภทWhat is the correct syntax to set pin 13 as an output in Arduino?setPinMode(13, OUTPUT);pinMode(13, OUTPUT);configurePin(13, OUTPUT);setMode(13, OUTPUT);
ปัญหา 11เลือกประเภทWhat is the default baud rate for Serial communication in Arduino?4800960019200115200
ปัญหา 12เลือกประเภทWhich of the following is used to start serial communication in Arduino?Serial.begin(9600);Serial.start();Serial.connect();Serial.open();
ปัญหา 13เลือกประเภทWhat is the role of the void keyword in function definitions in Arduino sketches?Indicates no return valueSpecifies the function is privateDenotes a global functionSignals the end of a function
ปัญหา 14เลือกประเภทIn Arduino, which variable type should be used to store a character?charintfloatdouble
ปัญหา 15เลือกประเภทWhat is the purpose of the analogRead() function in Arduino?Reads a digital signalReads an analog signalWrites an analog signalWrites a digital signal
ปัญหา 16เลือกประเภทWhich of these is a valid function prototype in Arduino?void myFunction;myFunction() void;void myFunction();void: myFunction()
ปัญหา 17เลือกประเภทHow can you reset an Arduino board using code?reset()setup()loop()There is no function for reset
ปัญหา 18เลือกประเภทWhat is the maximum voltage that can be applied to an Arduino Uno's digital pin?3.3V5V9V12V
ปัญหา 19เลือกประเภทWhich command is used to turn off a digital pin in Arduino?digitalWrite(pin, LOW);setPinLow(pin);pinMode(pin, LOW);turnOff(pin);
ปัญหา 20เลือกประเภทWhat is the purpose of the analogWrite() function in Arduino?To read an analog valueTo write a digital valueTo write an analog valueTo initialize an analog pin