placeholder image to represent content

Arduino Pcb2

Quiz by

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
40 questions
Show answers
  • Q1
    Choose the correct answer for the PORTD=15; in the code list below void setup() { DDRD = B11111111; } void loop() { PORTD=15; delay(1000); }
    PORTD will be 4 HIGH and 4 LOW.
    PORTD will be 5 HIGH and 1 LOW.
    PORTD will be 1 HIGH and 5 LOW.
    PORTD will be 4 outputs and 4 inputs.
    120s
  • Q2
    What is the right instruction that will make pins in PORT D 1, 2, 3, 6 and 7 high and other pins low?
    PORTD = B11001110;
    PORTD = B00110001;
    PORTD = B01110010;
    PORTD = B01100111;
    120s
  • Q3
    What is the correct word that matches correctly with the comment: pinMode(13,________); //declare LED as outputs ?
    INPUT
    OUTPUT
    LOW
    HIGH
    120s
  • Q4
    What is the correct word that matches correctly with the comment: pinMode(2,________); //declare Switch as inputs ?
    LOW
    INPUT
    HIGH
    OUTPUT
    120s
  • Q5
    What is the correct instruction that matches correctly with the comment: _________________ ; // sets pin 3 as input pin ?
    digitalWrite(3, LOW);
    pinMode(3, OUTPUT);
    digitalWrite(3, HIGH);
    pinMode(3, INPUT);
    120s
  • Q6
    What is the correct instruction that matches correctly with the comment: _________________ ; // sets pin 3 as output pin ?
    pinMode(3, INPUT);
    pinMode(3, OUTPUT);
    digitalWrite(3, LOW);
    digitalWrite(3, HIGH);
    120s
  • Q7
    What is the correct word that matches correctly with the comment: digitalWrite(13,_____); //turn LED ON ?
    OUTPUT
    HIGH
    LOW
    INPUT
    120s
  • Q8
    What is the correct word that matches correctly with the comment: digitalWrite(13,_____); //turn LED OFF ?
    INPUT
    HIGH
    LOW
    OUTPUT
    120s
  • Q9
    What is the correct instruction that matches correctly with the comment: ____________________; // Makes the output voltage ( 3, 5V) ?
    digitalWrite(3, LOW);
    pinMode(3, OUTPUT);
    digitalWrite(3, HIGH);
    pinMode(3, INPUT);
    120s
  • Q10
    What is the correct instruction that matches correctly with the comment: __________________; //Makes the output voltage (3, 127) ?
    pinMode(3, 127)
    digitalWrite(3, 127)
    digitalRead(3)
    analogWrite(3, 127)
    120s
  • Q11
    What is the correct instruction that matches correctly with the comment: _________________; //reads the value of pin 2 in PORTD ?
    analogRead(2)
    pinMode(2,OUTPUT)
    digitalWrite(2,INPUT)
    digitalRead(2)
    120s
  • Q12
    What is the correct instruction that matches correctly with the comment: _________________; //reads the value of A0 in PORTC ?
    analogRead(A0)
    digitalRead(A0)
    digitalWrite(A0,HIGH)
    pinMode(A0,OUTPUT)
    120s
  • Q13
    What is the correct comments that matches correctly with the instruction: if(digitalRead(2)==High); //??
    Question Image
    Pushbutton is pressed
    LED not pressed
    Pushbutton not pressed
    LED pressed
    120s
  • Q14
    The component labeled #7 is the
    Question Image
    USB connection
    Power Pins
    Power Jack
    Microcontroller
    120s
  • Q15
    The component labeled #6 is the
    Question Image
    Analog Input
    Digital Input
    Reset Button
    USB connection
    120s

Teachers give this quiz to your class