What is the purpose of the following Arduino code?
void setup() { Seria.begin(9600);}void setup() { Serial.write(40);}
a) Send a signal to pin 40 on the Arduino board
b) Send a octal number of 40 through the Serial pins
c) Send a byte with value 40 through the Serial pins
d) Send a hexadecimal number of 40 through the Serial pins
Q.4.
Which chipset is the LCD library for Arduino based on?
a) Hitachi HDD4780
b) Hitachi HD46780
c) Hitachi HD45780
d) Hitachi HD44780
Q.5.
What is the resolution of the micros() function on the Arduino Nano?
a) 7 Microseconds
b) 4 Microseconds
c) 6 Microseconds
d) 2 Microseconds
Q.6.
What is the use of the Interrupt Service Routine in an Arduino?
a) To boot up the arduino
b) To exit any code that is running
c) To automate functions
d) To make more memory
Q.7.
What is the output of the program given below if a voltage ofis supplied to the pin corresponding to the A0 pin on an Arduino UNO?
void setup() {
Serial.begin(9600);
pinMode(AINPUT);
}
void loop() {
int s = analogRead(A0);
Serial.println(s);
}
a) 0
b) 1024
c) null
d) Error
Q.8.
What mode should we put the Arduino pin to, in order for object detection to work with the Ultrasonic Sensor?
a) TDM
b) PCM
c) Analog
d) Digital
Q.9.
What will happen if we supply a voltage ofto the Vcc of the NokiaGDM?
a) Module will function normally
b) Damage is caused
c) Module will shut down
d) Module will not respond for the time the voltage is applied
Q.10.
Which port on any Arduino board should be connected to the Key Port on the Adafruit FONA 3G+GPS Breakout?
a) Gnd
b) Any Analog Pin
c) Vcc
d) Any Digital Pin
Q.11.
What is the way of throwing an error using preprocessing directives to the Arduino Compiler and forcing it to stop compilation?
a) #warning
b) #stop
c) #cut
d) #error
Support mcqgeeks.com by disabling your adblocker.
Please disable the adBlock and continue. Thank you.