GRADE 7ROBOTICS CHAPTER 1 & 2 Page 1 of 2Chapter 1: Arduino 1. What is Arduino?Programming languageImage editing softwareText editorOpen-source electronics platform Loading... 2. How many types of Arduino do we have?161248 Loading... 3. What language is a typical Arduino code based on?Assembly CodePythonC/C++Java Loading... 4. What language is the Arduino IDE built on?C/C++HTMLPythonJava Loading... 5. Arduino IDE consists of 2 functions. What are they?Setup() and loop()Build() and loop()Loop() and build() and setup()Setup() and build() Loading... 6. Arduino Codes are referred to as ________ in the Arduino IDE.notesdrawingssketcheslinks Loading... 7. What is the default bootloader of the Arduino UNO?AIR-bootBare boxOptiboot bootloaderGAG Loading... 8. What does p refer to in ATmega328p?ProductionProgrammable on chipPower-PicoPico-Power Loading... 9. What is the use of the Arduino.h header file?It allows other people to create libraries for the Arduino codeIt doesn’t have any use and can be omitted at any point of time in the codeIt enables the programmer to access all of Arduino’s core functionalityIt gives root access to the microcontroller’s file system Loading... 10. What is the use of the Vin pin present on some Arduino Boards?To provide a 5V outputTo ground the Arduino BoardTo power the Arduino BoardIs used for plugging in 3V supply Loading... 11. What is the correct execution process of an Arduino code?Preprocessor->Editor->CompilerCompiler->Preprocessor->EditorEditor->Compiler->PreprocessorEditor->Preprocessor->Compiler Loading... 12. What is the microcontroller used in Arduino UNO?ATmega328pAT91SAM3x8EATmega2560ATmega32114 Loading... 13. Which software is used to upload the Arduino Sketches to the board?avrdudecpython for windowsavrgccg++ Loading... 14. What is the operating voltage of Atmega328?1.8V to 5.5V1.9V to 5V12V to 9V1.1V to 5V Loading... 15. Is the Arduino code an Object-Oriented programming language or a Procedural programming language?The Arduino Code follows the Object-Oriented ideologyThe Arduino Code follows a custom Procedural IdeologyThe Arduino Code follows the Bottom-Up Procedural ideologyThe Arduino Code follows the Top-Down Procedural ideology Loading... 16. What is the difference between an IDE and a compiler?The compiler and the IDE are the same thingThe compiler links the code to the respective files and the IDE takes it from thereThe IDE executes the code while the compiler gives a graphical environment for writing the codeThe compiler executes the code while the IDE gives a graphical environment for writing the code Loading... 17. How many times does the setup() function run on every startup of the Arduino System?4152 Loading... 18. The code that you put inside void setup() will only run once; and that will be at the beginning of your programTRUEFALSE Loading... 19. In void loop(); your code will repeat over and over again.TRUEFALSE Loading... 20. Constants are like variables; but their value remains constant throughout the program's execution. TRUEFALSE Loading... 21. Pulse-Width Modulation (PWM) pins can provide digital as well as analog output ?TrueFalse Loading... 22. How many digital pins are available on the Arduino Uno Board ?513126 Loading... 23. How many PWM pins are available on the Arduino Uno Board ?0687 Loading... 24. How many Analog pins are available on the Arduino Uno Board ?6457 Loading... 25. How many Ground pins are available on the Arduino Uno Board ?2143 Loading... 26. Which 2 voltage pins are available on Arduino Board ?5V4v3.3v3v Loading... 27. What does GPIO stand for?General Purpose Interested Old PeopleGeneral Purpose Inner Outer PropellerGeneral Purpose Input Output PinsGeneral Purpose Input Output Processor Loading... 28. What does IDE stand for?Integrated Development EnvironmentInternal Development EnvironmentInternal DevOps EnvironmentIntegrated Devops Environment Loading... 29. A program written with the IDE for Arduino is called ?ArduinoSource CodeProgramSketch Loading... 30. Will this program run without error ? const int counter = 0; int pin = 13; void setup() { Serial.begin(9600); pinMode(pin; OUTPUT); digitalWrite(pin; LOW); } void loop() { counter = counter + 1; digitalWrite(pin; HIGH); Serial.print(“Blink #”); Serial.println(counter); delay(1000); digitalWrite(pin; LOW); delay(1000); }No, Program has an errorYes, Program is Perfect Loading... 31. Will this program run without error ? int counter = 0; int pin = 13; void setup() { Serial.begin(9600); pinMode(pin, OUTPUT); digitalWrite(pin, LOW); } void loop() { counter = counter + 1; digitalWrite(pin, HIGH); Serial.print(“Blink #”); Serial.println(counter); delay(1000); digitalWrite(pin, LOW); delay(1000); }No, Program has an errorYes, Program is Perfect Loading... 32. Will this program run without error ? int counter = 0; int pin = 13 void setup() { Serial.begin(9600); pinMode(pin, OUTPUT); digitalWrite(pin, LOW); } void loop() { counter = counter + 1; digitalWrite(pin, HIGH); Serial.print(“Blink #”); Serial.println(counter); delay(1000); digitalWrite(pin, LOW); delay(1000); }Yes, Program is PerfectNo, Program has an error Loading... 33. Will this program run without error ? int pin = 13 void setup() { Serial.begin(9600); pinMode(pin, OUTPUT); digitalWrite(pin, LOW); } void loop() { counter = counter + 1; digitalWrite(pin, HIGH); Serial.print(“Blink #”); Serial.println(counter); delay(1000); digitalWrite(pin, LOW); delay(1000); }Yes, Program is PerfectNo, Program has an error Loading... 34. what are the 2 braces { } in the funtion called ? For eg: setup () {}Progam blockBlockDeclaration blockSetup block Loading... 35. It starts with a /* and continues until a */ What does this do?Makes stars appearLoads a sketchMakes commentsCompiles quicker Loading... 36. Are the connections proper and will glow the LED ? Yes, Led should glowNo, Led should will not glow Loading... 37. A Breadboard is simply a board for prototyping or building circuits on ?TrueFalse Loading... 38. Put the code in its order, such that "Welcome to" comes in first line and "Classes" in second line. LiquidCrystal lcd(2, 3, 4, 5, 6, 7); lcd.setCursor(0, 1); } lcd.print("Classes"); #include <LiquidCrystal.h> void loop() { lcd.print("Welcome to"); lcd.setCursor(0, 0); void setup() { } lcd.begin(16, 2); Loading... Page 2 of 2Chapter 2: Diving into Displays 39. Will this program run without error ? int led = 13; void setup() { pinMode(led; INPUT); } void loop() { digitalWrite(led; HIGH); delay(1000); digitalWrite(led; LOW); delay(1000); }Yes, Program is PerfectNo, Program has an error Loading... 40. What is full form of LCD ?Liquid Crystal DonteeLiquid Crystal DioneLiquid Crystal DiodeLiquid Crystal Donee Loading... 41. We able to control whether a pixel will appear black or white due to the voltage supplied to it.TRUEFALSE Loading... 42. A _____is the smallest unit of a displayVoltageScreenLiquid Crystal DoneePixel Loading... 43. If the resolution of a screen is 1024*720p; it means that there are 1280 pixels in a Row and 720 pixels in a ColumnTRUEFALSE Loading... 44. A 16*2 LCD Display has total 16 characters and 2 columnsFALSETRUE Loading... 45. The display uses 5*8 dots to represent each charactersTRUEFALSE Loading... 46. 16*2 LCD is know for…ReliabilityCost-EffectivenessAll of the optionsSimplicity Loading... 47. LCD Screen requires potentiometer for ?Setting Cursor PositionAll of the optionsSwitching CharactersAdjusting the contrast Loading... 48. Which in build library is used for control LCD display ?All options are correctLiquidCrystal.hLiquidCrystalDiode.hCrystalLiquid.h Loading... 49. how do we make use of the LiquidCrystal.h library ?const #define #include #define (LiquidCrystal.h) Loading... 50. How do we initialize the LCD Screen ?lcd.begin(16,2)All options are correcticd.initialize(16,2)lcd.start(16,2) Loading... 51. Which function is used to set cursor on the LCD Screen ?lcd.beign()lcd.CursorSet()lcd.Cursor()lcd.setCursor() Loading... 52. Which function is used to print characters on LCD Screen ?serial.Println()serial.Print()lcd.beign()lcd.print() Loading... 53. VCC & VSS pin : These pins are the two pins used for the power supplyTRUEFALSE Loading... 54. V0 pin : This pin is for controlling the contrast of the LCD.TRUEFALSE Loading... 55. R/W pin : Read/Write pin is connect to one the digital pins?FALSETRUE Loading... 56. E : Enable pin. Enable's the LCD for any operation.TRUEFALSE Loading... 57. The last 2 pins on the LCD Screen are Anode and CathodeTRUEFALSE Loading... 58. D4 – D7 pin : Are used for 8-bit mode. FALSETRUE Loading... 59. A typical 16×2 LCD needs 3v to operate.FALSETRUE Loading... 60. Will this code run without error ? #include <LiquidCrystal> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); void setup() { lcd.begin(16, 2); } void loop() { lcd.setCursor(0, 0); lcd.print("Hello,Welcome"); lcd.setCursor(0, 1); lcd.print("Hello World"); }Yes, Program is PerfectNo, Program has an error Loading... 61. Will this code run without error ? #include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); void setup() { lcd.begin(16, 2); } void loop() { lcd.setCursor(0, 0) lcd.print("Hello, Welcome"); lcd.setCursor(0, 1); lcd.print("Hello World"); }No, Program has an errorYes, Program is Perfect Loading... 62. Will this code run without error ? #include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); void setup() { lcd.begin(16, 2); } void loop() { lcd.setCursor(0, 0); lcd.print("Welcome"); lcd.setCursor(0, 1); lcd.print("Hello World"); }Yes, Program is PerfectNo, Program has an error Loading... 63. What will this code print ? #include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); void setup() { lcd.begin(16, 2); } void loop() { lcd.setCursor(0, 0); lcd.print("Welcome"); lcd.setCursor(0, 0); lcd.print("Classes"); }Print nothingPrint WelcomePrint bothPrint Classes Loading... 64. Will this code run without error ? #include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); void setup() { lcd.begin(16, 0); } void loop() { lcd.setCursor(0, 0); lcd.print("Hello, Welcome"); lcd.setCursor(0, 1); lcd.print("Classes"); }No, Program has an errorYes, Program is Perfect Loading... 65. Put the code in its order.. }; B00000, B00000, lcd.write(byte(0)); B00000, B00000 B00000, B00000, byte customChar[] = { B00000, lcd.createChar(0, customChar); B00000, Loading... 66. Up to how many characters of 5x8 pixels are supported ?6798 Loading... Loading...