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
40 questions
Show answers
- Q1Choose 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
- Q2What 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
- Q3What is the correct word that matches correctly with the comment: pinMode(13,________); //declare LED as outputs ?INPUTOUTPUTLOWHIGH120s
- Q4What is the correct word that matches correctly with the comment: pinMode(2,________); //declare Switch as inputs ?LOWINPUTHIGHOUTPUT120s
- Q5What 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
- Q6What 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
- Q7What is the correct word that matches correctly with the comment: digitalWrite(13,_____); //turn LED ON ?OUTPUTHIGHLOWINPUT120s
- Q8What is the correct word that matches correctly with the comment: digitalWrite(13,_____); //turn LED OFF ?INPUTHIGHLOWOUTPUT120s
- Q9What 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
- Q10What 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
- Q11What 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
- Q12What 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
- Q13What is the correct comments that matches correctly with the instruction: if(digitalRead(2)==High); //??Pushbutton is pressedLED not pressedPushbutton not pressedLED pressed120s
- Q14The component labeled #7 is theUSB connectionPower PinsPower JackMicrocontroller120s
- Q15The component labeled #6 is theAnalog InputDigital InputReset ButtonUSB connection120s