Serial.begin()
Serial.start()
Serial.init()
Serial.open()
What is the output of the following program?
for(;;)
{
Statements
}
Error
Statements will run forever
This an infinite loop
Both (B) and (C)
execute()
begin()
loop()
run()
2003
2004
2005
2006
Analog
Digital
Power
None of these
What is the out come of the following Arduino code?
void setup(){
Serial.begin(9600);
void setup0{
Serial.write(20);
Send a signal to pin 20 on the Arduino board
Send a octal number of 20 through the Serial pins
Send a byte with value 20 through the Serial pins
Send a hexadecimal number of 20 through the Serial pins
5-10 Sec
5-10 MS
10-15 MS
10-20 MS
Use lcd.setCursor(0, 0) and lcd.print("Text").
Use lcd.begin(0, 0) and lcd.display("Text").
Use lcd.print(0, "Text")
Use lcd.text("Text", 0)
7 Microseconds
4 Microseconds
6 Microseconds
2 Microseconds
Picopower
Preprocessing
Precise
Popular
2
3
5
6
Power source
Regulator
Inverter
None of the above
12
13
14
16
Microprocessor
Timer
Oscillator
Microcontroller
Analog sensor
Digital sensor
Light sensor
Dust sensor
&&
||
!
|
What will be the output of the following Arduino code?
#define X 10;void setup(){ X=0; Serial.begin(9600); Serial.print(X);}void loop(){ //Do nothing…}
0xAB
0xa
0
Open source programmable circuit board.
proprietary programmable circuit board.
Open source non-programmable circuit board.
None of the Above.
Students, tutors
Other sources, tutors
Tutors, fellow learners
Runs continuously in a loop
Initializes variables and sets up configurations
Executes only when an error occurs
Used to include libraries
VHDL programming
IDE
ICSP
इनमें से कोई नहीं
9
10
List
Structure
Array
Union
Voltage
Frequency
Time Duration
Distence
Digitalwrite()
Digitalread()
digitalWrite()
digitalRead()
0-255
0-511
0-1023
0-4095
2-bit
3-bit
8-bit
6-bit
Programming language
Image editing software
Open-source electronics platform
Text editor
Icd.getcursor(0,0);
Icd.setcursor(0,0);
Icd.getcursor(0,1);
Icd.setcursor(0,1);
Compile code
Display serial communication data
Burn bootloader
Debug hardware only
50-60
None
0–255
0–1023
0–4095
0–65535
analog pin
digital pin
any one
Tell compiler where to find symbols that are not present in program
Give compiler instructions to compile the program
Define variables
Define functions
#
$
^
%
Pin No. 3
Pin No. 2
Pin No. 5
Pin No. 4
General-Purpose Input/Output
General-Purpose Inner/Outer
Both (A) & (B)
Transmits
Receivers
Ground
Restarts
Divide
Uno
Thrive
for(;;) {Statements}
Statemernts will run forever
MQ-135 gas sensor
PIR sensor
DHT22
BMP280
Arduino Due
Arduino Diecimila
Arduino BT
10mA
20mA
40mA
100mA
1
4
Serial
Serial.type
Serial.println
Serial.printing
A0
GND
RST
Vin
Amplifier
Actuator
Bootloader
None of these above
It initializes the LCD with the number of columns and rows.
It prints a message to the LCD.
It clears the LCD display.
It changes the LCD backlight.
Pulse Code Modulated Signal
Frequency Modulated Signal
Pulse Width Modulated Signal
Pulse Amplitude Modulated Signal
Ctrl + C
Ctrl + R
Ctrl + U
Ctrl + V