Font size
WorksheetsRevision for grade12- week 1 &2
Total questions: 15
Worksheet time: 17mins
Can you name part number 1
USB jack
microconroller
power socket
microprocessor
Can you name part number 2
Analogue pin
LED pin
digital pin
GND pin
Can you name part number 3
Power Jack
reset button
micro controller
USB jack
Can you name part number 4
Leds
Power jack
Power support
reset button
Which function can run for infinite time?
setup function
loop function
What will be the out put of this code
int A=6.1;
int B= 9.4;
int Result;
setup(){
Result= A+B;
Serial.print(Result);
}
15.5
15
57.34
error
what is the type of the following statement
y= C+F;
Compound operator
Arithmetic operator
Rational operator
Complex operator
Can you name the different types of operator inside this code ( Choose 2 answers)
Compound operator
Arithmetic operator
Rational operator
Boolean operator
Can you name the different types of operator inside this code
Compound operator
Arithmetic operator
Rational operator
Boolean operator
which signal have infinite number of possibilities
Digital signal
Analogue signal
If the Led consider as an output how choose the correct code to make the led show it's output ( Choose 2 answers):
digitalWrite(on#,HIGH);
digitalRead(on#);
AnalogRead(on#);
AnalogWrite(on#,value);
If we use a potentiometer to read voltage we can write the code as the following:
digitalWrite(on#,HIGH);
digitalRead(on#);
AnalogRead(on#);
AnalogWrite(on#,value);
The buzzer makes the sound, so it's code could be write as
digitalWrite(on#,HIGH);
digitalRead(on#);
AnalogRead(on#);
AnalogWrite(on#,value);
In for loop what dose this code mean
brightness-=5
increment brightness by 5
decrese brightness by 5
start brightness from 5
end brightness from 5
in this code what do we call
brightness >=0
test
initialize
increment
decrement
