Hardest Trivia Questions Quiz On Arduino Programming And C++

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Catherine Halcomb
Catherine Halcomb
Community Contributor
Quizzes Created: 1443 | Total Attempts: 6,714,021
| Attempts: 3,437 | Questions: 100
Please wait...
Question 1 / 100
0 %
0/100
Score 0/100
1. In Arduino programming every statement ends with __________.

Explanation

In Arduino programming, every statement ends with a semicolon (;). This is a common convention in many programming languages, including C and C++, which Arduino is based on. The semicolon acts as a delimiter, indicating the end of a statement and allowing the compiler to understand the structure of the code. Omitting the semicolon can result in a syntax error and cause the program to fail. Therefore, it is important to include the semicolon at the end of each statement in Arduino programming.

Submit
Please wait...
About This Quiz
Hardest Trivia Questions Quiz On Arduino Programming And C++ - Quiz

Below is the Hardest Trivia Questions Quiz on Arduino Programming and C++. Are you an aspiring programmer and are looking for a way to test out how well... see moreyou understand these two programming languages? The quiz below is one that the best of the best can pass, so if you tackle it and get half the marks, you should consider yourself super smart. see less

2. PWM stands for ________.

Explanation

PWM stands for Pulse Width Modulation. This technique is used to encode information in the form of varying pulse widths of a periodic signal. By controlling the width of the pulses, the average power delivered to a load can be adjusted, allowing for precise control of devices such as motors, lights, and audio signals. The correct answer is Pulse Width Modulation.

Submit
3. What is the frequency of the crystal used in Arduino Uno Board?

Explanation

The frequency of the crystal used in the Arduino Uno Board is 16 MHz. The crystal is responsible for providing a stable clock signal that regulates the timing of the microcontroller on the board. This frequency is commonly used in Arduino boards to ensure accurate and precise timing for various operations and functions.

Submit
4. In Arduino UNO which pin has inbuilt on board LED associated with it?

Explanation

Arduino UNO has an inbuilt on board LED associated with pin 13. This means that when pin 13 is set to HIGH, the LED will turn on, and when pin 13 is set to LOW, the LED will turn off. This pin is commonly used for testing and debugging purposes, as it provides a simple way to verify that the Arduino board is functioning correctly.

Submit
5. If two resistors are connected in series then _________is the total resistance.

Explanation

When two resistors are connected in series, the total resistance increases. This is because the current flowing through both resistors is the same, and the voltage across each resistor adds up. As a result, the total voltage across the resistors is higher than the voltage across each individual resistor. According to Ohm's law (V = IR), if the voltage increases and the current remains the same, the resistance must also increase. Therefore, the correct answer is "Higher".

Submit
6. The keyword used to transfer control from a called function back to the calling function is

Explanation

The keyword "return" is used to transfer control from a called function back to the calling function. When a return statement is encountered in a function, it immediately terminates the execution of that function and returns the specified value (if any) to the calling function. This allows the calling function to continue its execution from where it left off before the function call.

Submit
7. The keyword used to transfer the control from a called function back to the calling function is___.

Explanation

The keyword used to transfer the control from a called function back to the calling function is "Return". This keyword is used to exit the current function and return a value, if specified, to the calling function. It allows the program to continue executing from the point where the function was called.

Submit
8. How many analog ports does an Arduino have?

Explanation

An Arduino has six analog ports labeled A0-A5. These ports allow the Arduino to read analog input values, such as sensor readings or variable voltages, and convert them into digital values that can be processed by the microcontroller. Having six analog ports provides flexibility for connecting multiple analog sensors or devices to the Arduino for data acquisition and control purposes.

Submit
9. The number ‘104’ on a capacitor indicates

Explanation

The number '104' on a capacitor indicates a capacitance value of 0.1uF. In capacitor notation, the first two digits represent the significant figures of the capacitance value, while the third digit represents the multiplier. In this case, '10' is the significant figure and '4' is the multiplier, which corresponds to 0.1uF.

Submit
10. A Zener diode __________.

Explanation

A Zener diode is a type of diode that operates in the reverse-biased mode. Unlike regular diodes, a Zener diode is designed to have a sharp breakdown at a specific reverse voltage, known as the Zener voltage. This sharp breakdown allows the Zener diode to regulate voltage and maintain a constant voltage across its terminals, even when the current varies. This makes Zener diodes useful in voltage regulation and protection circuits. The other options are incorrect as they do not accurately describe the characteristics or applications of a Zener diode.

Submit
11. How many PWM pins are there on Arduino Uno Board?

Explanation

The Arduino Uno board has a total of 6 PWM (Pulse Width Modulation) pins. PWM pins allow for the control of analog output by varying the width of the signal's pulse. These pins are labeled as 3, 5, 6, 9, 10, and 11 on the Arduino Uno board. They can be used to control things like LED brightness, motor speed, and servo position.

Submit
12. Identify the correct variable declaration.

Explanation

The correct variable declaration is "Int my_Variable;". In programming, variable names cannot contain spaces or special characters like #, and they cannot start with a number. The variable name should start with a letter or an underscore. Therefore, "Int my_Variable;" follows the correct naming conventions for a variable declaration.

