View Course Path Arduino Quiz | MCQs | Interview Questions Published March 19, 2020 | Updated April 23, 2020 1. Identify this component. SpeakerTemperature sensorWind sensorUltrasonic sensor 2. When writing a sketch, how do you decide which features belong in the setup function and which belong in the loop function?Features that need to be initialized go in setupFeatures that need to be initialized go in loopFeatures that need to run continuously go in setupFeatures that need to run continuously go in loop 3. If we use the Arduino Uno or the Ethernet shield to write data to an SD card, this data can be read by any computer.TrueFalse 4. The Arduino Uno can keep track of the real-time date and time right out of the box.TrueFalse 5. The HTTP response code that indicates successful transmission of the message request is ______.300302200401 6. How can you hook up multiple Arduinos to your local network?Give them a unique MAC addressGive them a unique IP addressGive them a unique MAC address and a unique IP addressGive them a unique MAC address and match your router's IP address 7. Identify the sensor. Gas detectorUV detectorSound detectorProximity sensor 8. An Arduino sketch does not have the traditional main() function that's generally present in C programs.TrueFalse 9. What is the differentiating aspect between the two numeric types: char and byte?RangeNo. of bytes/Sizechar is used in highly specific applicationsbyte is used to save memory 10. The numeric type double is the same as floatTrueFalse 11. The outputs of the following two pieces of codes will be: int integer=12; integer +=1; string str="12"; str +=1;13, 1313, 1213, 11213, 121 12. Any code that's written inside the if block shown below will: if(1) { }Show an errorShow a warning but not an errorexecute infinitelyprint '1' 13. Which function executes first when a sketch is built?loop()setup()init()main() 14. The following code will evaluate to _____. strncmp("left", "leftright", 4) == 0)TrueFalse 15. Select the function that you can use to detect a button press on the ArduinobuttonRead()buttonPress()analogRead()digitalRead() 16. An Arduino Uno is most suited for _________.Controlling peripheralsPowering peripheralsControlling and powering peripherals 17. The core processor of the Arduino Uno (Atmega328p) has a 16MHz crystal oscillator for the processor clock.TrueFalse 18. The 3.3V regulator on the Arduino Uno has an output current of _______.50 mA100 mA150 mA200 mA 19. An LED driver is an example of _________.InputOutput 20. delay(100000) results in a delay of _______.100000 seconds100 seconds1 second10 seconds 21. Select the correct statement(s)PWM pins mimic analog signalsSensors generate analog readings that are read by the analog pinsAnalog signals are converted using an analog-to-digital converter by analog pinsAnalog signals are converted using a digital-to-analog converter by analog pins 22. An Arduino sketch undergoes pre-processing to turn into a ______ programC/C++JavaAssemblyArduino 23. It's impossible to store a higher number of characters in an array than the declared size of the array.TrueFalse 24. Select the true statementsYou can store multiple values in an array and use a loop to iterate through each of the valuesA variable that was previously used to store an integer can be repurposed to store a float value insteadYou can convert a variable from one data type to anotherYou can store a single value in two different data types using a single variable 25. Select the correct ways of defining a functiondef myfunction()int myfunction (float)void myfunction ()fun myfunction ()void myfunction (int,int,int) 26. The Arduino Uno generates a maximum of ____mA current from the PWM pins. 27. To use the I2C communication protocol, you can use the _____ library in your sketch.SerialSPIWireComI2C 28. Select the sensor that measures pressure relative to atmospheric pressure.Vacuum pressure sensorAbsolute pressure sensorGauge pressure sensorDifferential pressure sensor 29. Select the type of temperature sensor that you are most likely to find in an Integrated Circuit.ThermistorSemiconductor based sensorResistance ThermometerThermocouple 30. A hygrometer is a _______ sensor.HumidityWater contentWetnessAir pressure 31. Write a function to convert the following character array to an Arduino String named string2 char string1[] = "Convert me" 32. Select the right measurement units for a humidity sensor.DEW/Fost point (D/F PT)Parts Per Million (PPM)RH 33. _______ sensors measure moisture using humidity.SesimoscopeCapacitiveResistiveBoth Resistive and Capacitive 34. Select the types of proximity sensors that currently exist.RADAR proximity sensorLiDAR proximity sensorThermal proximity sensorLaser proximity sensorMagnetic proximity sensorThermoelectric proximity sensorPhotoelectric proximity sensorIR proximity sensorUltrasonic proximity sensorResistive proximity sensorsCapacitive proximity sensorsInductive proximity sensorsOptical proximity sensor 35. This proximity sensor can sense metals as well as the levels of liquids.Inductive proximity sensorCapacitive proximity sensorUltrasonic proximity sensorMagnetic proximity sensor 36. Select the communication protocol(s) that allows multiple Masters instead of just one.SPII2CCAN 37. Select the communication protocol(s) that allow the Master and Slaves to communicate with each other simultaneously.CANSPII2C 38. If you are optimizing for performance, and have no shortage of pins, which communication protocol/hardware would you choose?UARTSPII2CCAN 39. This is the communication protocol used by SD (Secure Digital) cards.I2CUARTSPIUSART 40. A tactile sensor is also known as a ________ sensor.TemperatureHumidityPressureTouch Loading...
1. Identify this component. SpeakerTemperature sensorWind sensorUltrasonic sensor 2. When writing a sketch, how do you decide which features belong in the setup function and which belong in the loop function?Features that need to be initialized go in setupFeatures that need to be initialized go in loopFeatures that need to run continuously go in setupFeatures that need to run continuously go in loop 3. If we use the Arduino Uno or the Ethernet shield to write data to an SD card, this data can be read by any computer.TrueFalse 4. The Arduino Uno can keep track of the real-time date and time right out of the box.TrueFalse 5. The HTTP response code that indicates successful transmission of the message request is ______.300302200401 6. How can you hook up multiple Arduinos to your local network?Give them a unique MAC addressGive them a unique IP addressGive them a unique MAC address and a unique IP addressGive them a unique MAC address and match your router's IP address 7. Identify the sensor. Gas detectorUV detectorSound detectorProximity sensor 8. An Arduino sketch does not have the traditional main() function that's generally present in C programs.TrueFalse 9. What is the differentiating aspect between the two numeric types: char and byte?RangeNo. of bytes/Sizechar is used in highly specific applicationsbyte is used to save memory 10. The numeric type double is the same as floatTrueFalse 11. The outputs of the following two pieces of codes will be: int integer=12; integer +=1; string str="12"; str +=1;13, 1313, 1213, 11213, 121 12. Any code that's written inside the if block shown below will: if(1) { }Show an errorShow a warning but not an errorexecute infinitelyprint '1' 13. Which function executes first when a sketch is built?loop()setup()init()main() 14. The following code will evaluate to _____. strncmp("left", "leftright", 4) == 0)TrueFalse 15. Select the function that you can use to detect a button press on the ArduinobuttonRead()buttonPress()analogRead()digitalRead() 16. An Arduino Uno is most suited for _________.Controlling peripheralsPowering peripheralsControlling and powering peripherals 17. The core processor of the Arduino Uno (Atmega328p) has a 16MHz crystal oscillator for the processor clock.TrueFalse 18. The 3.3V regulator on the Arduino Uno has an output current of _______.50 mA100 mA150 mA200 mA 19. An LED driver is an example of _________.InputOutput 20. delay(100000) results in a delay of _______.100000 seconds100 seconds1 second10 seconds 21. Select the correct statement(s)PWM pins mimic analog signalsSensors generate analog readings that are read by the analog pinsAnalog signals are converted using an analog-to-digital converter by analog pinsAnalog signals are converted using a digital-to-analog converter by analog pins 22. An Arduino sketch undergoes pre-processing to turn into a ______ programC/C++JavaAssemblyArduino 23. It's impossible to store a higher number of characters in an array than the declared size of the array.TrueFalse 24. Select the true statementsYou can store multiple values in an array and use a loop to iterate through each of the valuesA variable that was previously used to store an integer can be repurposed to store a float value insteadYou can convert a variable from one data type to anotherYou can store a single value in two different data types using a single variable 25. Select the correct ways of defining a functiondef myfunction()int myfunction (float)void myfunction ()fun myfunction ()void myfunction (int,int,int) 26. The Arduino Uno generates a maximum of ____mA current from the PWM pins. 27. To use the I2C communication protocol, you can use the _____ library in your sketch.SerialSPIWireComI2C 28. Select the sensor that measures pressure relative to atmospheric pressure.Vacuum pressure sensorAbsolute pressure sensorGauge pressure sensorDifferential pressure sensor 29. Select the type of temperature sensor that you are most likely to find in an Integrated Circuit.ThermistorSemiconductor based sensorResistance ThermometerThermocouple 30. A hygrometer is a _______ sensor.HumidityWater contentWetnessAir pressure 31. Write a function to convert the following character array to an Arduino String named string2 char string1[] = "Convert me" 32. Select the right measurement units for a humidity sensor.DEW/Fost point (D/F PT)Parts Per Million (PPM)RH 33. _______ sensors measure moisture using humidity.SesimoscopeCapacitiveResistiveBoth Resistive and Capacitive 34. Select the types of proximity sensors that currently exist.RADAR proximity sensorLiDAR proximity sensorThermal proximity sensorLaser proximity sensorMagnetic proximity sensorThermoelectric proximity sensorPhotoelectric proximity sensorIR proximity sensorUltrasonic proximity sensorResistive proximity sensorsCapacitive proximity sensorsInductive proximity sensorsOptical proximity sensor 35. This proximity sensor can sense metals as well as the levels of liquids.Inductive proximity sensorCapacitive proximity sensorUltrasonic proximity sensorMagnetic proximity sensor 36. Select the communication protocol(s) that allows multiple Masters instead of just one.SPII2CCAN 37. Select the communication protocol(s) that allow the Master and Slaves to communicate with each other simultaneously.CANSPII2C 38. If you are optimizing for performance, and have no shortage of pins, which communication protocol/hardware would you choose?UARTSPII2CCAN 39. This is the communication protocol used by SD (Secure Digital) cards.I2CUARTSPIUSART 40. A tactile sensor is also known as a ________ sensor.TemperatureHumidityPressureTouch Loading...