0% found this document useful (0 votes)
6 views

Csi 012 Micro-controller Programming Using Arduino 2023-24 (Even Term)_copy

This document outlines the structure and content of an end-semester examination for a B. Tech course on Micro-Controller Programming using Arduino. It includes various learning objectives related to Arduino programming, decision-making statements, and embedded application design. The exam consists of multiple sections with compulsory questions that assess students' understanding and practical skills in Arduino programming.

Uploaded by

lobir32214
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

Csi 012 Micro-controller Programming Using Arduino 2023-24 (Even Term)_copy

This document outlines the structure and content of an end-semester examination for a B. Tech course on Micro-Controller Programming using Arduino. It includes various learning objectives related to Arduino programming, decision-making statements, and embedded application design. The exam consists of multiple sections with compulsory questions that assess students' understanding and practical skills in Arduino programming.

Uploaded by

lobir32214
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Printed Pages : 2

Paper ID: 17573 Roll No..............................

END-SEMESTER EXAMINATION, 2023-24


B. Tech (SEMESTER : 04)
CSI 012 MICRO-CONTROLLER PROGRAMMING USING ARDUINO
Time : 02 Hrs. Max. Marks: 100
Note: 1. All questions are compulsory.
2. Assume missing data suitably, if any.
CO1 Define Arduino Programming Language And IDE
CO2 Illustrate The Syntax And Structure Of Arduino Programming For IoT Applications
CO3 Explain Various Decision Making Statements And Use With Digital I/O Functions Available
CO4 Identify Functions To Read, Interpret, And Output Analog Signals
CO5 Determine The Working Of Advance Functions And Interrupts With The Arduino’s Hardware Interrupt
Pins
CO6 Design Embedded Applications Using Arduino Platform
COS Marks BTL

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

All Questions are Compulsory: (3×8=24


Marks)
6. (a) Build a sketch that reads sensor data and uses comparison and logical CO3 8 K3
operators to determine specific actions.
--- OR ---
(b) Construct a sketch that uses a while loop to continuously read sensor
data until a specific condition is met.
7. (a) Examine how a potentiometer can be used to read analog values using CO4 8 K4
analogRead().
--- OR ---
(b) Use the map() function to convert an analog sensor value to a different
range for an LED's brightness.
8. (a) Inspect an arduino sketch that blinks an LED at a specific frequency CO5 8 K4
using millis().

1 12
--- OR ---
(b) Explain the limitations of the random() function and how you could
improve its randomness.

SECTION-C

All Questions are Compulsory: (3×12=36


Marks)
9. (a) Examine the syntax and usage of the for loop in Arduino CO 1 K4/
programming. How can you use the for loop to iterate over a 3 2 K5
sequence of values or perform a specific number of iterations?
--- OR ---
(b) Examine the application of the continue statement in Arduino loops
with complex conditionals. How does the continue statement affect
loop iteration in such scenarios?
10 (a) Compare and contrast PWM and analogWrite() for controlling CO 1 K4/
. motors, considering factors like control precision and efficiency. 4 2 K5
--- OR ---
(b) Examine a sketch that uses serial communication to control an
external device (e.g., servo motor) from a computer program.
11 (a) Examine the function of attachInterrupt() in microcontroller program- CO 1 K4/
. ming. Provide a simple sketch demonstrating its usage. 5 2 K5
--- OR ---
(b) Explain the purpose of timing functions in Arduino programming.
Provide an example of how to use delay() function for timing control.

SECTION-D

Attempt the following Question: (1×15=15 Marks)


12 (a) Design a sketch to demonstrate the implementation of functions CO 1 K5/
. where pin number is used as function parameter. 6 5 K6
--- OR ---
(b) Investigate the use of hardware interrupts in Arduino projects and
design sketch a to implement the hardware interrupt.

*******

2 22

You might also like