Submit
13. Arduino platform is based on which micro-controller's family?

Explanation

The correct answer is AVR microcontroller family. The Arduino platform is based on the AVR microcontroller family. AVR microcontrollers are a popular choice for Arduino boards due to their low power consumption, high performance, and ease of use. The AVR family offers a wide range of microcontrollers with different capabilities and features, making them suitable for various applications in the Arduino ecosystem.

Submit
14. Which statement can be used inside other control statements to immediately end the loop or statement?

Explanation

The correct answer is "Break". The "Break" statement can be used inside other control statements, such as loops or switch statements, to immediately end the execution of the loop or statement and move on to the next line of code after the loop or statement. It is commonly used when a certain condition is met and the loop needs to be terminated prematurely.

Submit
15. The Serial.print() function is used for printing __________________to the connected Serial device.

Explanation

The Serial.print() function is used for printing ASCII characters to the connected Serial device. This means that when using this function, the data being printed will be interpreted as ASCII characters and displayed accordingly. It is not used for printing hexadecimal values or binary values directly, as those would need to be converted to ASCII characters first. Therefore, the correct answer is ASCII Characters.

Submit
16. If a 10K resistor is placed across a 10v supply then the circuit current will be

Explanation

When a 10K resistor is placed across a 10V supply, the circuit current can be calculated using Ohm's Law, which states that current (I) is equal to voltage (V) divided by resistance (R). In this case, the voltage is 10V and the resistance is 10K (which is equivalent to 10,000 ohms). So, the current (I) can be calculated as 10V / 10K ohms = 0.001A = 1mA. Therefore, the correct answer is 1mA.

Submit
17. PWM output varies from ________.

Explanation

PWM output varies from 0 to 255. This is because PWM (Pulse Width Modulation) is a technique used to control the amount of power delivered to a load by varying the width of the pulse signal. In this case, the range of the PWM output is from 0 (representing 0% duty cycle or no power) to 255 (representing 100% duty cycle or full power). The values in between represent different levels of power output, allowing for precise control over the load.

Submit
18. In which file extension Arduino sketches are saved?

Explanation

Arduino sketches are saved with the .ino file extension. This file extension is specific to Arduino and is used to identify and differentiate Arduino sketches from other types of files. By using the .ino file extension, it becomes easier for the Arduino IDE (Integrated Development Environment) to recognize and open these files for editing and uploading to Arduino boards.

Submit
19. Which of these pins can be used as RX & TX pins for serial communication in Arduino UNO?

Explanation

Pins 0 and 1 can be used as RX (Receive) and TX (Transmit) pins for serial communication in Arduino UNO. These pins are labeled as "RX" and "TX" respectively on the Arduino board. They are connected to the built-in USB-to-serial converter chip, allowing the Arduino to communicate with a computer through a USB connection. Therefore, these pins are suitable for serial communication tasks.

Submit
20. How many analog input pins are present on the Arduino Uno board?

Explanation

The correct answer is 6. The Arduino Uno board has a total of 6 analog input pins. These pins can be used to read analog voltage values from sensors or other analog devices. These pins are labeled A0 to A5 on the board.

Submit
21. In function 'delay (t)', t is in_____.

Explanation

The function 'delay(t)' is used to introduce a delay in the program execution. The parameter 't' represents the time duration for which the delay is required. Since the given options include units of time, we can infer that 't' is measured in some unit of time. Among the options, milliseconds is the most commonly used unit for introducing delays in programming. Therefore, the correct answer is milliseconds.

Submit
22. Atmega328 micro-controller has ______________ bytes of flash (Program) memory.

Explanation

The Atmega328 micro-controller has 32K bytes of flash (Program) memory. Flash memory is a type of non-volatile memory that is used to store the program code and data in a micro-controller. In this case, the Atmega328 has a capacity of 32K bytes, which means it can store up to 32,768 bytes of program code. This is a significant amount of memory for a micro-controller and allows for the execution of complex programs.

Submit
23. Identify the SCK pin in Arduino.

Explanation

The SCK (Serial Clock) pin in Arduino is used for synchronizing data transfer between the Arduino and other devices, such as sensors or displays, that use the SPI (Serial Peripheral Interface) communication protocol. In this case, the correct answer is 13 because it is the pin number assigned to the SCK pin on the Arduino board.

Submit
24. An Arduino’s microcontroller is pre-programmed with a _______ that simplifies uploading of programs to the on-chip flash memory, compared with other devices that typically need an external chip programmer

Explanation

A bootloader is a small program that is pre-installed on an Arduino's microcontroller. It simplifies the process of uploading programs to the on-chip flash memory. Unlike other devices that require an external chip programmer, the Arduino's bootloader allows for easy and convenient programming directly from a personal computer. This eliminates the need for additional hardware and streamlines the programming process for the user.

Submit
25. What is the maximum available baudrate in Arduino IDE?

Explanation

The maximum available baudrate in Arduino IDE is 115200. Baudrate refers to the number of signal or symbol changes that occur per second in a communication channel. In Arduino IDE, the maximum baudrate is set at 115200, which means that data can be transmitted or received at a rate of 115200 bits per second. This allows for faster and more efficient communication between the Arduino board and other devices or systems.

