Writing code in sketch

Qus. 1 : The default method(s) in Arduino program is/are

  1. Only loop()
  2. only setup()
  3. setup() and loop()
  4. can be either loop() or setup()
Qus. 2 : All Code in an Arduino sketch is processed from

  1. Top to bottom
  2. Bottom to top
  3. Any order
  4. None of these
Qus. 3 : Which of the following statement true about a sketch?

  1. It is a name that Arduino uses for a program
  2. Its the unit of code that is uploaded to run on an Arduino board
  3. Both (A) and (B)
  4. None of these
Qus. 4 : Which symbol is used in Arduino to calculate modulo

  1. #
  2. $
  3. %
  4. !
Qus. 5 : Which command is used to create a delay in the Arduino program?

  1. digitalRead()
  2. for()
  3. pinMode()
  4. delay()
Qus. 6 : What types of instructions have the most impact on the programme counter?

  1. Call & Jump
  2. Getchar & putchar
  3. Call & Return
  4. Return & Jump
Qus. 7 : The SI unit of resistance is ————.

  1. Volt
  2. Faraday
  3. Ampere
  4. Ohm
Qus. 8 : ADC (Analog to Digital converter) on Arduino board is used to convert__ signal into digital signal

  1. Analog
  2. Digital
  3. Both A & B
  4. None of the above
Qus. 9 : The command which is used to display the characters in the serial monitor is

  1. Serial
  2. Serial.type
  3. Serial.println
  4. Serial.printing
Qus. 10 : Arduino Codes are referred to as____in the Arduino IDE.

  1. sketches
  2. drawings
  3. links
  4. notes
Qus. 11 : Statement required in Arduino program to generate one second delay is

  1. delay(100);
  2. delay(1000);
  3. delay(10000);
  4. delay(1);
Qus. 12 : The analogRead method in Arduino UNO returns value range

  1. 0-255
  2. 0-511
  3. 0-1023
  4. 0-4095
Qus. 13 : Which of the following Function is called only once in Arduino program?

  1. loop()
  2. setup()
  3. selay()
  4. digitalWrite()
Qus. 14 : Program written in Arduino IDE is known as

  1. Code
  2. Source code
  3. Sketch
  4. Paint
Qus. 15 : The basic program in Arduino IDE contains

  1. setup () and loop () function
  2. Only setup () function
  3. Only loop () function
  4. None of these
Qus. 16 : AnalogWrite method can be used for

  1. PWM pins
  2. Hybrid pins
  3. Digital pins
  4. None of these
Qus. 17 : In Arduino programming, ____________ function is used to make digital pin HIGH

  1. pinMode()
  2. digitalWrite()
  3. analogWrite()
  4. setPin()
Qus. 18 : In Arduino programming, digital pins have ___________possible values

  1. Only one
  2. Two
  3. Three
  4. Any number of values
Qus. 19 : Capacitance is measured in

  1. Ohm
  2. Farad
  3. Henry
  4. Coulomb
Qus. 20 : The property of any conductor that opposes the flow of electric current through it is known as

  1. Capacitance
  2. Resistance
  3. Inductance
  4. None of these

Programs

Arduino Program to take input from serial and on the led based on input.

View Solution


Arduino program to fade the led bulb using for loop

View Solution


Arduino program to connect a led through push button

View Solution


Arduino program to change the blinking speed of led using the potentiometer

View Solution


Arduino program to print all integer number from 0 to 99 using for loop

View Solution


Arduino program to print odd numbers from 1 to 99

View Solution


Arduino program to print odd numbers from 99 to 1

View Solution


arduino program to interface buzzer with Arduino board to buzz on off with the delay of 1sec

View Solution


Arduino program to Blink a Light Emitting Diode LED

View Solution


Arduino program to print Hello word in LCD

View Solution


Arduino program to run a counter and display in LCD

View Solution


Arduino program to interface the sensor and led

View Solution


Arduino program to sound the buzzer on press on push button for 1 second

View Solution


Arduino program to interface buzzer with LDR and LED

View Solution


Arduino program to create automatic street light control by using LDR sensor

View Solution


Arduino program to read a integer number and print its table

View Solution


Arduino program to print the square root of a given number

View Solution


Design a night lamp using a LDR and a LED using Arduino Uno and find out the time delays associated in keeping ON the lamp

View Solution


Design a counter using an atmega microcontroller (like ATMEGA328P) using Arduino to display the number of entries per day in an office.

View Solution


Write a program to interface a temperature sensor (LM35) and water Nozzle with the Arduino.

View Solution


Arduino program to interface led buzzer with Arduino or raspberry pi and turn ON LED for 2 second after every 3 second

View Solution


Arduino program to connect RGB Led Bulb

View Solution


Arduino program to turns on LED when the button is pressed once and remains on until the button is pressed again to turn it off

View Solution


Arduino program to interface security password with Arduino board to show green light for correct password and red light for incorrect password.

View Solution


Arduino program to input any integer number and print its table

View Solution


Arduino program to connect with Servo Motor

View Solution


Arduino program to interface LCD with Arduino board and print some text

View Solution


Arduino application where pressing a button increases a counter value, which is then displayed on an LCD

View Solution


Arduino program to interface DHT 22 sensor and find the Humidity Temperature and Heat index

View Solution


Arduino program to interface soil moisture sensor

View Solution


Arduino program to interface a temperature monitoring system in a public environment which will display information

View Solution


Arduino program to interface a PIR (Passive Infrared) sensor

View Solution


Arduino program to interface gas sensor to detect the gas

View Solution


Arduino program to Design a night lamp using a photodiode and a LED and find out the time delay associated with turning the lamp on and off.

View Solution


Arduino program to implement Two way traffic signal system.

View Solution


Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad