# Elintlabz - Online Screening Test

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
| By Kguptha
K
Kguptha
Community Contributor
Quizzes Created: 1 | Total Attempts: 227
Questions: 100 | Attempts: 227

Settings

.

• 1.

### How many times the function loop() runs?

• A.

1

• B.

2

• C.

Infinite

• D.

None

C. Infinite
Explanation
The function loop() runs an infinite number of times because there is no condition or constraint specified that would cause the loop to stop. Therefore, the loop will continue executing indefinitely until it is manually terminated or an error occurs.

Rate this question:

• 2.

### Which of the following is not a version of the Arduino?

• A.

Tre

• B.

Galileo

• C.

Zero

• D.

Leonard

D. Leonard
Explanation
Leonard is not a version of the Arduino. The other options, Tre, Galileo, and Zero, are all versions of the Arduino.

Rate this question:

• 3.

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

• A.

Value of elements in array

• B.

First element of the array

• C.

• D.

Address of the last element of array

C. Base address of the array
Explanation
When you pass an array as an argument to a function in a C program, what actually gets passed is the base address of the array. 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.

Rate this question:

• 4.

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

• A.

• B.

ASCII Characters

• C.

Binary Values

• D.

None

B. ASCII Characters
Explanation
The Serial.print() function is used for printing ASCII characters to the connected Serial device. ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents text in computers and other devices. By using the Serial.print() function, ASCII characters can be sent to the Serial device for display or further processing.

Rate this question:

• 5.

• A.

4.88mV

• B.

0.97mV

• C.

5mV

• D.

3.22mV

D. 3.22mV
• 6.

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

• A.

DigitalWrite(13,HIGH);

• B.

DigitalWrite(LED,HIGH);

• C.

DigitalWrite(13,LOW);

• D.

DigitalWrite(LED,LOW);

A. DigitalWrite(13,HIGH);
Explanation
The correct answer is `digitalWrite(13,HIGH);`. This statement sets the voltage at the 13th pin on the Arduino UNO board to 5V, which turns on the LED connected to that pin.

Rate this question:

• 7.

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

• A.

Logical and (&&)

• B.

Logical or (||)

• C.

Logical NOT (!)

• D.

None

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

Rate this question:

• 8.

### How many times 'while (-1)' loop will be executed?

• A.

1 time

• B.

Infinite time

• C.

0 time

• D.

None

B. Infinite time
Explanation
The given answer is "Infinite time" because the condition of the while loop (-1) will always be true. Therefore, the loop will continue to execute indefinitely until it is manually terminated.

Rate this question:

• 9.

### Which controller can be used with Arduino Uno Board?

• A.

Atmega 8

• B.

Atmega 1280

• C.

Atmega 328p

• D.

Both Atmega 8 & 328p

D. Both Atmega 8 & 328p
Explanation
The correct answer is Both Atmega 8 & 328p. Both Atmega 8 and Atmega 328p can be used as controllers with the Arduino Uno Board. The Arduino Uno Board is compatible with various microcontrollers, and Atmega 8 and Atmega 328p are two of the options that can be used.

Rate this question:

• 10.

### How many GND pin are present on the Arduino UNO board?

• A.

1

• B.

2

• C.

3

• D.

4

C. 3
Explanation
The Arduino UNO board has three 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 or interference in the circuit.

Rate this question:

• 11.

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

• A.

Goto

• B.

Return

• C.

Call

• D.

Jump

B. Return
Explanation
The keyword used to transfer the control from a called function back to the calling function is "return". This keyword is used to end the execution of a function and return a value, if necessary, to the calling function. It allows the program to resume execution from where the function was called, allowing for modular and organized code.

Rate this question:

• 12.

### Identify the SCK pin in Arduino.

• A.

12

• B.

13

• C.

10

• D.

11

B. 13
Explanation
The SCK pin in Arduino is identified as pin number 13.

Rate this question:

• 13.

### Which 'If conditional statement' will not execute in any program?

• A.

If (0)

• B.

If (-1)

• C.

Both If(0) & If(-1)

• D.

None

A. If (0)
Explanation
The 'If (0)' conditional statement will not execute in any program because the condition inside the if statement is false. In most programming languages, a value of 0 is considered as false, and the code block inside the if statement will not be executed.

Rate this question:

• 14.

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

• A.

Function name

• B.

Function prototype

• C.

Function parameters

• D.

B. Function prototype
Explanation
In order to create functions, it is necessary to declare the function prototype at the beginning of the program. The function prototype includes the function name, return type, and the number and types of parameters the function accepts. This declaration allows the compiler to understand the structure and signature of the function before it is actually defined. By declaring the function prototype, the program can call the function and the compiler will know what to expect in terms of input and output.

Rate this question:

• 15.

### 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?

• A.

Infinite

• B.

10

• C.

5

• D.

0

A. Infinite
Explanation
The loop will be executed infinitely because the value of i is always multiplied by 2 in each iteration. Since i starts at 0 and is multiplied by 2 each time, it will never reach a value greater than or equal to 10, causing the loop to continue indefinitely.

Rate this question:

• 16.

### What will be the output of this statement? Serial.println (i);

• A.

Prints i with '\n' & '\r'

• B.

Prints only i

• C.

Prints i with '\n'

• D.

Prints i with '\r'

A. Prints i with '\n' & '\r'
Explanation
The statement "Serial.println(i);" will print the value of variable i followed by a newline character ('\n') and a carriage return character ('\r'). This means that the output will display the value of i and then move the cursor to the beginning of the next line.

Rate this question:

• 17.

### Which of these pins can be used as a PWM pin?

• A.

2

• B.

4

• C.

9

• D.

12

C. 9
Explanation
Pin 9 can be used as a PWM (Pulse Width Modulation) pin. PWM is a technique used to control the average voltage or current delivered to a load. It is commonly used to control the speed of motors or the brightness of LEDs. In Arduino, pin 9 is capable of generating PWM signals using the analogWrite() function.

Rate this question:

• 18.

### In Arduino programming which function executes infinitely after power up?

• A.

Setup()

• B.

Loop()

• C.

Main()

• D.

None

B. Loop()
Explanation
The correct answer is "Loop()". In Arduino programming, the setup() function is executed once after power up to initialize variables and set pin modes. The loop() function is then executed repeatedly in an infinite loop, allowing the Arduino to continuously perform tasks or read inputs. The main() function is not used in Arduino programming as it is a C++ function that is automatically handled by the Arduino IDE. Therefore, the loop() function is the one that executes infinitely after power up in Arduino programming.

Rate this question:

• 19.

### In which language the Arduino IDE is written?

• A.

Java

• B.

C

• C.

C++

• D.

PHP

A. Java
Explanation
The Arduino IDE is written in Java. Java is a popular programming language known for its platform independence, making it suitable for developing software that can run on different operating systems. The Arduino IDE is designed to provide a user-friendly interface for programming Arduino boards, and Java allows for the creation of a cross-platform application that can be used on Windows, Mac, and Linux.

Rate this question:

• 20.

### By default a real number is treated as

• A.

Float

• B.

Double

• C.

Long

• D.

Long double

B. Double
Explanation
A real number is treated as a "double" by default because the "double" data type in programming languages represents a larger range and higher precision compared to other data types like "float" or "long". The "double" data type uses 64 bits to store the value, allowing for a wider range of values and more decimal places of precision. Therefore, when a real number is not explicitly defined as a specific data type, it is assumed to be a "double" by default.

Rate this question:

• 21.

### What is the size of RAM in Atmega328p IC?

• A.

256Bytes

• B.

512Bytes

• C.

1KBytes

• D.

2KBytes

D. 2KBytes
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 during program execution. The larger the RAM size, the more data can be stored and accessed quickly by the processor. In this case, the Atmega328p IC has a 2KBytes RAM size, which allows for efficient data handling and processing within the microcontroller.

Rate this question:

• 22.

### Which of the following is not a valid data type in Arduino?

• A.

Void

• B.

Short

• C.

Word

• D.

String

B. Short
Explanation
The data type "Short" is not a valid data type in Arduino. Arduino supports various data types such as "Void" (used for functions that do not return a value), "Word" (unsigned 16-bit integer), and "String" (a sequence of characters). However, "Short" is not a recognized data type in Arduino.

Rate this question:

• 23.

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

• A.

255

• B.

1024

• C.

4096

• D.

65535

A. 255
Explanation
The maximum decimal value that can be stored in a character type variable in Arduino is 255. This is because a character type variable in Arduino uses 8 bits of memory, allowing it to store values ranging from 0 to 255.

Rate this question:

• 24.

### If the reference voltage is 5V for ADC in Arduino then the step size is

• A.

4.88mV

• B.

0.97mV

• C.

5mV

• D.

3.22mV

