Raspberry Pi - PlatformWhat is the main purpose of the GPIO pins on a Raspberry Pi?ATo connect and control electronic componentsBTo connect USB devices like keyboardsCTo output video signalsDTo provide internet connectionCheck Answer
Step-by-Step SolutionSolution:Step 1: Understand GPIO functionGPIO pins allow the Raspberry Pi to interact with electronic parts like LEDs, sensors, and motors.Step 2: Differentiate from other portsUSB ports connect peripherals, HDMI outputs video, Ethernet provides internet, so these are not GPIO functions.Final Answer:To connect and control electronic components -> Option AQuick Check:GPIO pins = electronic control [OK]Quick Trick: GPIO pins control hardware parts like LEDs [OK]Common Mistakes:Mixing USB with GPIOThinking GPIO provides internet
Master "Platform" in Raspberry Pi9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Raspberry Pi Quizzes GPIO Basics with Python - Digital input (GPIO.input) - Quiz 4medium GPIO Basics with Python - Why GPIO programming is foundational - Quiz 13medium GPIO Basics with Python - GPIO cleanup on exit - Quiz 11easy GPIO Basics with Python - GPIO pin numbering (BCM vs BOARD) - Quiz 14medium LED and Button Projects - Button with interrupt (GPIO.add_event_detect) - Quiz 3easy PWM Output - Why PWM is needed for analog-like control - Quiz 5medium PWM Output - LED brightness control - Quiz 14medium PWM Output - PWM frequency and duty cycle relationship - Quiz 8hard gpiozero Library - Buzzer and TonalBuzzer - Quiz 10hard gpiozero Library - Why gpiozero simplifies hardware - Quiz 13medium