Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
38 questions
Show answers
- Q1What is the result of the following operation: int X = B11110011; X = X<<3;X = (00111100)2X = (10011000)2X= (00011110)2X = (11111100)2120s
- Q2What is the result of the following operation: int X = B11110011; X = X>>2;X = (10011000)2X= (00011110)2X = (11111100)2X = (00111100)2120s
- Q3What 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
- Q4What 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
- Q5What is the result of the following operation: int X = 23; X = X % 5;X=5X=4X=3X = 4.6120s
- Q6Which 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
- Q7What 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
- Q8Find the equivalent voltage of a PWM signal which has a duty cycle of 90%.4.5V5 V0.45 V5.4 V120s
- Q9Find the value of duty in analogWrite(9, duty) of a PWM signal when duty cycle of 90% is required.109129255229120s
- Q10The operating program will be stored in Arduino inprogram busFlash MemoryRAMALU120s
- Q11What 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
- Q12What 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
- Q13What 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 ; } }016128120s
- Q14What 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
- Q15Figure (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?PORTD = B00000101;PORTD = B00000110;PORTD = B00001100;PORTD = B00001010;120s