Submit
26. Which statement when executed provides 5V @ the 13th pin on Arduino UNO board in order to turn ON the LED?

Explanation

The correct answer is digitalWrite(13,HIGH). This statement sets the 13th pin on the Arduino UNO board to a HIGH state, which provides 5V to the pin. This will turn ON the LED connected to that pin. The other statements do not specifically set the 13th pin to HIGH, so they will not turn ON the LED.

Submit
27. Arduino (Atmega) pins can source / sink current up to

Explanation

Arduino (Atmega) pins can source/sink current up to 40mA. This means that the pins can either provide or accept a maximum current of 40mA. It is important to stay within this limit to prevent damage to the Arduino board or the connected components.

Submit
28. What is the maximum voltage level that can be read by any digital pin in Arduino UNO without damaging it?

Explanation

The maximum voltage level that can be read by any digital pin in Arduino UNO without damaging it is 5V. This is because the Arduino UNO operates at 5V logic level and exceeding this voltage can potentially damage the pins. It is important to ensure that any input voltage does not exceed this limit to prevent any harm to the Arduino board.

Submit
29. What is the short cut key for verify button in Arduino IDE?

Explanation

The correct answer is Ctrl + R. This shortcut key is used to verify the code in the Arduino IDE. When pressed, it checks the syntax and compiles the code to ensure there are no errors before uploading it to the Arduino board. This is a useful shortcut for quickly checking the code for any mistakes or errors.

Submit
30. How many digital I/O pins are present on the Arduino Uno board?

Explanation

The correct answer is 14 because the Arduino Uno board has a total of 14 digital I/O pins. These pins can be used for both input and output operations, allowing the board to interact with various external devices and sensors.

Submit
31. Which loop executes the instructions in loop atleast once?

Explanation

The do-while loop is the only loop that guarantees the execution of the instructions at least once. This is because the condition for the loop is checked at the end of each iteration, ensuring that the instructions are executed at least once before checking the condition. In contrast, the other loops (while loop and for loop) check the condition before executing the instructions, so if the condition is initially false, the instructions may not be executed at all. The if loop is not a loop at all, but a conditional statement used for decision-making.

Submit
32. Which logical operator will return a TRUE value only if both conditional statements are TRUE?

Explanation

The logical operator that will return a TRUE value only if both conditional statements are TRUE is the logical AND (&&) operator. This operator evaluates two conditions and returns TRUE only if both conditions are TRUE. If either one or both of the conditions are FALSE, the result will be FALSE.

Submit
33. Connecting a wire from the NEGATIVE terminal to the POSITIVE terminal of a battery will produce:

Explanation

Connecting a wire from the negative terminal to the positive terminal of a battery will create a direct path for the current to flow without any resistance. This results in a short circuit, where the current bypasses the intended circuitry and flows directly from the negative to the positive terminal. A short circuit can cause excessive current flow, overheating, and potential damage to the battery or other components in the circuit.

Submit
34. In C program, if you pass an array as an argument to a function,what actually gets passed?

Explanation

When an array is passed as an argument to a function in a C program, only the base address of the array is actually passed. This means that the memory address of the first element of the array is passed to the function. By using this base address, the function can access and manipulate the elements of the array. The function can also calculate the memory addresses of other elements in the array based on the size of the elements and their positions relative to the base address.

Submit
35. Which of these pins can be used as a PWM pin?

Explanation

Pin 9 can be used as a PWM pin because it is one of the pins on the Arduino Uno board that supports Pulse Width Modulation (PWM) output. PWM allows for the control of analog devices by rapidly switching the output on and off at varying duty cycles, effectively simulating an analog voltage. This pin can be used to control devices such as LEDs, motors, and servos, providing a range of output values between 0 and 255.

Submit
36. In Arduino programming which function executes only once after power up?

Explanation

The Setup() function in Arduino programming is executed only once after power up. This function is used to initialize variables, set pin modes, and perform any necessary setup tasks before the main loop starts executing. Once the Setup() function completes its execution, the program moves on to the Loop() function, which is then repeatedly executed until the power is turned off or the Arduino is reset. The Main() function is not specific to Arduino programming and is not directly related to the execution of code on an Arduino board.

Submit
37. A function declaration involves establishing the function's _________

Explanation

A function declaration involves establishing the function's return data type, function's name, and parameters. When declaring a function, it is necessary to specify the type of data that the function will return, the name of the function, and any parameters that the function will accept. These components are essential in defining the function and how it will be used in the program. Therefore, the correct answer is "All of the above."

Submit
38. Which logical operator will return a TRUE value if either of the conditional statements are TRUE?

Explanation

The logical operator "Logical or (||)" returns a TRUE value if either of the conditional statements are TRUE. This means that if at least one of the conditions is true, the overall result will be true.

Submit
39. In C, if you pass an array as an argument to a function, what actually gets passed?

Explanation

When an array is passed as an argument to a function in C, only the base address of the array is actually passed. This means that the memory address of the first element of the array is passed to the function. With this base address, the function can access and manipulate the elements of the array by using pointer arithmetic. Therefore, the correct answer is the "Base address of the array".

Submit
40. What is the correct syntax to initialize serial communication?

Explanation

