Edit Game
ELC805: Arduino beginner codding
 Delete

Use commas to add multiple tags

 Private  Unlisted  Public



 Save

Delimiter between question and answer:

Tips:

  • No column headers.
  • Each line maps to a question.
  • If the delimiter is used in a question, the question should be surrounded by double quotes: "My, question","My, answer"
  • The first answer in the multiple choice question must be the correct answer.






 Save   21  Close
To Turn OFF all PORTD
 
PORTD = B00000000;
 
DDRD = B11111111;
 
PORTD = B01010101;
 
DDRD = B00000000;
To Turn ON all PORTD
 
PORTD = B11111111;
 
DDRD = B11111111;
 
PORTD = B01010101;
 
DDRD = B00000000;
To set PORT D as input
 
DDRD = B00000000;
 
DDRD = B11111111;
 
PORTD = B11111111;
 
PORTD = B01010101;
To set PORT D as output
 
DDRD = B11111111;
 
DDRD = B00000000;
 
PORTD = B11111111;
 
PORTD = B01010101;
The component labeled #3 is the
 
PORT B
 
PORT D
 
PORT C
 
PORT A
The component labeled #2 is the
 
PORT D
 
PORT B
 
PORT C
 
PORT A
The component labeled #1 is the
 
PORT C
 
PORT B
 
PORT D
 
PORT A
A sketch representation that specifies a 5V signal to an Arduino pin is
 
HIGH
 
LOW
 
Pin
 
Sketch
A sketch representation that specifies a 0V signal to an Arduino pin is
 
LOW
 
Pin
 
HIGH
 
Sketch
What is the correct word that matches correctly with the comment void ______(){ //put your setup code here to run once }
 
setup
 
loop
 
digitalWrite
 
INPUT
What is the correct word that matches correctly with the comments void _____(){ // put your main code here to run repeatedly }
 
loop
 
setup
 
digitalWrite
 
INPUT
What is the correct word that matches correctly with the comment pinMode(13________) //declare LED as outputs ?
 
OUTPUT
 
INPUT
 
HIGH
 
LOW
What is the correct word that matches correctly with the comment pinMode(2________) //declare Switch as inputs ?
 
INPUT
 
HIGH
 
LOW
 
OUTPUT
What is the correct instruction that matches correctly with the comment _________________ // sets pin 3 as INPUTpin ?
 
pinMode(3 INPUT)
 
pinMode(3 OUTPUT)
 
digitalWrite(3 LOW)
 
digitalWrite(3 HIGH)
What is the correct instruction that matches correctly with the comment _________________ // sets pin 3 as output pin ?
 
pinMode(3 OUTPUT)
 
pinMode(3 INPUT)
 
digitalWrite(3 LOW)
 
digitalWrite(3 HIGH)
What is the correct word that matches correctly with the comment digitalWrite(13_____) //turn LED ON?
 
HIGH
 
LOW
 
OUTPUT
 
INPUT
What is the correct word that matches correctly with the comment digitalWrite(13_____) //turn LED OFF ?
 
LOW
 
HIGH
 
OUTPUT
 
INPUT
What is the correct instruction that can satisfy with the comments _______________(3 HIGH) //turn LED ON ?
 
digitalWrite
 
pinMode
 
analogRead
 
INPUT
What is the correct instruction that matches correctly with the comment ____________________ // Makes the output voltage ( 5, 0V) ?
 
digitalWrite(2 LOW)
 
digitalWrite(2 HIGH)
 
pinMode(2 INPUT)
 
pinMode(2 OUTPUT)
What is the correct instruction that matches correctly with the comment ____________________ // Makes the output voltage ( 3 5V) ?
 
digitalWrite(3 HIGH)
 
digitalWrite(3 LOW)
 
pinMode(3 INPUT)
 
pinMode(3 OUTPUT)
To make a delay of (1.5 Sec) use
 
delay(1500)
 
delay(1.5)
 
delay(15)
 
delay(150)