We will see now the answers of the quizz:
The good answer is b), the void setup and void loop. Theses both functions are mandatory in an Arduino program. Forget to write one will create you an error.
The void main is a mandatory function for the C language.
The good answer is a), the function is used to initialize pins, the serial monitor. For the answer b), you have to initialize the library before the void setup.
The right answer is a), #include. You can read our course on the libraries.
The right answer is b), assign a value to the digital pin. You will need it to control your component. To read the value from a pin you need the function digitalRead. The assign a value to an Analog pin you need AnalogWrite.
The right answer is b), AnalogRead is used to read values from the sensor. 0 correpond to 0V and 254 to 5V.
The right answer is b). The # is used to initialize the library.
The right answer is a). You can read our course on the integer variable if you wan to know more about it.
The right answer is a) : A delay is used to do a break in the program with time in (ms). There is another function called delayMicroseconds(us). With it you can do break with a time in microseconds.
the right answer is c) : 7,12,17. You can look at our course on the for loop.
The right answer is b). We have done a course on the mathematics functions on Arduino language if you want to see all the functions available on Arduino language.