placeholder image to represent content

Arduino Pcb3

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
38 questions
Show answers
  • Q1
    What is the result of the following operation: int X = B11110011; X = X<<3;
    X = (00111100)2
    X = (10011000)2
    X= (00011110)2
    X = (11111100)2
    120s
  • Q2
    What is the result of the following operation: int X = B11110011; X = X>>2;
    X = (10011000)2
    X= (00011110)2
    X = (11111100)2
    X = (00111100)2
    120s
  • Q3
    What is the function of VSS?
    Connected to +5V power.
    Connected to Crystal Oscillator to get clock signal.
    Used to reset the PIC.
    Connected to 0V.
    120s
  • Q4
    What is the function of VDD?
    Connected to +5V power.
    Connected to Crystal Oscillator to get clock signal.
    Connected to 0V.
    Used to reset the PIC.
    120s
  • Q5
    What is the result of the following operation: int X = 23; X = X % 5;
    X=5
    X=4
    X=3
    X = 4.6
    120s
  • Q6
    Which is of the following a suitable application of an Arduino PWM signal?
    Controlling the speed of a LED.
    Sending radio frequency.
    Controlling the intensity of a LDR.
    Controlling the speed of a motor.
    120s
  • Q7
    What is the purpose of using Input / outputs ports in Arduino?
    To transfer data between i/o transducers and program memory.
    To transfer data between i/o transducers and ALU.
    To transfer data between program memory and ALU.
    To transfer data between i/o transducers and register memory.
    120s
  • Q8
    Find the equivalent voltage of a PWM signal which has a duty cycle of 90%.
    4.5V
    5 V
    0.45 V
    5.4 V
    120s
  • Q9
    Find the value of duty in analogWrite(9, duty) of a PWM signal when duty cycle of 90% is required.
    109
    129
    255
    229
    120s
  • Q10
    The operating program will be stored in Arduino in
    program bus
    Flash Memory
    RAM
    ALU
    120s
  • Q11
    What is the right instruction that will make pins in port D 1, 2, 3, 6 and 7 low and other pins high?
    PORTD = B01100111;
    PORTD = B11001110;
    PORTD = B01110010;
    PORTD = B00110001;
    120s
  • Q12
    What will happen when you run the following codes: void setup(){ DDRD = 0xFF; } void loop(){ int i=0; while(i<10){ PORTD = 0xFF; delay(1000); PORTD = 0x00; delay(1000); } // exit (0); }
    All pins in port D will go ON and OFF for 11 times.
    All pins in port D will go ON and OFF for infinity.
    All pins in port D will go ON and OFF 10 times.
    The while loop will not start.
    120s
  • Q13
    What is the final value of the variable num after running the following codes? void loop(){ int num = 0; for(i = 0 ; i <=10 ; i++){ if(i<4) num = num * 2; else ; } }
    0
    16
    12
    8
    120s
  • Q14
    What will happen when SW1 is pressed and released? int SW1 = 13; void setup (){ pinMode(SW1, INPUT); } void loop(){ while(digitalRead(SW1) == HIGH){ PORTB = 0x15; delay (1000); } }
    Pin 4, 5, 6 and 7 in port B go high than low while other pins stay low.
    Pin 0, 1, 2 and 3 in port B go high than low while other pins stay low.
    Pin 0, 2 and 4 in port B stay high while other pins stay low.
    Pin 4, 5, 6 and 7 in port B stay high while other pins stay low.
    120s
  • Q15
    Figure (1) shows L293D motor driver that is connected to port D in microcontroller. What is the appropriate output that should be sent to port D in order to the two motors move opposite each other?
    Question Image
    PORTD = B00000101;
    PORTD = B00000110;
    PORTD = B00001100;
    PORTD = B00001010;
    120s

Teachers give this quiz to your class