1
2
3
4
Laser emitting diode
Light Emitting diode
Lighting error diode
None of the above
PYPI
PIP
OLED matrix
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.
Serial
Serial.type
Serial.println
Serial.printing
Icd.getcursor(0,0);
Icd.setcursor(0,0);
Icd.getcursor(0,1);
Icd.setcursor(0,1);
SPI
USB
I2C
UART (Serial)
#
$
^
%
Application Programming Interface
Address Programming Interface
Accessing peripheral through the interface
Ohm
Farad
Henry
Coulomb
Vero board
FRC connectors
shields
breadboard
Ctrl + C
Ctrl + R
Ctrl + U
Ctrl + V
10mA
20mA
40mA
100mA
// (two adjacent slashes )
/**/
*/ */
None of the Above
Infinite
0
Accounting
Non-repudiation
Sniffing
Authorization
LiquidCrystal.h
LCD16x2.h
Display.h
LCD.h
int sensorPin = 9;
int sensorValue = 9;
pinMode(9, OUTPUT);
digitalWrite(9, HIGH);
2temp
float
temp_2
temp-value
Measure light intensity
Detect motion
Measure temperature and humidity
Monitor air pressure
What is the PRIMARY implication of this code on an Arduino board?
for(;;) { digitalWrite(LED_BUILTIN, HIGH);}
LED blinks continuously
LED turns ON once and program exits
LED remains ON and program never exits the loop
Compilation error
servo.attach()
servo.write()
servo.move()
servo.setPosition()
Prototyping
Casting
Protocasting
Protocal Typing
IoT System
Embedded System
Grid System
Cloud System
What is the output of C program with functions?
int main() { int a = 0; printf("AJAY"); return 1; printf("VIJAY"); return 1;}
AJAY VIJAY
AJAY
VIJAY
Compiler Error
int a = 10;
int c = 3.7;
char d = 'A';
float b = 5.0;
A2
D2
PWM
5V
int array[10];
int array = 10;
array int[10];
[10] int array;
e-textiles and wearables projects
sewn to fabric
AT mega 168V/ATmega328V
All of these
What will be the output of the following code?
int main(){int i=25;int k=i%4;print("%d\n",k);}
A constant value
A named storage location
A function
An operator
Predict the output of the following code if the object is moving towards the sensor.
int op = 6;int isBarrier = HIGH;void setup() {pinMode(op, INPUT);Serial.begin(9600);}void loop(){isBarrier = digitalRead(op);if (isBarrier == LOW) {Serial.print("1+");}else{Serial.print("clear+"); delay(100);}
clear+clear+1+1
1+1+clear+1
1+1+clear+clear
clear+clear+clear+clear
Tell compiler where to find symbols that are not present in program
Give compiler instructions to compile the program
Define variables
Define functions
loop()
setup()
selay()
digitalWrite()
Bluetooth module
Relay module
DHT sensor / DHT
LDR
Programming
Technical issue
Marketing
Simulating
What is the output of the following program?
for(;;)
{
Statements
}
Error
Statements will run forever
This an infinite loop
Both (B) and (C)
while(1)
Both A and B
None
7 Microseconds
4 Microseconds
6 Microseconds
2 Microseconds
Microprocessor
Timer
Oscillator
Microcontroller
Platforms
Elements
Batteries
Components
//
!-
/*
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)
Only one
Two
Three
Any number of values
setup () and loop () function
Only setup () function
Only loop () function
None of these
Only loop()
only setup()
setup() and loop()
can be either loop() or setup()
Compile code
Display serial communication data
Burn bootloader
Debug hardware only
delay()
millisdelay()
blockdelay()
microsdelay()
To reduce motor noise
To amplify sensor signals
To increase torque automatically
To allow bidirectional rotation
What will be the output of the following piece of code?
#include <stdio.h>int main() { int i; for(i=0;i< 8; i++); printf("%d",i); return 0;}
1234567
8
Infinite loop