Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
79 views

Class 8 Programming Robots and Single Board Computers - Question Bank

The document discusses a class on programming robots and single board computers. It provides information about the Raspberry Pi single board computer including its components, operating system, programming languages, and how it can be used with sensors and motors to program robots.

Uploaded by

emaantejani10
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Class 8 Programming Robots and Single Board Computers - Question Bank

The document discusses a class on programming robots and single board computers. It provides information about the Raspberry Pi single board computer including its components, operating system, programming languages, and how it can be used with sensors and motors to program robots.

Uploaded by

emaantejani10
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

The City School

North Nazimabad Girls Campus


Computing
Class 8 – Programming Robots and Single Board Computer

Fill in the blanks


1. Raspberry Pi is having 1 GB RAM
2. Raspberry PI is a credit card sized single board computer
3. The Ethernet port allows Raspberry Pi to be connected to the internet
4. USB ports allow four USB devices to be attached to Raspberry Pi
5. GPIO pin numbering range from 1 to 40
6. Raspbian OS is a Debian-based operating system used by Raspberry Pi since the year 2015
7. GPIO allows Raspberry Pi to be configured for different purposes and get connected with
several types of electric components and devices
8. Python is a high-level programming language, easy to read and simple to implement
9. GPIO stands for General purpose input/ output pins
10. A Variable is a storage location/placeholder for text and numbers
11. A list is an ordered collection of items written together of any data type
12. Append() command is used to add any item to the list and Del is used to delete any item in
the list
13. Python is one of the official programming languages for Google.
14. YouTube is one of Google’s products that is powered by Python
15. Conditional statement is used to perform a decision or perform an action if the condition is
met
16. A for loop is used to repeat a command a number of times
17. PWM means Pulse width modulation
18. Sonar is an acronym for Sound Navigation and Ranging
19. SONAR Sensor is used to measure the distance of any objective with the help of sound
waves
20. The Servo motor rotates any object with precision
21. Bumble PI is an educational Robot kit specially designed for beginners to have hands-on
experience in mechanics, electronics, and computer science
22. A function is a group of statements that perform a specific task
Question Bank
Answer the following questions
1. Who is Sophia and why it was created?
Sophia is the world’s first robot citizen and the first robot innovation ambassador for
the UNDP. It was created to help people in real-life uses like medicine and education,
while also serving AI research.
2. What is a single-board computer and why it is different from a desktop personal
computer?
A single-board computer is a complete computer built on a single circuit board, with
microprocessors, memory, and input/output, and is the size of a credit card.
3. What is Raspberry Pi?
Raspberry PI is a single-board computer that is as small as a credit card and can be
used for a variety of purposes.
4. State advantages/uses of Raspberry Pi?
It can be used for experimentation, programming, building, home autonomic, and
performing computer tasks.
5. What are GPIO pins?
GPIO pins (General purpose input/output) allow the Raspberry PI to be configured for
different purposes.
6. Name the accessories you may use with Raspberry Pi
Power Adapter, Micro SD Card, HDMI cable, spare mouse, and keyboard.
7. What is Python? What are the advantages of using Python?
A high-level programming language that is easy to read and simple to implement, is
open source, and works with IDLE (integrated Developing Environment)
8. Explain Variable
A variable is a storage placeholder for text and numbers.
9. Name the three data types in Python
Numbers, String, and Boolean.
10. Explain List in Python
A list is an ordered collection of items that can be of any data type.
11. State the difference between Conditional and logical operators
Condition Operators refine the statement you are testing for and Logical Operators
return a Boolean result.
12. Define For loop
A FOR loop is used for repeating a sequence.
13. Define Function in Python along with its advantages
A function is a group of related statements that perform a specific task. Functions help
break down our program into smaller and modular chunks making it organized and
manageable. It avoids repetition and makes codes reusable.
14. What is Sonar Sensor and why it is used?
Sound Navigation and Ranging measure distances regarding less of the object's shape,
color, or size.
15. Explain how Sonar Sensor works.
It sends an ultrasonic pulse out which travels through the air and if there is an
obstacle or object, it will bounce back to the sensor.
16. What is Servo Motor and how does it work?
A Servo motor is an electrical device that rapidly pushes or rotates any object. Made
of a simple motor and servo mechanism
17. What is Bumble Pi and why it is used?
Bumble Pi is an educational robot kit for beginners and is easy to assemble.
18. Explain Pi shield
A small circuit board to connect various motors and sensors. It is stacked over
Raspberry PI GPIOs.
19. What is a boot loader and why it is made?
Boot loader automatically starts the command without a keyboard, mouse, or LED.
Label the given diagrams of Raspberry Pi and Pi Shield

GPIO Pins
On/Off
switch

Micro SD
USB ports
Left motor
connector
card
Right Motor
connector

Ethernet Port
Audio Jack
Micro USB
power HDMI Port Camera Module
port
SONAR sensor
SERVO motor connector
connector

You might also like