A. 4.88mV
Explanation
The step size of an ADC (Analog-to-Digital Converter) determines the smallest increment in voltage that can be detected and converted to a digital value. In this case, if the reference voltage for the ADC in Arduino is 5V, the step size would be 4.88mV. This means that the ADC can detect and convert voltage changes as small as 4.88mV into digital values.

Rate this question:

• 25.

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

• A.

10mA

• B.

1mA

• C.

0.01mA

• D.

0.1mA

B. 1mA
Explanation
When a 10K resistor is connected across a 10V supply, the circuit current can be determined 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). By substituting these values into the formula, we get I = 10V / 10,000 ohms = 0.001A, which is equal to 1mA. Therefore, the correct answer is 1mA.

Rate this question:

• 26.

### A Zener diode __________.

• A.

Has a high forward voltage rating.

• B.

Has a sharp breakdown at low reverse voltage.

• C.

Is useful as an amplifier.

• D.

Has a negative resistance.

B. Has a sharp breakdown at low reverse voltage.
Explanation
A Zener diode is a type of diode that is designed to operate in the reverse breakdown region. This means that it has a sharp breakdown at low reverse voltage, allowing it to maintain a constant voltage across its terminals when it is reverse biased. This property makes Zener diodes useful for voltage regulation and protection in circuits. It does not have a high forward voltage rating, is not typically used as an amplifier, and does not exhibit negative resistance.

Rate this question:

• 27.

### What is Arduino?

• A.

Open source prototyping platform based on AVR Microcontrollers.

• B.

Not open source platform.

• C.

Open source platform based on ARM Microcontrollers.

• D.

Open source prototyping platform based on both AVR Microcontrollers and ARM Microcontrollers

A. Open source prototyping platform based on AVR Microcontrollers.
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. It is not a closed source platform, and it is specifically designed for prototyping purposes. It is important to note that Arduino is not based on ARM Microcontrollers, as the correct answer states.

Rate this question:

• 28.

### In Arduino programming every statement ends with __________.

• A.

.

• B.

,

• C.

;

• D.

:

C. ;
Explanation
In Arduino programming, every statement ends with a semicolon (;). This is a common practice in many programming languages, including C and C++, which Arduino is based on. The semicolon serves as a statement terminator, indicating the end of a line of code. It is important to include the semicolon at the end of each statement to ensure that the code is properly executed and to avoid syntax errors.

Rate this question:

• 29.

### PWM output varies from ________.

• A.

0 to 255

• B.

0 to 100

• C.

0 to 1023

• D.

0 to 256

A. 0 to 255
Explanation
PWM output varies from 0 to 255. This is because PWM (Pulse Width Modulation) is a technique used to control the average voltage or current by varying the duty cycle of a square wave signal. In this case, the range of the duty cycle is from 0% to 100%, and since the value is represented by an 8-bit binary number, the range becomes 0 to 255.

Rate this question:

• 30.

### Which loop executes the instructions in loop atleast once?

• A.

While loop

• B.

Do while loop

• C.

For loop

• D.

If loop

B. Do while loop
Explanation
The do-while loop is the only loop that guarantees the execution of its instructions at least once. This is because the condition is checked at the end of the loop, so even if the condition is initially false, the instructions will still be executed once before the condition is evaluated. 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 will not be executed at all. The if loop is not a loop, but a conditional statement used for decision-making.

Rate this question:

• 31.

### How many PWM pins are there on Arduino Uno Board?

• A.

3

• B.

4

• C.

6

• D.

8

C. 6
Explanation
The Arduino Uno Board has a total of 6 PWM (Pulse Width Modulation) pins. PWM pins are used to generate analog output signals by varying the width of the pulse. These pins are labeled as 3, 5, 6, 9, 10, and 11 on the Arduino Uno Board.

Rate this question:

• 32.

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

• A.

Ptr is array of pointers to 10 integers

• B.

Ptr is a pointer to an array of 10 integers

• C.

Ptr is an array of 10 integers

• D.

Ptr is an pointer to array

B. Ptr is a pointer to an array of 10 integers
Explanation
The declaration "int (*ptr)[10];" means that ptr is a pointer to an array of 10 integers. The parentheses around *ptr indicate that ptr is a pointer, and the [10] indicates that it is a pointer to an array of size 10.

Rate this question:

• 33.

### Transistor is a ________.

• A.

Current controlled current device

• B.

Current controlled voltage device

• C.

Voltage controlled current device

• D.

Voltage Controlled voltage device

