WorksheetsIntroduction to Arduino ( Part -II )
Total questions: 15
Worksheet time: 15mins
You can write a digital output to a specific pin on the Arduino board with the help of:
digitalRead( ledPin, HIGH);
analogWrite( ledPin, HIGH) ;
digitalWrite( ledPin, LOW) ;
analogRead( ledPin, LOW) ;
What is the difference between Serial.print() and Serial.println() in Arduino programming?
"Serial.print" prints two line
"Serial.println()" adds a new line
"Serial.print" prints the output in multiple lines
"Serial.println()" don't add a new line
What will be the output of the above code ?
LED connected at pin 13 will blink with delay of 0.5 sec
LED connected at pin 13 will blink with delay of 1 sec
LED connected at pin 13 will remain in OFF state always
LED connected at pin 13 will remain in ON state always
What will be output of the given Arduino program?
LED will blink once in every 1 sec
LED will blink once in every 0.5 sec
LED will blink twice in every 1 sec
LED will blink only one time then remain OFF
What will be output of the given Arduino program?
LED will blink with increasing delay of 0.01 sec
LED will blink with decreasing delay of 1 sec
LED will blink with increasing delay of 0.1 sec
LED will blink with delay of 3 sec
What is the value of “val” in the following program if the pin 12 is given 5V 3 times?
NULL
3
2
1
What will the output for the code given , if executed on an Arduino UNO?
1
2
3
8
What will be the output of the following code given ?
8
12
NULL
20
A current ratio of IC/IE is usually less than one and is called:
omega
beta
theta
alpha
Given that Ic = 2 mA and VCE= 10 V, determine R1 for the network of the fig.
85.23kΩ
86.52kΩ
75.62kΩ
80.62kΩ
Which Arduino function is used to read the state (HIGH or LOW) of a digital input pin?
arduinoRead()
digitalRead()
pinRead()
analogWrite()
What is the correct execution process of an Arduino code?
Editor->Preprocessor->Compiler
Preprocessor->Editor->Compiler
Compiler->Preprocessor->Editor
Editor->Compiler->Preprocessor
Is the Arduino code an Object-Oriented programming language or a Procedural programming language?
The Arduino Code follows the Top-Down Procedural ideology
The Arduino Code follows a custom Procedural Ideology
The Arduino Code follows the Bottom-Up Procedural ideology
The Arduino Code follows the Object-Oriented ideology
What is the difference between an IDE and a compiler?
The compiler executes the code while the IDE gives a graphical environment for writing the code
The compiler links the code to the respective files and the IDE takes it from there
The compiler and the IDE are the same thing
The IDE executes the code while the compiler gives a graphical environment for writing the code
Arduino Codes are referred to as ________ in the Arduino IDE.
drawings
sketches
links
connection
