Csi 012 Micro-controller Programming Using Arduino 2023-24 (Even Term)_copy
Csi 012 Micro-controller Programming Using Arduino 2023-24 (Even Term)_copy
SECTION-A
All Questions are Compulsory: (5×5=25
Marks)
1. What is a sketch in the Arduino environment? CO1 5 K1
2. Briefly explain what comments are and why they are useful in Arduino code. CO2 5 K1
3. Outline a simple sketch that uses a comparison operator to control the CO3 5 K2
behavior of an LED.
4. Illustrate the significance of the "analog in" pins on an Arduino board. CO4 5 K2
5. Identify why should you be cautious when using delay() excessively. CO5 5 K3
SECTION-B
1 12
--- OR ---
(b) Explain the limitations of the random() function and how you could
improve its randomness.
SECTION-C
SECTION-D
*******
2 22