A. Current controlled current device
Explanation
A transistor is a current controlled current device because it uses a small current to control a larger current flowing through it. The input current controls the output current, allowing for amplification and switching functions.

Rate this question:

• 34.

### Arduino IDE is derived from _________.

• A.

Wiring & Python

• B.

Wiring & Processing

• C.

Wiring & Java

• D.

Wiring & PHP

B. Wiring & Processing
Explanation
The correct answer is Wiring & Processing. Arduino IDE is derived from the Wiring programming language and the Processing development environment. Wiring is a programming language and framework specifically designed for microcontrollers, while Processing is a programming language and integrated development environment (IDE) primarily used for visual arts and design. The combination of these two technologies forms the foundation of the Arduino IDE, providing a user-friendly platform for programming and interacting with Arduino boards.

Rate this question:

• 35.

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

• A.

2

• B.

7

• C.

9

• D.

12

C. 9
Explanation
Pin 9 can be used to adjust the voltage between 0V and 5V when configured as an OUTPUT. This is because pin 9 on many microcontrollers, such as the Arduino, is a Pulse Width Modulation (PWM) pin. PWM allows for the generation of analog signals by rapidly switching the pin on and off at different duty cycles. By varying the duty cycle, the average voltage output can be adjusted between 0V and 5V, thus allowing for voltage adjustment within that range.

Rate this question:

• 36.

### In which file extension Arduino sketches are saved?

• A.

.ino

• B.

.ard

• C.

.cpp

• D.

.hex

A. .ino
Explanation
Arduino sketches are saved with the .ino file extension. This extension is used to identify and differentiate Arduino sketch files from other types of files. It is a common convention followed by Arduino IDE (Integrated Development Environment) to save sketches with the .ino extension. This allows the IDE to recognize and open the file as an Arduino sketch, making it easier for developers to work with and upload their code to Arduino boards.

Rate this question:

• 37.

### Which of the following operator has the highest precedence?

• A.

• B.

Logical AND (&&)

• C.

Assignment operator (=)

• D.

Increment/ decrement (++,- -)

D. Increment/ decrement (++,- -)
Explanation
The increment and decrement operators (++ and - -) have the highest precedence among the given operators. This means that they are evaluated first before any other operators in an expression. These operators are used to increase or decrease the value of a variable by 1.

Rate this question:

• 38.

### Identify the correct variable declaration.

• A.

Int my Variable;

• B.

Int my_Variable;

• C.

Int my#Variable;

• D.

Int 9myVariable;

B. Int my_Variable;
Explanation
The correct variable declaration is "Int my_Variable;". In programming, variables are typically declared using a combination of letters, numbers, and underscores, but they cannot start with a number or contain special characters like hashtags. Therefore, options 1, 3, and 4 are incorrect. Option 2, "Int my_Variable;", follows the correct naming convention and is a valid variable declaration.

Rate this question:

• 39.

### A resistor with Color bands: red -red- red gold has the value

• A.

22k with 5% tolerance

• B.

2k2 with 5% tolerance

• C.

220R with 5% tolernce

• D.

22R with 5% tolerance

B. 2k2 with 5% tolerance
Explanation
The resistor with color bands red-red-red-gold has the value of 2k2 with 5% tolerance. The color bands on a resistor indicate its resistance value and tolerance. In this case, the red-red-red bands represent the digits 2, 2, and a multiplier of 100 (red = 2, red = 2, red = 100). Therefore, the value of the resistor is 2,200 ohms or 2k2. The gold band indicates a tolerance of 5%, meaning that the actual resistance can vary by 5% from the stated value of 2k2.

Rate this question:

• 40.

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

• A.

The element will be set to 0.

• B.

The compiler would report an error

• C.

The program may crash if some important data gets overwritten.

• D.

The array size would appropriately grow.

C. The program may crash if some important data gets overwritten.
Explanation
If a value is assigned to an array element whose subscript exceeds the size of the array, it means that the program is accessing memory outside the bounds of the array. This can lead to overwriting important data that is stored in adjacent memory locations. As a result, the program may crash or produce unexpected behavior.

Rate this question:

• 41.

### Which of these is a digital input device?

• A.

Pressure sensor

• B.

Servo

• C.

Button

• D.

Potentiometer

C. Button
Explanation
A button is a digital input device because it can only have two states: pressed or not pressed. It sends a digital signal to a device or computer when it is pressed, indicating a specific action or command. Unlike analog input devices, such as a potentiometer or pressure sensor, which can have a range of values, a button provides a discrete input that is either on or off.

Rate this question:

• 42.

