Internet of Things Questions and Answers Part-16

1. Does the level shifter converts the voltage levels between RS-232 and transistor-transistor logic.
a) True
b) False

Answer: a
Explanation: Level shifters are used in multi-design, different blocks work on different voltage levels. So when a signal passes from one voltage domain to another voltage this is needed particularly when a signal passes from low level to high level.

2. Which is the software or a programming language used for controlling of Arduino?
a) Assembly Language
b) C Languages
c) JAVA
d) Any Language

Answer: d
Explanation: A program for Arduino can be written in any programming language for a compiler that produces binary machine code for the target processor.

3. Do Arduino provides IDE Environment?
a) True
b) False

Answer: a
Explanation: It includes a code editor with features as texti cutting and pasting, searching and replacing text, automatic indenting, brace matching, syntax highlighting, and provides simple one-click mechanism to compile and uplaod programs to an Arduino board.

4. A program written with the IDE for Arduino is called _________
a) IDE source
b) Sketch
c) Cryptography
d) Source code

Answer: b
Explanation: Sketches are saved on the development computer as text files with the file extension .ino. Arduino software (IDE) pre-1.0 saved sketches with the extension file .pde.

5. Arduino IDE consists of 2 functions. What are they?
a) Build() and loop()
b) Setup() and build()
c) Setup() and loop()
d) Loop() and build() and setup()

Answer: c
Explanation: Setup() is called once in the program when a sketch starts after power-up. It is used to initialixe variables, input and output pin modes, and other libraries needed in the sketch.
Loop() is used after setup() been called, function loop() is executed repeatedly in the main program. It controls the board until the board is powered off or is reset.

6. How many digital pins are there on the UNO board?
a) 14
b) 12
c) 16
d) 20

Answer: a
Explanation: It has 14 digital pins input/output pins (6 of which can be used as PWM output)

7. _________ board allows sewn into clothing.
a) UNO
b) RedBoard
c) LilyPad
d) Mega

Answer: c
Explanation: LilyPad was creatively designed with large connecting pads and a flat back to allow them to be sewn into clothing with conductive thread.

8. How many analog pins are used in Arduino Mega board?
a) 16
b) 14
c) 12
d) 8

Answer: a
Explanation: It has lots of digital input/output pins, 14 can be used as PWM output 16 analog inputs, a USB connection, a power jack, and a reset button.

9. Which board is first to use microcontroller within build USB?
a) LilyPad
b) UNO
c) RedBoard
d) Leonardo

Answer: d
Explanation: The Leonard is Arduino’s first development board to use one microcontroller with built-in USB. This means that it can be cheaper and simple, And also, code libraries are available which allow the board to emulate a computer keyboard etc.

10. ___________ are pre built circuit boards that fit on top of Android.
a) Sensor
b) Data types
c) Breadboard
d) Sheilds

Answer: d
Explanation: Shields are pre- built circuit boards that fit on top of board and provide additional capabilities like controlling motors, connecting to internet, providing cellular etc.