The correct syntax to initialize serial communication is "Serial.begin(9600)". This function is used to set the data rate in bits per second (baud rate) for serial data transmission. In this case, the baud rate is set to 9600.

Submit
41. Atmega328 is a ___________ microcontroller.

Explanation

Atmega328 is a microcontroller that operates with an 8-bit architecture. This means that it can process data and instructions in 8-bit chunks, allowing it to handle a maximum of 8 bits of data at a time. This architecture is commonly used in microcontrollers as it provides a good balance between complexity and cost-effectiveness, making it suitable for a wide range of applications.

Submit
42. What is the size of RAM in Atmega328p IC?

Explanation

The correct answer is 2KBytes. The Atmega328p IC has a RAM size of 2KBytes. RAM (Random Access Memory) is a type of computer memory that is used for temporary storage of data that can be read from and written to by the processor. In the case of the Atmega328p IC, it has a RAM size of 2KBytes, which means it can store up to 2 kilobytes of data in its temporary memory.

Submit
43. What does the following declaration mean? int (*ptr)[10];

Explanation

The declaration "int (*ptr)[10];" means that ptr is a pointer to an array of 10 integers. This means that ptr can be used to point to the memory location of an array that contains 10 integers.

Submit
44. What is the size of an integer variable in Arduino UNO?

Explanation

The size of an integer variable in Arduino UNO is 2 Bytes.

Submit
45. Identify the digital pin which does not have PWM capability.

Explanation

Digital pin 4 does not have PWM capability. PWM (Pulse Width Modulation) is a technique used to control the intensity of digital signals. It is commonly used in applications such as controlling the speed of motors or the brightness of LEDs. However, not all digital pins on a microcontroller have PWM capability. In this case, digital pin 4 is the one that lacks PWM capability.

Submit
46. In Arduino programming which function executes infinitely after power up?

Explanation

The correct answer is "Loop()". In Arduino programming, the Loop() function is executed continuously after power up. This function is responsible for running the main code of the program in a loop, allowing the Arduino board to constantly perform the desired tasks or actions until it is powered off or reset. The Setup() function, on the other hand, is executed only once at the beginning to initialize variables and set up the necessary configurations. The Main() function is not specific to Arduino programming and is not relevant in this context.

Submit
47. If a small value of capacitance is connected in parallel with a large value,the combinedcapacitance will be

Explanation

When capacitors are connected in parallel, their capacitances add up. In this case, a small value of capacitance is connected in parallel with a large value. Since the capacitances are added together, the combined capacitance will be higher than the individual capacitances. Therefore, the correct answer is higher.

Submit
48. What is the size of EEPROM in Atmega328p IC?

Explanation

The size of EEPROM in the Atmega328p IC is 1KBytes. EEPROM stands for Electrically Erasable Programmable Read-Only Memory, which is a type of non-volatile memory that can be electrically erased and reprogrammed. The Atmega328p IC is a microcontroller commonly used in Arduino boards, and it has 1KBytes of EEPROM memory available for storing data that needs to be retained even when the power is turned off.

Submit
49. Which memory space is used to store the program (sketch) in Arduino?

Explanation

The program (sketch) in Arduino is stored in the Flash memory space. Flash memory is a type of non-volatile memory that can be electrically erased and reprogrammed. It is commonly used in microcontrollers like Arduino to store the program code, as it retains the code even when power is turned off. EEPROM (Electrically Erasable Programmable Read-Only Memory) is another type of non-volatile memory, but it is typically used for storing data that needs to be retained even when power is lost, such as configuration settings or user data. SRAM (Static Random Access Memory) and EPROM (Erasable Programmable Read-Only Memory) are not typically used to store the program code in Arduino.

Submit
50. Which of these is an output device?

Explanation

A servo is an output device because it is used to control the position or movement of another device. It receives signals from a control system and translates them into precise movements, making it an ideal output device for various applications such as robotics, automation, and remote control systems. Unlike the other options listed, a servo is specifically designed to provide an output in the form of physical movement.

Submit
51. Identify the Invalid ‘If conditional statement'.

Explanation

The given statement "If (variable = 50)" is an invalid 'if' conditional statement because it uses the assignment operator (=) instead of the comparison operator (==) to check if the variable is equal to 50. The assignment operator is used to assign a value to a variable, not to compare values. To compare values, the comparison operator (==) should be used.

Submit
52. Which of the following is not logical operator?

Explanation

The ampersand (&) is not a logical operator. It is a bitwise operator used for performing bit-level operations on binary numbers. Logical operators, on the other hand, are used to evaluate conditions and return true or false. The logical operators include && (logical AND), || (logical OR), and ! (logical NOT).

Submit
53. The ability to alter the order in which code is executed is called_____.

Explanation

Flow control refers to the ability to change the order in which code is executed. It allows programmers to determine the sequence in which instructions are executed based on certain conditions or criteria. This can be achieved through the use of control structures such as loops and conditional statements. Program control and direction control are not commonly used terms in programming and are not directly related to the concept of altering the order of code execution. Therefore, the correct answer is flow control.

Submit
54. Which of the following operator has the highest precedence?

Explanation

The increment/decrement operators (++,- -) have the highest precedence among the given operators. This means that they are evaluated first before any other operators in an expression. This is because incrementing or decrementing a value is a fundamental operation that needs to be performed immediately. The other operators, such as addition, logical AND, and assignment, have lower precedence and are evaluated after the increment/decrement operators.

Submit
55. Which of these is a digital input device?

Explanation

A button is a digital input device because it can only have two states - pressed or not pressed. It sends a signal to a device when it is pressed, indicating a digital input. A pressure sensor, servo, and potentiometer are not necessarily digital input devices as they can have a range of values or positions, rather than just two distinct states.

Submit
56. Identify the SPI pins in Arduino.

Explanation

The SPI (Serial Peripheral Interface) pins in Arduino are used for communication with other devices. In Arduino, the SPI pins are typically labeled as MOSI (Master Out Slave In), MISO (Master In Slave Out), and SCK (Serial Clock). These pins are responsible for transmitting and receiving data between the Arduino and external devices. In this case, the correct answer is 11, 12, and 13, as these are the pins on the Arduino board that are designated for SPI communication.

Submit
57. Functions are created by first declaring the ________ at the beginning of the program.

Explanation

A function prototype is declared at the beginning of a program to provide information about the function to the compiler. It includes the function's name, return type, and parameter types. This allows the compiler to validate function calls and ensure that the function is used correctly in the program. By declaring the function prototype, the programmer can define the function later in the program or in a separate file, making it easier to organize and manage large codebases.

Submit
58. In which language the Arduino IDE is written?

Explanation

The Arduino IDE is written in Java. Java is a popular programming language known for its platform independence, making it suitable for developing applications that can run on different operating systems. The use of Java allows the Arduino IDE to be compatible with various platforms, making it accessible to a wide range of users.

Submit
59. What is the size of Flash memory (program memory) in Atmega8 IC?

Explanation

The size of Flash memory (program memory) in Atmega8 IC is 8KBytes. This means that the IC can store up to 8 kilobytes of program code. Flash memory is a type of non-volatile memory that can be electrically erased and reprogrammed, making it ideal for storing program instructions in microcontrollers like Atmega8.

Submit
60. How many times loop() function runs after RESET?

Explanation

The loop() function in programming runs continuously until the program is terminated. Therefore, after a RESET, the loop() function will start running again and continue to run indefinitely until the program is stopped or interrupted.

Submit
61. If the reference voltage is 3.3V for ADC in Arduino then the step size is

Explanation

not-available-via-ai

Submit
62. Consider the looping statement 'for(int i=0; i < 10; i =i * 2)' while assuming the body of the loop does not break the loop or change i, how many times would the body of the loop be exucuted?

Explanation

The loop will be executed infinitely because the condition i

Submit
63. A resistor with Color bands: red -red- red gold has the value

Explanation

The color bands on a resistor indicate its value and tolerance. In this case, the red-red-red gold color bands suggest that the resistor has a value of 2k2. The gold band represents the tolerance, which is 5%. This means that the actual resistance of the resistor can vary by 5% from the stated value of 2k2.

Submit
64. Which function does not return any value when it is called by any other function?

Explanation

Serial.println() does not return any value when it is called by any other function. This function is used to print data to the serial port for debugging or communication purposes. It outputs the data as text and does not provide any return value.

Submit
65. What is the maximum decimal value that can be stored in an integer variable in Aurduino?

Explanation

The maximum decimal value that can be stored in an integer variable in Arduino is 65535. This is because Arduino uses 16-bit integers, which have a maximum value of 2^16 - 1, or 65535.

Submit
66. What is the size of ADC in Arduino Uno?

Explanation

The size of the ADC (Analog to Digital Converter) in Arduino Uno is 10 bit. This means that the ADC can convert analog signals into digital values with a resolution of 10 bits, allowing for a range of 0 to 1023 (2^10 - 1). This provides a fairly good level of precision for converting analog signals into digital data.

Submit
67. By default a real number is treated as

Explanation

A real number is typically treated as a double by default. The double data type in programming languages represents a floating-point number with double precision, meaning it can store a larger range of values and provide more decimal places of accuracy compared to a float. Therefore, when a real number is not specified with a specific data type, it is assumed to be a double.

Submit
68. Which of the following is not an analog function?

Explanation

The function AnalogValue() is not an analog function because it is not a standard function in most programming languages or microcontroller libraries. AnalogRead() is a function used to read analog input values, AnalogReference() is used to set the reference voltage for analog inputs, and AnalogWrite() is used to generate analog output signals. However, AnalogValue() does not have a defined purpose or functionality in the context of analog functions.

Submit
69. How many GND pin are present on the Arduino UNO board?

Explanation

The Arduino UNO board has 3 GND (ground) pins. These pins are used to provide a common reference voltage for the components connected to the board. Having multiple GND pins allows for better grounding and reduces the chances of noise and interference in the circuit.

Submit
70. Arduino IDE is derived from _________.

Explanation

The correct answer is Wiring & Processing. Arduino IDE is derived from the combination of the Wiring framework and the Processing language. Wiring is an open-source programming framework that provides a simplified way to write code for microcontrollers, while Processing is a programming language and development environment specifically designed for visual arts and creative coding. The combination of these two technologies forms the foundation of the Arduino IDE, which allows users to easily program Arduino boards.