### Arduino (Atmega) pins can source / sink current up to

• A.

30mA

• B.

40mA

• C.

25mA

• D.

52.5mA

B. 40mA
Explanation
Arduino (Atmega) pins can source/sink current up to 40mA. This means that the pins can provide or draw a maximum current of 40mA. It is important to note this limit as exceeding it can damage the Arduino board or the connected components. Therefore, it is necessary to ensure that the current flowing through the pins does not exceed this value to prevent any potential damage.

Rate this question:

• 43.

### What is the frequency of the crystal used in Arduino Uno Board?

• A.

16 KHz

• B.

16 MHz

• C.

16 GHz

• D.

12 MHz

B. 16 MHz
Explanation
The correct answer is 16 MHz. The frequency of the crystal used in the Arduino Uno Board is 16 MHz. This crystal is responsible for providing the timing reference for the microcontroller on the board. It helps in accurately executing instructions and maintaining the correct timing for various operations.

Rate this question:

• 44.

### Conventional flow assumes charges flow from

• A.

Positive to Negative

• B.

Negative to Positive

• C.

Negative to Negative

• D.

Positive to Positive

A. Positive to Negative
Explanation
Conventional flow assumes that charges flow from the positive terminal of a source to the negative terminal. This is based on the historical understanding of electricity, where the direction of current flow was initially thought to be from positive to negative. While we now know that electrons actually flow in the opposite direction, conventional flow is still used as a standard convention in electrical engineering and circuit analysis.

Rate this question:

• 45.

### In Arduino UNO which pin has inbuilt on board LED associated with it?

• A.

1

• B.

13

• C.

12

• D.

11

B. 13
Explanation
Pin 13 in Arduino UNO has an inbuilt on board LED associated with it. This means that when you write a HIGH value to pin 13, the LED will turn on, and when you write a LOW value to pin 13, the LED will turn off. This pin is commonly used for testing and debugging purposes, as it provides a quick and easy way to check if the Arduino board is functioning correctly.

Rate this question:

• 46.

### Identify the SPI pins in Arduino.

• A.

7,8 & 9

• B.

8,9 & 10

• C.

10,11 & 12

• D.

11,12 & 13

D. 11,12 & 13
Explanation
The SPI (Serial Peripheral Interface) pins in Arduino are used for communication with other devices. The correct answer is 11, 12, and 13 because these pins (MOSI, MISO, and SCK) are specifically designated for SPI communication. MOSI (Master Out Slave In) is used for data transmission from the Arduino to the peripheral device, MISO (Master In Slave Out) is used for data transmission from the peripheral device to the Arduino, and SCK (Serial Clock) is used for synchronizing the data transfer between the Arduino and the peripheral device.

Rate this question:

• 47.

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

• A.

3.3V

• B.

4.7V

• C.

5V

• D.

10V

C. 5V
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 on a 5V logic level, meaning it can only interpret voltages below or equal to 5V as HIGH or logic 1. Any voltage above 5V may damage the digital pin, so it is important to ensure that the input voltage does not exceed this limit.

Rate this question:

• 48.

### What is the short cut key for verify button in Arduino IDE?

• A.

Ctrl + R

• B.

Ctrl + V

• C.

Ctrl + U

• D.

Ctrl + Y

A. Ctrl + R
Explanation
The shortcut key for the verify button in Arduino IDE is Ctrl + R. This combination allows users to quickly verify their code without having to manually click on the verify button. This shortcut saves time and makes the coding process more efficient.

Rate this question:

• 49.

### Which memory space is used to store the program (sketch) in Arduino?

• A.

EEPROM

• B.

Flash

• C.

SRAM

• D.

EPROM

B. Flash
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 for storing firmware or software in electronic devices. In the case of Arduino, the sketch is compiled and uploaded to the Arduino board's Flash memory, where it remains even after power is removed. This allows the program to be executed each time the Arduino is powered on or reset.

Rate this question:

• 50.

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

• A.

1&2

• B.

0&1

• C.

3&4

• D.

9&10

B. 0&1
Explanation
Pins 0 and 1 can be used as RX (receive) and TX (transmit) pins for serial communication in Arduino UNO. These pins are connected to the built-in USB-to-serial converter of the Arduino board, allowing communication with other devices or computers.

Rate this question:

Quiz Review Timeline +

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

• Current Version
• Mar 20, 2023
Quiz Edited by
ProProfs Editorial Team
• May 23, 2017
Quiz Created by
Kguptha

Related Topics