Exploring Raspberry Pi Fundamentals

Exploring Raspberry Pi Fundamentals

University

20 Qs

quiz-placeholder

Similar activities

COSC111 Quiz

COSC111 Quiz

University

25 Qs

Microp-Act1-3C

Microp-Act1-3C

University

15 Qs

Kuis IoT

Kuis IoT

University

20 Qs

Quiz1_9B

Quiz1_9B

3rd Grade - Professional Development

20 Qs

CAMP_CODING_SIMKESKHANZA

CAMP_CODING_SIMKESKHANZA

University - Professional Development

25 Qs

RoKit QUIZZ

RoKit QUIZZ

University

16 Qs

Pretes IoT

Pretes IoT

University

20 Qs

Day#8

Day#8

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?