wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Arduino

Total questions: 25

Worksheet time: 14mins

Name
Class
Date
1.

The Harvard architecture refers to the fact that the CPU has a ______and a separate _____

a)

PROM

b)

ROM

c)

Data memory

d)

Program memory

2.

The AVR Microcontroller has ____ I/O registers of ____ bits each.

a)

32

b)

64

c)

8

d)

10

3.

Most instructions operate in 1 clock cycle, and this leads to an almost _____ performance improvement over conventional processors

a)

50-times

b)

30-times

c)

20-times

d)

10-times

4.

The _____must be initialized after reset and before the stack can be used

a)

counter

b)

code

c)

memory

d)

stack pointer

5.

During interrupts and subroutine calls, the current program counter value is stored on the stack.

a)

True

b)

False

6.

With the help of the bit instructions SBI and CBI, any bit in any of the registers ($00 to $1F) can be set on reset

a)

False

b)

True

7.

UART receiver section. The receiver front-end logic samples the signal on the RXD pin at a frequency 15 times the baud rate

a)

FALSE

b)

TRUE

8.

During interrupts and subroutine calls, the current program counter value is stored on the stack

a)

True

b)

False

9.

The function pinMode sets a particular pin to be either an

a)

neither

b)

input

c)

output

d)

void

10.

___ is the unit of code that is uploaded and to ____on an Arduino board

a)

compiler

b)

Sketch

c)

run

d)

IDE

11.

Pins configured as OUTPUT with

a)

PinMode()

b)

Pinmode()

c)

pinmode()

d)

pinMode()

12.

analogReference(type)- type − can use any type of the following

a)

anything

b)

external

c)

Internal

d)

DEFAULT

13.

The command which is used to display the characters in the serial monitor is

a)

Serial

b)

Serial.type

c)

Serial.printing

d)

Serial.println

14.

The line void setup() means that you are defining a function called setup

a)

True

b)

False

15.

The Arduino system itself cannot call setup and loop

a)

True

b)

False

16.

count = count +1 ------> count ++

a)

True

b)

False

17.

do nothing for the amount of milliseconds

a)

Dealy()

b)

dealy()

c)

mills()

d)

sec()

18.

Rearrange the coding order

Serial.println(a+b);

int a = 5,b=8,c;

void setup()

Serial.begin(9600);

a)

1234

b)

2341

c)

3241

d)

4123

19.

Rearrange the statement order

setup and set pin 13 to be an output.

loop and set pin 13 to high

Delay for half a second.

Set pin 13 to low & Run loop again

a)

4321

b)

3421

c)

1243

d)

1234

20.

If you do not want to change the values during running of a sketch, the programmer would go for #define

a)

True

b)

False

21.

Delay basically makes the microcontroller sit there and do nothing for the amount of milliseconds that you pass as an argument.

a)

True

b)

False

22.

The Arduino Math library does not include a number of useful mathematical functions for manipulating floating-point numbers

a)

False

b)

True

23.

#include <Ethernet.h> invokes Ethernet operation

a)

True

b)

False

24.

The followings Header files are assigned correctly

Sin Math.h

Cursor Lcd.h

Baud Serial.h

Temperature sensor DHT.h

a)

Yes

b)

no

25.

All matches are correct or not

Internal2V56 analogReference()

Input Output PinMode()

High Low digitalWrite()

9600 Serial.begin()

a)

yes

b)

no