Submit
71. If the reference voltage is 5V for ADC in Arduino then the step size is

Explanation

The step size of an ADC (Analog-to-Digital Converter) is determined by the reference voltage and the resolution of the ADC. In this case, the reference voltage is given as 5V. The step size can be calculated by dividing the reference voltage by the maximum value of the ADC's digital output. Assuming the ADC has a 10-bit resolution, the maximum value would be 1023. Dividing 5V by 1023 gives us a step size of approximately 4.88mV.

Submit
72. If the microcontroller has 12bit ADC what is the range of analog values we can get?

Explanation

The range of analog values that can be obtained with a 12-bit ADC is from 0 to 4096. A 12-bit ADC can represent 2^12 = 4096 different digital values, which corresponds to the range of analog values that can be converted.

Submit
73. What is Arduino?

Explanation

Arduino is an open source prototyping platform that is based on AVR Microcontrollers. This means that it is a platform that allows users to create and develop their own electronic projects using AVR Microcontrollers. The fact that it is open source means that the design and code for Arduino is freely available for anyone to use, modify, and distribute. This allows for a collaborative and community-driven approach to development, making Arduino a popular choice for hobbyists, students, and professionals alike.

Submit
74. Arduino (Atmega) Pins are in low impedance state when pins are configured as

Explanation

When Arduino pins are configured as OUTPUT, they are set to a low impedance state. This means that the pins can provide a relatively low resistance to the connected circuit, allowing for the flow of current. In this state, the pins can be used to drive external devices such as LEDs, motors, or other electronic components. Therefore, the correct answer is OUTPUT.

Submit
75. Which logical operator can be used to simulate Two way switch?

Explanation

The logical XOR (exclusive OR) operator can be used to simulate a two-way switch. In a two-way switch, there are two possible states: on or off. The XOR operator returns true if the two operands have different values, and false if they have the same value. This behavior mimics the behavior of a two-way switch, where turning it on or off will change its state. Therefore, the logical XOR operator is the correct choice for simulating a two-way switch.

Submit
76. Which of these pins can be used to adjust the voltage between 0V & 5V when configured as an OUTPUT?

Explanation

Pin 9 can be used to adjust the voltage between 0V and 5V when configured as an OUTPUT. This is because pin 9 is the analog output pin on many microcontrollers, which allows for the generation of analog voltage signals. By varying the digital value written to pin 9, the corresponding analog voltage can be adjusted, thus allowing for the desired voltage range between 0V and 5V.

Submit
77. Property of an electric circuit that dissipates electric energy

Explanation

Resistance is the property of an electric circuit that dissipates electric energy. It is a measure of how much a material or component opposes the flow of electric current. When current flows through a resistor, it encounters resistance, which causes the conversion of electrical energy into heat. This heat dissipation is the reason why resistance is responsible for dissipating electric energy in a circuit. Reactance, impedance, and conductance are related properties, but they do not directly dissipate electric energy like resistance does.

Submit
78. Arduino (Atmega) pins are in high impedance state when pins are configured as

Explanation

When Arduino pins are configured as INPUT, OUTPUT, or INPUT_PULLUP, they are in a high impedance state. This means that the pins are not actively driving the voltage level and are instead allowing other components to control the voltage. In the case of INPUT, the pin is ready to read an external voltage level. In the case of OUTPUT, the pin can actively drive a voltage level. And in the case of INPUT_PULLUP, the pin is internally pulled up to a high voltage level. So, when pins are configured as any of these modes, they are in a high impedance state.

Submit
79. What will happen if in a C program you assign a value to an array element whose subscript exceeds the size of array?

Explanation

If a value is assigned to an array element whose subscript exceeds the size of the array, it will result in accessing memory outside the bounds of the array. This can lead to overwriting important data stored in adjacent memory locations, causing the program to crash. It is important to ensure that array elements are accessed within the bounds of the array to avoid such issues.

Submit
80. Which mathematical formula can be used to convert analog values into corresponding voltage values?

Explanation

The given formula, (SensorValue) * (5V / 1023), can be used to convert analog values into corresponding voltage values. This formula takes the SensorValue and multiplies it by the ratio of 5V to 1023, which is the maximum value that can be obtained from an analog sensor. This calculation scales the analog value to the corresponding voltage value within the range of 0V to 5V.

Submit
81. What is the maximum decimal value that can be stored in a character type variable in Arduino?

Explanation

A character type variable in Arduino can store values from 0 to 255. Therefore, the maximum decimal value that can be stored in a character type variable in Arduino is 255.

Submit
82. In Arduino, the function 'pinMode( )' can be used to configure the Atmega pins as

Explanation

The function 'pinMode( )' in Arduino can be used to configure the Atmega pins as INPUT_PULLUP. This means that the pin is configured as an input and has an internal pull-up resistor enabled. When the pin is not connected to anything, it will read as HIGH, and when it is connected to ground, it will read as LOW. This configuration is useful for buttons or switches that are connected between the pin and ground, as it eliminates the need for an external pull-up resistor.

Submit
83. What voltage level should be applied to the RESET pin in order to reset the AVR microcomtroller?

Explanation

