C++ Answers

Questions answered by Experts: 9 913

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Select all the the devices that can be used by the Arduino as outputs

Display devices

Display devices

Light Sensor

Lights

Lights



Select all the the devices that can be used by the Arduino as outputs

Motors

Lights

Motors

Display devices

Lights


What will the value of the result variable be after the code segment below has been run.


int result ;

int number4 = 6,number11 = 9;


result = number4 + ++number11;


What will the value of the result variable be after the code segment below has been run.   

   

   

bool result ;  

int number3 = 17, number7 = 33;  

  

result = number3 > number7 ; 


What will the value of the solution variable be after the code segment below has been run.   

   

   


bool solution;

int number3 = 9, number7 = 29;


solution = number3 == number7;



The formula below describes Newton's second law of motion


Force = Mass x acceleration


Using the variables below Write one line of code that will calculate the acceleration of a object.




// Mass in Kg


float mass = 50.3;


// Froce in N


int force = 720; 


//acceleration


float accel;




//One line of code to calculate the acceleration of a object


=


What scale value would you use with analogWrite() to generate a average vlotage of 1V on PWM pin 10 ?



What will the value of the result variable be after the code segment below has been run.

(round to 4 decimal places)


float result ;  

int number3 = 253, number6 = 26;


float number11 = 3;  

  

result = ( number3 - number6 ) / number11 ;


If the voltage on pin A3 is 3.954V, what value will analogRead(A3) return from the ADC?


Select all the the devices that can be used by the Arduino as inputs

Electromagnets

Light Sensor

Lights

Temperature sensor

Touch Sensor


LATEST TUTORIALS
APPROVED BY CLIENTS