Leçon 1, Chapitre 1
En cours

Arduino – Quizz : Les bases

Yann KIDSHAKER 18 mars 2025

Arduino Sketch: Structure and Flow

Time limit: 00:09:23
  1. 1. QUESTION

    1 point(s)

    In Arduino Sketch, statements are terminated with?

  2. 2. QUESTION

    1 point(s)

    What is the sequence for execution of statement inside Arduino sketch?

  3. 3. QUESTION

    1 point(s)

    The correct syntax to initialize serial monitor is:

  4. 4. QUESTION

    1 point(s)

    During execution, you want some of the statements to be executed repeatedly. Where do you write them?

  5. 5. QUESTION

    1 point(s)

    During serial communication with a device, which term is used to define the particular speed of data transfer?

    Digital Output | How to control State of a LED?

    Time limit: 00:09:31
    1. 1. QUESTION

      1 point(s)

      How can you differentiate between the positive and negative terminals of an LED?

    2. 2. QUESTION

      1 point(s)

      What is the correct syntax to make a digital pin work as output?

    3. 3. QUESTION

      1 point(s)

      How much current can the digital pin’s source provide?

    4. 4. QUESTION

      1 point(s)

      A HIGH state on a digital output pin signifies:

    5. 5. QUESTION

      1 point(s)

      If you find digitalWrite(5, HIGH) written in a program, how would you interpret it?

      Analog Output through PWM | How to control brightness of a LED?

      Time limit: 00:09:24
      1. 1. QUESTION

        1 point(s)

        Why does the intensity of LED change with a change in PWM?

      2. 2. QUESTION

        1 point(s)

        The syntax for analog-write and generating required PWM is analogWrite(Pin, value).

        What is the possible integer range for ‘value’?

         

      3. 3. QUESTION

        1 point(s)

        If function analogWrite(4,191) is called, then the analog output on pin 4 has a ‘duty cycle’ equal to: