Page 37 - Computer_Science_F5
P. 37

Computer Science  Step 3:  Adding wires (connectors)

            Select the wiring tool in the toolbar and drag it from one position to another in the
            canvas area as shown in Figure 1.25, and a connection will start to appear between
            the two points.
          FOR ONLINE READING ONLY





















                                      Figure 1.25: Adding connectors



            Step 4:   Testing your circuit, click Light on and Light off
            Both contain 0s, the output as well contains 0. This tells us that the circuit already
            computes a 0 when both inputs are 0. Now, try another combination of inputs
            by selecting the poke tool shown in Figure 1.26 and start poking the inputs by
            clicking on them. Each time you poke an input, its value will change.


            (a) Light on




















                                       Figure 1.26: Putting Light on




                                                  28
                                                                for Advanced Secondary Schools



     Computer Science Form 5.indd   28                                                      23/07/2024   12:32
   32   33   34   35   36   37   38   39   40   41   42