Study Guide For Midterm

These are the answers to our previous six quizzes. If you know all this things and have paid attention in class you will be in good shape for the midterm.

Quiz 1

 

1. The name of this class is    Ins and Outs of Physical Computing.
2. The name of the board we are learning to program is Arduino.
3. The programming language  we are learning this semester is based upon C/C++.
4. The board we are using is made in Italy.
5.  The example code we looked at in lab made the LED on the board Blink.
6 and 7. In the software environment we work in to make things you had to set two things under the tools menu to the appropriate values to make them work. Those things are Serial Port andBoard.
8Once you have clicked the verify button to make sure your code is ready to go you then have to click the Upload button to send you compiled code to your board so it can work.

Circle True or False
9. The code you write is executed by the computer the board is connected to. False
10. You shouldn’t stick the board we work with in your mouth. True

 

Quiz 2

1. When turning on the soldering iron the first thing you do is  turn up the heat as high as it  can go.
FALSE
2. When soldering always use just enough solder to make the joint solid.
TRUE
3. Left over bits of lead based solder should never just be thrown in the trash.
TRUE
4.  Soldering irons get hot enough to cut through steel.
FALSE
5. Soldering irons get hot enough to burn you quite badly if you aren’t careful with them.
TRUE
6. If you smell anything burning you should immediately stop soldering and shut off the iron.
FALSE
7. There are just a few basic kinds of electrical components that are combined together to make complex electronic devices.
TRUE
8. Through hole construction is primarily used in high tech modern assembly line mass production.
FALSE
9. Surface mount construction is often used in hobbyist electronics because it so easy to do by hand with a soldering iron.
FALSE
10.  Modern soldering irons can heat up to the appropriate temperature instantly.
FALSE

Quiz 3

1. Another word for Input is Sensor
2. Another word for Actuator is Output
3. Another word for Output is Actuator
4. In the example we did in class the output was the LED
5. In the example we did in class the arduino was the Controller
6. Another word for Sensor is Input
7. Morse code is an example of a primitive kind of Protocol
8. Serial communication sends messages one after the other.

True/False
9.  Maker faire happens only in NYC. False
10. If your final project in this class is good you can show it at maker faire next year. True

Quiz 4

For each example mark it as being primarily used as a sensor, actuator or controller.

1.  LED
actuator
2. Photocell
sensor
3. Piezo buzzer
er actuator
4. Push button
sensor
5. Arduino
controller
6. Potentiometer
sensor
7. Switch
sensor
8. Infra-red range finder
sensor
9.  Ultrasound proximity detector
sensor
10. Servo Motor
actuator

 

Quiz 5

1. A device that converts one form of energy to another is called a transducer.
2. A device that converts some form of energy in the real world into electricity so it can be measure by a controller is called a sensor.
3. A device that converts electrical signals from a controller into changes that happen in the world outside is called a actuator.
4. The scientific study of control and communication in the animal and the machine is called cybernetics.
5.  The process by which the output of a system connects to it’s input is called feedback.
6.  A component commonly used as an output that generates light is a LED.
7. A component commonly used as an output that moves an object about is motor.
8. A component commonly used as an output that generates sound is a piezo buzzer.
9.  If I wanted one device to talk to another device I would use serial communication.
10.  A component commonly used as an input that senses rates of change in the velocity of an object is called an accelerometer.

Quiz 6

1.The statements that actually do the work of your program are called Functions.
2.The statements that control how your program does what it does are called Structures.
3.The places your programs store data for it to work upon are called Variables.
4.Code that runs once and only once at the beginning of your program is in setup().
5.Code that runs repeatedly in your program is in loop().
6.This goes at the end of each statement in your program  semi-colon ;.
7.This is what you use to add small notes to yourself and others about specific parts of your program _line comment //_.
8.This is what you use to add larger notes to yourself and others about how your program works as a whole  block comment /* */.
9.This is the language that you are really using to program the arduino C/C++.

10. These  go around blocks of code to control how they are run curly brackets {}.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply