IOT and applications (3160716) MCQs

MCQs of Sensors, Microcontrollers, and their Interfacing

Showing 21 to 30 out of 43 Questions
21.

The output of following code will be:
void setup()

   Serial.begin(9600);
   Serial.print("Hi");
}
Void loop()
{
}

(a)

Printing "Hi" continuously on serial monitor with new line

(b)

Printing "Hi" continuously on serial monitor without new line

(c)

Printing "Hi" single time on serial monitor 

(d)

Printing "Hi" single time on serial monitor and new line

Answer:

Option (c)

22.

Arduino Uno has _______ size of program memory.

(a)

8KB

(b)

16KB

(c)

32KB

(d)

64KB

Answer:

Option (c)

23.

Arduino Uno has _______ size of EEPROM memory.

(a)

1KB

(b)

2KB

(c)

8KB

(d)

32KB

Answer:

Option (a)

24.

All the operations are suspended and the program will start from void setup( ). Which event has occured in Arduino?

(a)

Interrupt

(b)

Reset

(c)

Hold

(d)

Sleep

Answer:

Option (b)

25.

MQ-05 sensor is not sensitive to

(a)

LPG

(b)

H2

(c)

CH4

(d)

Smoke

Answer:

Option (d)

26.

The range of obstacle sensor can be changed by setting ___________

(a)

LED brigtness

(b)

output pin connection with other digital pin

(c)

value of resistance in potentiometer

(d)

None of these

Answer:

Option (c)

27.

How many digitla pins are required to interface HC - SR04 sensor?

(a)

1

(b)

2

(c)

3

(d)

4

Answer:

Option (b)

28.

Which of the insruction calculates the time of transition from LOW to HIGH on digital pin 4?

(a)

pulseIn(4, HIGH);

(b)

pulseIn(4, LOW);

(c)

digitalRead(4);

(d)

digitalRead(4,LOW);

Answer:

Option (a)

29.

If output scaling frequeny is set at 20%, the colour sensor works in __________ frequency.

(a)

1 to 2 KHz

(b)

10 to 20 KHz

(c)

100 to 120 KHz

(d)

500 to 600 KHz

Answer:

Option (c)

30.

Gyro sensor works in _______ protocol of communication.

(a)

SPI

(b)

I2C

(c)

UART

(d)

TCP

Answer:

Option (b)

Showing 21 to 30 out of 43 Questions