ENGR 120 Exam 1 Name : ______________________________ Written Portion: Allowed materials include calculator (without wireless capability), pencil or pen. Honor Statement: On my honor, I promise that I have not received any outside assistance on this exam (I didn’t look at another student’s paper, I didn’t view any unauthorized written materials, I didn’t talk or listen to another student, . . .). ___________________________________________signature Information that you may need: 18 1 coulomb = 6.24(10) electrons Avogadro’s Number = 6.022(10)23 per mol 1 inch = 2.54 cm color black brown red orange yellow green blue violet gray white digit 0 1 2 3 4 5 6 7 8 9 1. (3 points) The binary number 10101001 is equivalent to what decimal number? a. 4 b. 25 c. 50 d. 51 e. 52 f. 89 g. 169 h. 346 i. 1,010,001 2. (3 points) The decimal number 62 is equal to what binary number? a. 00000111 b. 00001110 c. 00011111 d. 00111110 e. 01111110 f. 10111110 g. 11111110 h. 01111111 i. 11111111 3. (3 points) The definition of a volt, based on fundamental units or quantities, is: a. Amps per coulomb b. Coulomb per second c. Joules per coulomb d. Joules per second e. Ohms f. Volts per coulomb 4. (3 points) Examples of materials that are good conductors are … a. Gold, silver, and plastic b. Copper, aluminum, and air c. LEDs, gold, and copper d. Copper, gold, and glass e. Aluminum, integrated circuits, and glass f. Glass, wood, and plastic g. Gold, aluminum, and copper 5. (3 points) If you need a resistor with 850 Ω, you would look for one with has the following color code: a. Black-green-gray b. Black-green-brown c. Brown-green-black d. Gray-green-black e. Gray-green-brown f. Gray-green-red g. Red-green-gray 6. (3 points) If the battery pack connected to the power jack of the Arduino Uno board contains 6 fresh AA batteries, then Vin should be equal to: a. 3.3 V b. 5 V c. 6 V d. 7 V e. 7.5 V f. 9 V g. 9.5 V h. 12 V i. We don’t use AA batteries with the Arduino. 7. (3 points) In a sketch with the statement “int LWTL = 5”, the “int” means that the Arduino should: a. Allocate enough storage space to store an integer value b. Create a variable using SI (system international) units c. Intercept the statement “LWTL = 5” d. No meaning; it’s just part of the statement we use to create a variable e. Pause for an interval to create a variable 8. (3 points) For the switch shown, terminal 1 is labeled C, terminal 2 is labeled NO and terminal 3 is labeled NC. When the switch is pressed, the resistance between which two terminals will change from almost infinite resistance to almost zero ohms? a. 1 and 2 b. 1 and 3 c. 1 and 4 d. 2 and 3 e. 2 and 4 f. 3 and 4 9. (3 points) One thing that will always be true about a group of resistors in parallel is that: a. Only one end of the resistors will be connected to each of the others. b. The current will be the same in all the resistors. c. The equivalent resistance will be smaller than any of the values of resistors. d. The equivalent resistance will be the sum of the resistor values, no matter how many. e. The power dissipated by each resistor will be equal to the square of the current leaving the voltage source times the value of each resistor. f. We can place no more than 8 resistors in parallel. 10. (3 points) The Arduino sketch below is meant to cause an LED connected to pin 6 to blink ON for 5 seconds and OFF for 2 seconds. The code has errors on either 2 or 3 lines. Choose the answer with the line numbers that contain errors that will cause the LED not to blink as desired and/or that will prevent the program from being downloaded successfully. a. (1) and (4) 1) void setup() { b. (1) and (4) and (8) 2) pinMode(6, INPUT); c. (2) and (7) 3) } d. (2) and (8) 4) void loop() { e. (4) and (9) 5) digitalWrite(6, HIGH); f. (5) and (7) 6) delay(5000); g. (6) and (8) 7) digitalWrite(6, LOW); h. (7) and (8) and (9) 8) delay(2000) 9) } 11. (5 points) Given the circuit shown below where V = 5 Volts, R1 = 100 Ohms, and R2 = 220 Ohms, the power in the 220 Ohm resistor is closest to: a. b. c. d. e. f. g. 0.014 Watts 0.034 Watts 0.054 Watts 0.074 Watts 0.094 Watts 0.114 Watts 0.134 Watts 12. (5 points) Given the circuit shown below where V = 9 Volts, R1 = 220 Ohms, and R2 = 470 Ohms, the voltage drop across the 470 Ohm resistor is closest to: a. b. c. d. e. f. g. h. 3.13 Volts 3.63 Volts 4.13 Volts 4.63 Volts 5.13 Volts 5.63 Volts 6.13 Volts 6.63 Volts 13. (5 points) Given a solid cylinder of pure copper with a diameter of 0.5 inches and a height of 2 inches. The number of valence electrons in the copper cylinder is closest to: a. b. c. d. e. f. g. h. 4.452 x 1023 4.952 x 1023 5.452 x 1023 5.952 x 1023 6.452 x 1023 6.952 x 1023 7.452 x 1023 7.952 x 1023 Atomic weight of Cu: 63.55 Density of Cu: 8.9 π πππ π ππ 3 Avogadro’s Number: 6.022 ∗ 10 3 ππ‘πππ πππ a.) 14. (5 points) A light bulb is powered using an AA battery rated at 2500mA·hr. The 1.5V battery lasts for 120 hours before the light bulb dims completely. Assuming a constant current, what is the resistance of the light bulb? a. 0.014 Ω b. 0.072 Ω c. 60 Ω d. 72 Ω e. 220 Ω f. 450 Ω 15. (5 points) If the total current leaving the 5 V source is 4 A, then the value of R1 is closest to: a. 1 Ω b. 2 Ω c. 3 Ω d. 4 Ω e. 5 Ω 16. (5 points) If the power dissipated by each resistor is 9 W, then the value of the voltage source is closest to: a. 4 V b. 5 V c. 6 V d. 9 V e. 12 V 17. (5 points) For the circuit below (where V1 = 9V, R1 = 330β¦, R2 = 1kβ¦), the current passing through R1 is closest to: a. b. c. d. e. 0.011A 0.027A 0.064A 0.191A 0.333A 18. (5 points) For the circuit below (where V1 = 5V, R1 = 1000β¦, R2 = 470β¦, R3 = 220β¦), the voltage drop across R3 is closest to: a. b. c. d. e. 1.6V 2.4V 3.9V 4.1V 5.0V 19. (5 points) When the photoresistor in the circuit diagram below has a resistance of 20kΩ, the integer value returned by the analogRead(3) function will be closest to: a. b. c. d. e. f. g. h. i. j. 84 208 291 341 388 503 650 732 821 1011 20. (5 points) The formula to find the density of a gas is density where P is pressure, R is a gas-specific constant, and T is absolute temperature. If you would like to enter a formula for density of CO2 into cell C8 in such a way as to be able to copy and paste it (or fill with the little black square on the lower right of C8) into all the cells in the block C8:F12 without modification, then you should enter the formula: Note: It would be a good idea to carry out a hand calculation to make sure you are handling the units correctly. a. =B8/($C2*C6) b. c. d. e. f. g. h. i. j. =$B8/($C$2*C$6) =B$8/($C$2*$C6) =B8*1000/($C$2*C6) =$B$8*1000/($C$2*$C$6) =B$8*1000/($C$2*$C6) =$B8*1000/($C$2*C$6) =$B$8/(1000*$C$2*C6) =$B8/(1000*$C$2*C$6) = B$8/(1000*$C$2*$C6) UNIT REMINDERS: ππ π π2 and πππ 1,000ππ and π½ π π 21. (5 points) Suppose the net number of electrons that leave the negative side of the battery in 2 hours is 2.247x1022. The power being dissipated by the resistor would be closest to: a. b. c. d. e. f. g. h. i. 97 MW (MW = megawatts: 106 Watts) 97 kW (kW = kilowatts: 103 Watts) 27 kW 900 W 30 W 15 W 7.5 W 17 mW (mW = milliwatts: 10-3 Watts) 8.3 mW 22. (5 points) Assuming the resistance of the photoresistor in the problem below is 100Ω, then the power dissipated at the photoresistor is closest to: 1mW (mW = milliwatt = 0.001 watt) 1.4mW 2.0mW 2.4mW 2.9mW 3.3mW 4.0mW 6.7mW 1.2W alligator scale rating = 5/10 a. b. c. d. e. f. g. h. i. ENGR 120 Exam 1 Name: ______________________________ Computer Portion: Allowed materials include calculator, computer and Mathcad. The radio on your computer must be turned off when working this exam (no wireless connection is allowed). Honor Statement: On my honor, I promise that I have not received any outside assistance on this exam (I didn’t look at another student’s paper, I didn’t view any unauthorized written materials, I didn’t talk or listen to another student, my network connectivity was not turned on, . . .). _____________________________________ signature please raise your hand after finishing the problem (10 points) Complete the following activities using Mathcad. Note: If you can’t do the units, just omit them for partial credit. (a) Enter a function for an equivalent resistance as a function INSTRUCTOR CHECK OF WORK: of an unknown resistor R1 (your function won’t look just like equivalent resistance function defined the one below in Mathcad): 1 1 120 1 220 0 1 1 β‘ β‘ function for current is defined β‘ range variable correctly entered β‘an appropriate plot of I versus R1 is presented (b) Enter a function for the current for a voltage source of 5 INSTRUCTOR NOTES: volts (your function won’t look just like the one below): 5 (c) Create a range variable allowing R1 to vary from 30Ω to 1000Ω in steps of 10Ω. (d) Plot I versus R1. β‘ units not embedded in Mathcad analysis