The RESET pin of an AVR microcontroller should be pulled low to 0V in order to reset the microcontroller. This is because the RESET pin is an active low pin, meaning that it is triggered when it is pulled low. Applying a voltage of 0V to the RESET pin will reset the microcontroller and restart its operation.

Submit
84. In Arduino the function 'pinMode()' cannot be used to configure the Atmega pins as

Explanation

The function 'pinMode()' in Arduino can be used to configure the Atmega pins as OUTPUT or INPUT, but it does not have an option to configure them as OUTPUT_PULLDOWN or INPUT_PULLUP. Therefore, the correct answer is "None of the Above".

Submit
85. Which of the following is not a version of the Arduino?

Explanation

The Arduino Leonardio is not a version of the Arduino. The correct version is called Leonardo.

Submit
86. How many times the string "ElintLabz" is printed on the Serial Terminal? void setup( ) {int x; for (x=1; x

Explanation

The given code snippet does not contain any code to print the string "ElintLabz" on the Serial Terminal. Therefore, the correct answer is 0 times.

Submit
87. Which of the following is not a version of the Arduino?

Explanation

The given question asks for a version of Arduino that is not included in the options. The options provided are Tre, Galileo, Zero, and Leonardio. Out of these options, Leonardio is not a version of Arduino. Therefore, it is the correct answer.

Submit
88. If serial port is initialized with Serial.begin(9600), How much time will it take to send two ASCII characters?

Explanation

The time it takes to send two ASCII characters over a serial port initialized with Serial.begin(9600) is 1.667ms. This is because the baud rate for the serial port is set to 9600 bits per second. Each ASCII character takes 10 bits to transmit (1 start bit, 8 data bits, and 1 stop bit), so two characters would take a total of 20 bits. Therefore, the time taken to send two ASCII characters would be (20 bits / 9600 bits per second) = 0.002083 seconds, which is approximately equal to 1.667ms.

Submit
89. How many times 'while (-1)' loop will be executed?

Explanation

The given answer is "Infinite time" because the condition in the while loop is "-1", which is always true. Therefore, the loop will continue to execute indefinitely until it is explicitly terminated or interrupted.

Submit
90. What is the size of RAM in Atmega8 IC?

Explanation

The correct answer is 1KBytes. The Atmega8 IC has a RAM size of 1KBytes.

Submit
91. Which of the following is not a valid data type in Arduino?

Explanation

The data type "Short" is not a valid data type in Arduino. Arduino supports various data types such as int, float, char, boolean, and void, but "Short" is not one of them.

Submit
92. How many serial ports are available on the Arduino Uno Board?

Explanation

The Arduino Uno Board has only one serial port available.

Submit
93. In which of the following the cases the code stops running?

Explanation

The code stops running when the power is down because the power supply is necessary for the computer or device to function. Without power, the computer or device cannot execute the instructions in the code, resulting in the code not running.

Submit
94. In Arduino if 1 second delay is required in a program then which function can be used?

Explanation

The correct answer is "Delay(1000)". The Delay function in Arduino is used to introduce a delay in milliseconds. In this case, if a 1-second delay is required, the value passed to the Delay function should be 1000 milliseconds. The other options mentioned in the question are incorrect as they do not provide the required 1-second delay.

Submit
95. Which 'If conditional statement' will not execute in any program?

Explanation

The 'If (0)' conditional statement will not execute in any program because the condition inside the if statement is false. In programming, a condition of 0 is considered as false, while any non-zero value is considered as true. Therefore, since 0 is false, the code inside the if statement will not be executed.

Submit
96. Transistor is a ________.

Explanation

A transistor is a current controlled current device because the amount of current flowing through the transistor's collector-emitter path is controlled by the amount of current flowing into its base. The base current acts as a control signal, determining the amount of current that can flow through the transistor. Thus, the transistor can be seen as a device that amplifies or regulates current based on the input current.

Submit
97. The use of function pinMode() is not required to set pin as an output pin before calling ___________.

Explanation

The use of function pinMode() is not required to set pin as an output pin before calling AnalogWrite(). AnalogWrite() is used to write an analog value (PWM signal) to a specified pin. Unlike DigitalWrite() which only writes a HIGH or LOW value to a pin, AnalogWrite() requires the pin to be configured as an output pin using pinMode(). However, AnalogWrite() does not directly require the pin to be set as an output pin before calling it.

Submit
98. Which controller can be used with Arduino Uno Board?

Explanation

Both A & C are the correct answers because both Atmega 8 and Atmega 328p can be used as controllers with the Arduino Uno board. The Arduino Uno board is compatible with a variety of microcontrollers, and these two options are among the supported ones.

Submit
99. What will be the output of this program? void setup( ) { int i=0; for (; i

Explanation

The program will output "6". This is because the variable "i" is initialized to 0 and the for loop continues as long as "i" is less than 5. Inside the loop, "i" is incremented by 1 each time. So the loop will run 6 times (0, 1, 2, 3, 4, 5) before the condition becomes false. Therefore, the final value of "i" is 6.

Submit
100. In Arduino UNO how many pins can be used as a digital input pins?

Explanation

The Arduino UNO has a total of 20 pins that can be used as digital input pins. These pins can be used to read digital signals from external devices and sensors. The other options (6, 14, and 13) are incorrect as they do not represent the actual number of digital input pins available on the Arduino UNO board.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 02, 2017
    Quiz Created by
    Catherine Halcomb
Cancel
  • All
    All (100)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
In Arduino programming every statement ends with __________.
PWM stands for ________.
What is the frequency of the crystal used in Arduino Uno Board?
In Arduino UNO which pin has inbuilt on board LED associated with it?
If two resistors are connected in series then _________is the total...
The keyword used to transfer control from a called function back to...
The keyword used to transfer the control from a called function back...
How many analog ports does an Arduino have?
The number ‘104’ on a capacitor indicates
A Zener diode __________.
How many PWM pins are there on Arduino Uno Board?
Identify the correct variable declaration.
Arduino platform is based on which micro-controller's family?
Which statement can be used inside other control statements to...
The Serial.print() function is used for printing __________________to...
If a 10K resistor is placed across a 10v supply then the circuit...
PWM output varies from ________.
In which file extension Arduino sketches are saved?
Which of these pins can be used as RX & TX pins for serial...
How many analog input pins are present on the Arduino Uno board?
In function 'delay (t)', t is in_____.
Atmega328 micro-controller has ______________ bytes of flash (Program)...
Identify the SCK pin in Arduino.
An Arduino’s microcontroller is pre-programmed with a _______ that...
What is the maximum available baudrate in Arduino IDE?
Which statement when executed provides 5V @ the 13th pin on Arduino...
Arduino (Atmega) pins can source / sink current up to
What is the maximum voltage level that can be read by any digital pin...
What is the short cut key for verify button in Arduino IDE?
How many digital I/O pins are present on the Arduino Uno board?
Which loop executes the instructions in loop atleast once?
Which logical operator will return a TRUE value only if both...
Connecting a wire from the NEGATIVE terminal to the POSITIVE terminal...
In C program, if you pass an array as an argument to a function,what...
Which of these pins can be used as a PWM pin?
In Arduino programming which function executes only once after power...
A function declaration involves establishing the function's _________
Which logical operator will return a TRUE value if either of the...
In C, if you pass an array as an argument to a function, what actually...
What is the correct syntax to initialize serial communication?
Atmega328 is a ___________ microcontroller.
What is the size of RAM in Atmega328p IC?
What does the following declaration mean? int (*ptr)[10];
What is the size of an integer variable in Arduino UNO?
Identify the digital pin which does not have PWM capability.
In Arduino programming which function executes infinitely after power...
If a small value of capacitance is connected in parallel with a large...
What is the size of EEPROM in Atmega328p IC?
Which memory space is used to store the program (sketch) in Arduino?
Which of these is an output device?
Identify the Invalid ‘If conditional statement'.
Which of the following is not logical operator?
The ability to alter the order in which code is executed is...
Which of the following operator has the highest precedence?
Which of these is a digital input device?
Identify the SPI pins in Arduino.
Functions are created by first declaring the ________ at the beginning...
In which language the Arduino IDE is written?
What is the size of Flash memory (program memory) in Atmega8 IC?
How many times loop() function runs after RESET?
If the reference voltage is 3.3V for ADC in Arduino then the step size...
Consider the looping statement 'for(int i=0; i < 10; i =i *...
A resistor with Color bands: red -red- red gold has the value
Which function does not return any value when it is called by any...
What is the maximum decimal value that can be stored in an integer...
What is the size of ADC in Arduino Uno?
By default a real number is treated as
Which of the following is not an analog function?
How many GND pin are present on the Arduino UNO board?
Arduino IDE is derived from _________.
If the reference voltage is 5V for ADC in Arduino then the step size...
If the microcontroller has 12bit ADC what is the range of analog...
What is Arduino?
Arduino (Atmega) Pins are in low impedance state when pins are...
Which logical operator can be used to simulate Two way switch?
Which of these pins can be used to adjust the voltage between 0V & 5V...
Property of an electric circuit that dissipates electric energy
Arduino (Atmega) pins are in high impedance state when pins are...
What will happen if in a C program you assign a value to an array...
Which mathematical formula can be used to convert analog values into...
What is the maximum decimal value that can be stored in a character...
In Arduino, the function 'pinMode( )' can be used to configure the...
What voltage level should be applied to the RESET pin in order to...
In Arduino the function 'pinMode()' cannot be used to configure the...
Which of the following is not a version of the Arduino?
How many times the string "ElintLabz" is printed on the Serial...
Which of the following is not a version of the Arduino?
If serial port is initialized with Serial.begin(9600), How much time...
How many times 'while (-1)' loop will be executed?
What is the size of RAM in Atmega8 IC?
Which of the following is not a valid data type in Arduino?
How many serial ports are available on the Arduino Uno Board?
In which of the following the cases the code stops running?
In Arduino if 1 second delay is required in a program then which...
Which 'If conditional statement' will not execute in any program?
Transistor is a ________.
The use of function pinMode() is not required to set pin as an output...
Which controller can be used with Arduino Uno Board?
What will be the output of this program? void setup( ) { int i=0; for...
In Arduino UNO how many pins can be used as a digital input pins?
Alert!

Advertisement