Online Test (R1) -- Virtual Internship

75 Questions | Total Attempts: 753

SettingsSettingsSettings
Email Quizzes & Trivia

Details & instructions are sent through email.


Questions and Answers
  • 1. 
    Identify the Invalid ‘If conditional statement'.
    • A. 

      If (variable > 50)

    • B. 

      If (variable = 50)

    • C. 

      If (variable < 50)

    • D. 

      If (variable != 50)

  • 2. 
    Which 'If conditional statement' will not execute in any program?
    • A. 

      If (0)

    • B. 

      If (-1)

    • C. 

      Both a & b

    • D. 

      None of the above

  • 3. 
     Arduino (Atmega) Pins are in low impedance state when pins are configured as
    • A. 

      INPUT

    • B. 

      OUTPUT

    • C. 

      OUTPUT_PULLUP

    • D. 

      All of the above

  • 4. 
     Arduino (Atmega) pins are in high impedance state when pins are configured as
    • A. 

      INPUT

    • B. 

      OUTPUT

    • C. 

      INPUT_PULLUP

    • D. 

      All of the above

  • 5. 
    Arduino (Atmega) pins can source / sink current up to
    • A. 

      30mA

    • B. 

      35mA

    • C. 

      40mA

    • D. 

      52.5mA

  • 6. 
    Arduino platform is based on which micro-controller's family?
    • A. 

      8051 microcontroller family

    • B. 

      AVR microcontroller family

    • C. 

      PIC microcontroller family

    • D. 

      All the above

  • 7. 
    In which file extension Arduino sketches are saved?
    • A. 

      .ino

    • B. 

      .ard

    • C. 

      .cpp

    • D. 

      .hex

  • 8. 
    In Arduino the function 'pinMode( )' can be used to configure the Atmega pins as
    • A. 

      OUTPUT_PULLDOWN

    • B. 

      INPUT_PULLUP

    • C. 

      Both a & b

    • D. 

      None of the above

  • 9. 
     In Arduino if 1 second delay is required in a program then which function can be used?
    • A. 

      Delay(1)

    • B. 

      DelayMilliseconds(1000)

    • C. 

      DelayMicroseconds(100000)

    • D. 

      None of the above

  • 10. 
    PWM stands for
    • A. 

      Pulse With Modulation

    • B. 

      Pin Width Modulation

    • C. 

      Pulse Width Modulation

    • D. 

      Pulse With Mode

  • 11. 
     Identify the digital pin which does not have PWM capability.
    • A. 

      Digital pin 6

    • B. 

      Digital pin 4

    • C. 

      Digital pin 3

    • D. 

      Digital pin 5

  • 12. 
    In which language the Arduino IDE is written?
    • A. 

      Java

    • B. 

      C

    • C. 

      C++

    • D. 

      PHP

  • 13. 
    In function 'delay (t)', t is in_____.
    • A. 

      Microseconds

    • B. 

      Seconds

    • C. 

      Nanoseconds

    • D. 

      Milliseconds

  • 14. 
    If serial port is initialized with Serial.begin(9600), How much time will it take to send two ASCII characters?
    • A. 

      1.9220ms

    • B. 

      1.667ms

    • C. 

      4.800ms

    • D. 

      9.600ms

  • 15. 
    Which of the following is not a valid data type in Arduino?
    • A. 

      Void

    • B. 

      Short

    • C. 

      Word

    • D. 

      String

  • 16. 
     What is the size of an integer variable in Arduino UNO?
    • A. 

      2 Byte

    • B. 

      4 Byte

    • C. 

      1 Byte

    • D. 

      8 Byte

  • 17. 
     Which memory space is used to store the program (sketch) in Arduino?
    • A. 

      EEPROM

    • B. 

      Flash

    • C. 

      SRAM

    • D. 

      EPROM

  • 18. 
    How many times 'while (-1)' loop will be executed?
    • A. 

      1 time

    • B. 

      Infinite time

    • C. 

      0 time

    • D. 

      None of the above

  • 19. 
    By default a real number is treated as
    • A. 

      Float

    • B. 

      Double

    • C. 

      Long

    • D. 

      Long double

  • 20. 
     The keyword used to transfer the control from a called function back to the calling function is_______.
    • A. 

      Goto

    • B. 

      Return

    • C. 

      Call

    • D. 

      Jump

  • 21. 
    Consider the looping statement 'for(int i=0; i < 10;  i =i * 2)' while assuming the body of the loop does not break the loop or change i, how many times would the body of the loop be executed?
    • A. 

      0

    • B. 

      10

    • C. 

      5

    • D. 

      Infinite

  • 22. 
     Functions are created by first declaring the ________ at the beginning of the program.
    • A. 

      Function name

    • B. 

      Function prototype

    • C. 

      Function parameters

    • D. 

      Function address

  • 23. 
    Which loop executes the instructions in loop atleast once?
    • A. 

      While loop

    • B. 

      Do while loop

    • C. 

      For loop

    • D. 

      If loop

  • 24. 
    Which of the following operator has the highest precedence?
    • A. 

      Addition (+)

    • B. 

      Logical AND (&&)

    • C. 

      Assignment operator (=)

    • D. 

      Increment/ decrement (++,- -)

  • 25. 
     Which logical operator will return a TRUE value if either of the conditional statements are TRUE?
    • A. 

      Logical and (&&)

    • B. 

      Logical or (||)

    • C. 

      Logical NOT (!)

    • D. 

      None of the above

Related Topics
Back to Top Back to top