1.
The following error shows while uploading to your arduino board, what is the most probable reason?
avrdude: ser_open(): can't open device "\\.\COM#": The system cannot find the file specified.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
(HINT: this is a very common problem, NOTE: # is a reference to any number)
Correct Answer
A. The port is not established properly (connnection between arduino and computer is faulty or non-existent)
Explanation
The most probable reason for the error message is that the port is not established properly, indicating a faulty or non-existent connection between the Arduino board and the computer. This can occur due to issues such as a loose or disconnected USB cable, incorrect port selection, or a malfunctioning USB port on the computer.
2.
How do you know that your code is being uploaded without looking at the computer screen?
Correct Answer
B. Rx and Tx LEDs start blinking
Explanation
When the Rx and Tx LEDs start blinking, it indicates that the code is being uploaded to the Arduino microcontroller chip. These LEDs are connected to the serial communication lines of the Arduino board. During the upload process, data is sent from the computer to the Arduino through these lines, causing the LEDs to blink. This serves as a visual indication that the code transfer is happening successfully, even without looking at the computer screen.
3.
Which of the following is absent in an Arduino/Genuino Uno?
Correct Answer
C. ATmega 2560 chip
Explanation
The Arduino/Genuino Uno does not have the ATmega 2560 chip. It is equipped with the ATmega 328P chip instead. The ATmega 2560 chip is typically found in the Arduino Mega board, which is a different model.
4.
Suppose you supplied excess voltage(greater than 5V) to the Arduino, which of the following is most likely to happen:
Correct Answer
C. The board functions normally
Explanation
If excess voltage (greater than 5V) is supplied to the Arduino, it is most likely that the board will function normally. This is because the Arduino has built-in voltage regulators that protect the microcontroller chip from receiving excessive voltage. These voltage regulators regulate the incoming voltage to a safe level for the chip to operate without getting damaged. Therefore, even if excess voltage is supplied, the board will still function normally without any damage to the microcontroller chip.
5.
Which overflows before, millis() or micros()?
Note: I)overflows in this context is analogous to the value reseting to zero
II)millis returns milli seconds and micros returns microseconds since the program started running in the arduino
Correct Answer
B. Micros()
Explanation
The correct answer is micros(). The micros() function returns the number of microseconds since the program started running on the Arduino. Since it measures time in smaller units (microseconds) compared to millis() (milliseconds), it will overflow or reset to zero before millis(). Therefore, micros() overflows before millis().
6.
Which of the following pins cannot be used to achieve a fading effect in an LED using Arduino?
Correct Answer
D. 2
Explanation
Pin 2 cannot be used to achieve a fading effect in an LED using Arduino because it does not support Pulse Width Modulation (PWM) which is necessary for controlling the brightness of an LED. PWM allows the Arduino to rapidly switch the LED on and off at different duty cycles, creating the illusion of a fading effect. Therefore, pin 2 is not suitable for achieving this effect.
7.
Which of the following is NOT a predeclared constants in Arduino?
Correct Answer
D. Low
Explanation
In Arduino, "low" is not a predeclared constant. "true", "HIGH", and "LED_BUILTIN" are all predeclared constants in Arduino. "low" is typically used as a value to represent a low logic level or a digital pin set to a low state, but it is not a predeclared constant.
8.
The micros() function has resolution of 4 micro seconds, hence what would you predict the accurate range of the function delayMicroseconds()?
Correct Answer
D. 3 and above
Explanation
The micros() function has a resolution of 4 microseconds, meaning it can measure time intervals in increments of 4 microseconds. The delayMicroseconds() function uses the micros() function internally to delay for a specified number of microseconds. Since the micros() function has a resolution of 4 microseconds, it is reasonable to predict that the accurate range of the delayMicroseconds() function would start from 3 microseconds and above.
9.
Which of the following is not a version of the Arduino?
Correct Answer
D. Leonardio
Explanation
The Arduino Leonardio is not a version of the Arduino. The correct version is actually called Arduino Leonardo.
10.
If Serial is begun with Serial.begin(9600); How much time will it take to send 2 ASCII characters?
Correct Answer
A. 1.667 millisecond
Explanation
When Serial.begin(9600) is called, it sets the baud rate of the serial communication to 9600 bits per second. This means that it can transmit 9600 bits in one second. Since each ASCII character is 8 bits long, it will take 8/9600 seconds to transmit one character. Therefore, it will take 2*(8/9600) = 0.001667 seconds or 1.667 milliseconds to send 2 ASCII characters.