The City School Network-SR
Reinforcement Worksheet 2022-23
Worksheet: A
Topic: Programming Robots and Single Board Computers
Name: ____________________________ Class: 8 Section: ______________
Q1) Fill in the blanks with an appropriate answer. [5]
a. The ___________________, which is a single board computer (SBC), is a small credit card-sized computing
device that can be used for a variety of purposes.
b. ______________ pins allow the Raspberry Pi to be configured for different purposes; interact with different
circuits, and work with several types of electronic components.
c. A _____________ is just an ordered collection of items that can be of any data type.
d. The port used to connect a mouse, a keyboard, or other peripherals is called ________________
e. Example of a high-level programming language designed to be easy to read and simple to implement is
___________
Q2) Match the component with its correct description and note answer in the third column [5]
Component Description Answer
1. GPIO a. To connect display with serial interface 1-
compatible display.
2. Power Adaptor b. Connect a camera with a camera Serial 2-
Interface ribbon
3. CSI Connector c. Connect devices to the real world 3–
4. Ethernet Port d. 2.5 Amperes and 5 volts 4–
5. DSI Connector e. To connect to the internet 5–
Q3) State whether True or False [5]
a. GPIO pins are the most powerful feature of the Raspberry Pi architecture. ________
b. LAN port allows the transfer of data over a USB cable. ________
c. Python is open source, which means it is free for commercial purposes only. ________
d. Scripts are a piece of code. ________
e. The operating system of Raspberry Pi is called Raspberry. ________
Q4) What is Micro SD card? Why is it used in Raspberry Pi? [3]
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
Q 5) Label the given diagram of the Raspberry Pi. [5]
Q6) Write down the output of the following code. [5]
Code Output
NewList [10,20,30,” Computing”]
print (NewList [3])
X=” Python is “
Y=” Awesome”
Z=X+Y
Print(z)
Mylist = [“English”,” Math”, “Urdu”]
Mylist.append = (“Science”)
print (Mylist)
thislist= [“red”,” yellow”,” Green”, “pink”]
del thislist [2]
print(thislist)
score = 9
print (score)
Q7) Differentiate between a Simple computer and a single board computer. [2]
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
________________________________________