Exploring Raspberry Pi Fundamentals

Exploring Raspberry Pi Fundamentals

University

20 Qs

quiz-placeholder

Similar activities

Quiz de Repaso Parcial

Quiz de Repaso Parcial

University

15 Qs

Quiz sobre Microcontroladores y Microprocesadores

Quiz sobre Microcontroladores y Microprocesadores

University

15 Qs

Embedded System-Review

Embedded System-Review

University

15 Qs

Prak MC

Prak MC

University

15 Qs

KB #1 IOT Fundamental 2023

KB #1 IOT Fundamental 2023

University

16 Qs

IoT u 4

IoT u 4

University

25 Qs

Computer Science

Computer Science

University

20 Qs

Software logo guess quiz

Software logo guess quiz

1st Grade - University

20 Qs

Exploring Raspberry Pi Fundamentals

Exploring Raspberry Pi Fundamentals

Assessment

Quiz

Computers

University

Hard

Created by

Edmar Tan

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?