Search Header Logo

Exploring Raspberry Pi Fundamentals

Authored by Edmar Tan

Computers

University

Exploring Raspberry Pi Fundamentals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Raspberry Pi?

A Raspberry Pi is a gaming console.

A Raspberry Pi is a compact, low-cost computer used for programming and electronics projects.

A Raspberry Pi is a smartphone.

A Raspberry Pi is a type of fruit.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operating systems can run on a Raspberry Pi?

Fedora

Raspberry Pi OS, Ubuntu, Arch Linux, LibreELEC, Windows 10 IoT Core

Android

macOS

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the GPIO pins on a Raspberry Pi?

To power the Raspberry Pi

To store data permanently

To connect to the internet wirelessly

The purpose of the GPIO pins on a Raspberry Pi is to interface with external hardware components.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many GPIO pins are available on a Raspberry Pi 4?

24

26

30

40

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language is commonly used for GPIO programming on Raspberry Pi?

Ruby

Python

C++

Java

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the 'import RPi.GPIO as GPIO' statement in Python?

It imports the RPi.GPIO library for data analysis.

It initializes the Raspberry Pi operating system.

It imports the RPi.GPIO library for controlling GPIO pins on a Raspberry Pi.

It sets up a web server on the Raspberry Pi.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you set a GPIO pin as an output in Python?

GPIO.configure(pin_number, GPIO.OUT)

GPIO.setup(pin_number, GPIO.INPUT)

GPIO.setmode(GPIO.BOARD)

import RPi.GPIO as GPIO\nGPIO.setmode(GPIO.BCM)\nGPIO.setup(pin_number, GPIO.OUT)

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?