Page 105 - Toucpad robotics C11
P. 105

6.  Which programming environment is most commonly associated with Arduino boards?
                         i.  Scratch                                     ii.  Arduino IDE

                        iii.  Eclipse                                   iv.  Visual Basic

                    7.  In pseudocode, loops such as “WHILE” or “FOR” are used to:
                         i.  Repeat steps until a condition is satisfied
                         ii.  End the algorithm

                        iii.  Create flowchart symbols

                        iv.  Define hardware setup
                    8.  A microcontroller differs from a microprocessor because it:
                         i.  Requires external devices for I/O

                         ii.  Integrates CPU, memory, and I/O on a single chip

                        iii.  Cannot be programmed
                        iv.  Is always larger in size

                    9.  The basic building blocks of computing logic in robotics are:
                         i.  Sensors and actuators                       ii.  Logic gates

                        iii.  Flowcharts                                iv.  Truth tables
                    10.  An algorithm should always be:
                         i.  Vague and flexible                          ii.  Step-by-step and unambiguous

                        iii.  Written only in coding language           iv.  Based on trial-and-error

                 B.  Fill in the blanks.
                    1.  Boolean logic was first formalised by             .
                    2.  The three basic logic gates are AND, OR, and             .

                    3.  A                    is a simplified way of expressing program logic before coding.

                    4.  The                   symbol in a flowchart represents decision-making.

                    5.  A microcontroller integrates CPU,               , and input/output ports.

                    6.  In robotics, computing systems are often referred to as the robot’s         .
                    7.  Truth tables list all possible combinations of           and corresponding outputs.

                    8.                     loops are used when the number of iterations is predetermined.

                    9.  The Arduino Uno uses an                  family microcontroller.

                    10.  A single-board computer can run an operating system such as             .

                 C.  State whether these statements are true or false.
                    1.  Pseudocode must follow the syntax of a programming language.

                    2.  Flowcharts are helpful in debugging algorithms before coding.

                    3.  A Raspberry Pi can run Python programs for robotics applications.

                                                                                                                      103
                                                                                                          Computing System
   100   101   102   103   104   105   106   107   108   109   110