WorksheetsC programming and Arduino Basics
Total questions: 15
Worksheet time: 6mins
What is written in the Definition Section of a C code
Which is the format specifier for unsigned long int
%ld
%ul
%lu
%d
What is the precision of Double (after decimal point)
19
6
15
12
Standard c library files are added during which step of the compilation process
Linker
Compiler
Assembler
What is the extension of an executable file
(a)
Which is the microcontroller present in Arduino
ATMEGA328
ATMEGA238
ATMEGA326
ATMEGA236
How many PWM pins does Arduino have
5
8
6
7
What is the data memory in Arduino
FLASH
DRAM
EEPROM
SRAM
How many bits are required to transmit 8 bit data to a slave of 8 bit address using I2C protocol
18
19
20
21
Which protocol does USB use
IC2
SPI
URAT
Which is the software or a programming language used for controlling of Arduino?
C sharp
C
Assembly language
Any Language
Arduino IDE consists of 2 functions. What are they?
Build() and loop()
Setup() and build()
Setup() and loop()
Loop() and build() and setup()
A program written with the IDE for Arduino is called ___
IDE source
Sketch
Cryptography
Source code
Which function runs a set of codes only once?
void main()
void setup()
void loop()
void set()
How many arguments does the digitalRead() function have?
1
2
3
4
