Lite / Building Machines That Respond / Term 2 worksheet
Worksheet: Building Machines That Respond, term 2
Name: Date:
Week 10: Charge on the move
1. In a single loop with a battery, a switch and three lamps, where is the current biggest?
- Next to the + terminal
- Next to the − terminal
- It is the same everywhere in the loop
- In the first lamp
2. A heater element carries 3 A for 20 s. How much charge flows, in coulombs?
Answer: C
3. A current of 100 mA carries 6 C of charge through a lamp. For how many seconds was it flowing?
Answer: s
4. A sensor draws 500 mA for 4 s. How much charge is that, in coulombs?
Answer: C
5. The switch in a single loop is opened. What happens to the current in the wire right next to the battery?
- It keeps flowing there, just not past the switch
- It stops
- It reverses direction
6. In a copper wire connected to a battery, which way do the electrons drift?
- From + to −, the same way as conventional current
- From − to +, opposite to conventional current
- They do not move at all
Week 10: Voltage: the energy each charge carries
1. What does '5 V' on a USB charger tell you?
- It delivers 5 coulombs every second
- Each coulomb of charge gains 5 joules of energy
- It can power exactly 5 devices
2. A 12 V supply drives three resistors in series. Two of them have 3 V and 5 V across them. What is the voltage across the third, in volts?
Answer: V
3. A 3.7 V battery pushes 20 C of charge round a circuit. How much energy does it give that charge, in joules?
Answer: J
4. A 6 V battery delivers 0.5 A for 10 s. How much energy does it hand out, in joules? (First find the charge.)
Answer: J
5. To measure the voltage of a lamp, where do the meter's two probes go?
- Both on the same wire, a little apart
- One on each side of the lamp
- In the gap made by opening the circuit
Week 10: Conductors, insulators and why silicon
1. Pure silicon at room temperature is best described as…
- A conductor
- An insulator
- A semiconductor
2. What does doping do to silicon?
- Adds a few impurity atoms that supply extra charge carriers, lowering resistivity hugely
- Coats it in metal so it conducts
- Heats it permanently
3. Pure silicon's resistivity is about 2.3 × 10³ Ω·m and copper's about 1.7 × 10⁻⁸ Ω·m. To the nearest whole number, how many powers of ten apart are they?
Answer:
4. A thermistor's resistance falls as it warms up. It is most likely made of…
- Copper
- A semiconductor
- Rubber
5. Which is NOT a reason chips are made from silicon?
- It is abundant, found in sand
- It forms an excellent insulating oxide layer
- It is the best electrical conductor known
- Its conductivity can be set precisely by doping
Week 11: What resistance does, and what sets it
1. You use a wire three times as long, same material and thickness. Its resistance…
- Is a third
- Stays the same
- Triples
2. A copper wire is 25 m long with a cross-section of 0.5 mm². Its resistivity is 0.0168 Ω·mm²/m. What is its resistance, in ohms?
Answer: Ω
3. A nichrome element (ρ = 1.1 Ω·mm²/m) is 2 m long with a 0.5 mm² cross-section. What is its resistance, in ohms?
Answer: Ω
4. Why are a robot's battery cables made thick?
- Thick cables look more robust
- Larger area means lower resistance, so less heating and voltage drop at high current
- Thick cables store extra charge
5. A copper wire has resistance 0.8 Ω. You replace it with one of the same material, half as long and twice the cross-section. New resistance in ohms?
Answer: Ω
Week 11: The water analogy, and where it breaks
1. In the water analogy, voltage corresponds to…
- The amount of water in the pipes
- The pressure difference the pump creates
- The width of the pipe
2. Which prediction of the water analogy is WRONG for a real circuit?
- More pump pressure gives more flow
- A narrower pipe gives less flow
- Cutting the pipe makes the charge spill out of the gap
- Two pipes side by side carry more than one
3. The analogy tempts people to think a battery is a tank of charge. What is it really?
- A store of energy that pushes charge already in the wires
- A store of electrons that get used up
- A pipe with no resistance
4. A component has 5.64 V across it and 12 mA through it. What is its resistance, in ohms?
Answer: Ω
5. Using the analogy and then checking with V = IR: a 6 V supply has one 1 kΩ resistor (6 mA). You add a second 1 kΩ in parallel. The total current becomes…
- 3 mA
- 6 mA
- 12 mA
Week 11: Real resistors, and sensors that resist
1. A 470 Ω ± 5% resistor: what is the lowest resistance it could have, in ohms?
Answer: Ω
2. A resistor is marked 220 Ω ± 10%. What is the smallest resistance it could really have, in ohms?
Answer: Ω
3. Why don't shops sell every possible resistance value?
- Only E24 values obey Ohm's law
- Steps about 10% apart, combined with tolerance, already cover every value closely enough
- Other values would be too expensive to calculate with
4. An LDR is moved from bright light into darkness. Its resistance…
- Falls
- Rises
- Stays the same
5. An NTC thermistor in a battery pack reads 10 kΩ at 25 °C. If the pack heats up, the reading will…
- Go above 10 kΩ
- Go below 10 kΩ
- Stay at 10 kΩ
Week 12: Ohm's law: V = I × R
1. There are 6 V across a 1.5 kΩ resistor. What current flows, in milliamps?
Answer: mA
2. On a current-against-voltage graph, resistor X's line is steeper than resistor Y's. Which has the larger resistance?
- X
- Y
- They are equal
3. There are 3.76 V across a 470 Ω resistor. What current flows, in milliamps?
Answer: mA
4. A component has 5.64 V across it and 12 mA through it. What is its resistance, in ohms?
Answer: Ω
5. A filament lamp's V–I graph curves so that equal voltage steps give smaller and smaller current steps. Why?
- The lamp is broken
- Its filament heats up and its resistance rises
- Ohm's law stops working at high voltage for everything
6. 5 mA flows through a 2.2 kΩ resistor. What is the voltage across it, in volts?
Answer: V
Week 12: Keep the LED alive: current-limiting resistors
1. A red LED (Vf = 2.0 V) runs from 5 V and should carry 15 mA. What series resistor is needed, in ohms?
Answer: Ω
2. A red LED drops 2.0 V when lit. It runs from a 12 V supply and should carry 5 mA. What series resistor is needed, in ohms?
Answer: Ω
3. You fit a 220 Ω resistor in series with a red LED (Vf = 2.0 V) on 5 V. What current actually flows, in milliamps?
Answer: mA
4. Why must an LED never be connected straight across a 5 V supply?
- LEDs only work on AC
- Without a resistor nothing limits the current, which can rise far above the LED's rating
- It would be too dim
5. The same 150 Ω resistor and 5 V supply are used with a red LED (2.0 V) and then a blue LED (3.0 V). Which carries more current?
- Red
- Blue
- The same
Week 12: Module check: when calculation meets simulation
1. To measure the current through a resistor, the ammeter must be…
- Connected across the resistor, in parallel
- Connected in series, so the current flows through it
- Connected anywhere, as long as it is switched on
2. A 1 kΩ ± 5% resistor is across 5 V. What is the largest current it could carry, in milliamps?
Answer: mA
3. There are 3.76 V across a 470 Ω resistor. What current flows, in milliamps?
Answer: mA
4. A red LED drops 2.0 V when lit. It runs from a 9 V supply and should carry 20 mA. What series resistor is needed, in ohms?
Answer: Ω
5. A motor draws a steady 1200 mA for 60 s. How much charge flows through it, in coulombs?
Answer: C
6. A nichrome wire is 10 m long with a cross-section of 1.5 mm². Its resistivity is 1.1 Ω·mm²/m. What is its resistance, in ohms?
Answer: Ω
7. A simulated LED circuit shows 0 mA. The supply is 2.5 V, the LED is blue (3.0 V) and the resistor is 100 Ω. Why?
- The resistor is too small
- The supply is below the LED's forward voltage, so it never turns on
- Ohm's law does not apply to LEDs
8. Your answer is exactly 1000 times bigger than the simulator's. The most likely cause is…
- Resistor tolerance
- Rounding
- A unit slip, such as mA vs A or kΩ vs Ω
Week 13: Series circuits: one path, shared voltage
1. What is the total resistance of 220 Ω, 470 Ω and 1000 Ω in series, in ohms?
Answer: Ω
2. Resistors of 1500 Ω, 150 Ω are in series across a 3 V supply. What current flows, in milliamps?
Answer: mA
3. Two resistors, 1 kΩ and 2 kΩ, are in series on 6 V. What is the voltage across the 2 kΩ resistor, in volts?
Answer: V
4. You add a third resistor in series with two others. The current from the supply…
- Increases
- Decreases
- Stays the same
5. Four 1.5 V cells are connected in series, + to −. What voltage do they give?
- 1.5 V
- 3 V
- 6 V
Week 13: Parallel circuits: many paths, shared current
1. Two 2.2 kΩ resistors are in parallel. What is the combined resistance, in ohms?
Answer: Ω
2. A 220 Ω resistor and a 220 Ω resistor are connected in parallel. What is the combined resistance, in ohms?
Answer: Ω
3. A 1 kΩ and a 2 kΩ resistor are in parallel across 6 V. What is the total current from the supply, in milliamps?
Answer: mA
4. A 100 Ω resistor and a 10 kΩ resistor are in parallel. The combined resistance is…
- About 10.1 kΩ
- Just under 100 Ω
- About 5 kΩ
5. In a parallel circuit of three lamps, one lamp's filament breaks. The other two…
- Go out
- Stay lit with the same brightness
- Get brighter because they share the current
Week 13: Voltage dividers: turning resistance into a reading
1. A divider has R1 = 10 kΩ and R2 = 4.7 kΩ across 9 V. What is Vout, in volts?
Answer: V
2. A voltage divider has R1 = 3.3 kΩ on top and R2 = 220 Ω on the bottom, across 3.3 V. Nothing is connected to the output. What is Vout across R2, in volts?
Answer: V
3. An LDR is the bottom resistor of a divider. The room gets brighter. Vout…
- Rises
- Falls
- Stays the same
4. 10 kΩ over 10 kΩ across 5 V gives 2.5 V. A 10 kΩ load is connected to the output. What is the new Vout, in volts?
Answer: V
5. A 12 V battery must be read by a 3.3 V input. Which divider is safe?
- R1 = 10 kΩ, R2 = 27 kΩ
- R1 = 27 kΩ, R2 = 10 kΩ
- R1 = 10 kΩ, R2 = 10 kΩ
Week 14: Electrical power: how fast energy flows
1. A USB port supplies 5 V at 0.5 A. What power is that, in watts?
Answer: W
2. A device runs at 24 V and draws 0.25 A. What power does it use, in watts?
Answer: W
3. 50 mA flows through a 100 Ω resistor. How much power does it turn into heat, in watts?
Answer: W
4. Which resistor would exceed a 0.25 W rating?
- 470 Ω on 5 V
- 1 kΩ on 12 V
- 100 Ω on 9 V
5. The current through a resistor doubles. Its heating power becomes…
- The same
- Twice as much
- Four times as much
Week 14: Energy over time: watt-hours and what they cost
1. A 20 W device runs for 3 hours. How much energy does it use, in watt-hours?
Answer: Wh
2. A 10 W device runs 12 hours a day for 7 days. Electricity costs 20 p per kWh (an illustrative price). What does that energy cost, in pounds?
Answer: £
3. How many joules are in 2 Wh?
Answer: J
4. To compare how much two devices add to an electricity bill, you should compare their…
- Power ratings only
- Energy used: power × hours of use
- Voltages
5. A 0.5 W standby light is on all day, every day, for a year (365 days). How many kWh does it use?
Answer: kWh
Week 14: Battery budgets: peak, average and run time
1. A controller draws a constant 50 mA and a motor draws 1500 mA for 10% of the time. What is the average total current, in mA?
Answer: mA
2. A robot's 1000 mAh battery feeds an average current of 400 mA. Ignoring losses, roughly how many hours will it run?
Answer: h
3. A 2000 mAh battery has a voltage of 3.7 V. How much energy does it store, in Wh?
Answer: Wh
4. Which number decides whether the battery and wires can cope when the motor starts?
- The average current
- The peak current
- The battery's weight
5. A 47 Ω resistor has 3 V across it. How much power does it dissipate, in watts?
Answer: W
Week 15: Logic gates and truth tables
1. When does A XOR B output 1?
- When both inputs are 1
- When the inputs are different
- When at least one input is 1
2. With A = 0, B = 1 and C = 0, what is Y = ¬A ⊕ C? Answer 0 or 1.
Answer:
3. How many rows does the truth table of a 4-input gate have?
Answer: rows
4. With A = 1, B = 0 and C = 0, what is Y = (C ⊕ B) ⊕ A? Answer 0 or 1.
Answer:
5. Which gate's truth table is the exact opposite (every output flipped) of OR?
- AND
- NOR
- XOR
Week 15: From safety rules to Boolean expressions
1. Machine runs only if the guard is closed (G), the operator is present (P) and there is no fault (F = 1 means fault). Which expression?
- G + P + ¬F
- G · P · F
- G · P · ¬F
2. Write out the 8-row truth table for Y = ¬A ⊕ C (inputs A, B, C). On how many rows is Y = 1?
Answer: rows
3. How many of the 8 rows of Y = A · (B + C) have Y = 1?
Answer: rows
4. Write out the 8-row truth table for Y = (C ⊕ B) ⊕ A (inputs A, B, C). On how many rows is Y = 1?
Answer: rows
5. 'The light is on if it is dark (D), unless the switch is off (S = 1 means switch off).' Which expression?
- D + S
- D · ¬S
- ¬D · S
Week 15: Module check: simplifying logic
1. Simplify Y = A·B + A·¬B.
- B
- A
- A·B
- 1
2. By De Morgan's law, ¬(A + B) equals…
- ¬A + ¬B
- ¬A · ¬B
- A · B
3. Write out the 8-row truth table for Y = (B + ¬A) + C (inputs A, B, C). On how many rows is Y = 1?
Answer: rows
4. With A = 1, B = 0 and C = 0, what is Y = (C ⊕ B) ⊕ A? Answer 0 or 1.
Answer:
5. The majority function's row-by-row form uses 12 literals. How many literals does its simplest sum of products use?
Answer: literals
6. On a three-input K-map, four 1s form one group (a whole row or a 2 × 2 block). The resulting term has…
- Three literals
- Two literals
- One literal
7. Simplify A + A · B.
- A · B
- A
- B
- A + B
Week 16: Everything from NAND
1. How do you make NOT from a single NAND?
- Connect one input to 0
- Connect both inputs to the signal
- Connect one input to the output
2. How many NAND gates does the standard De Morgan construction of a two-input OR use?
Answer: gates
3. How many NAND gates does the classic XOR construction use?
Answer: gates
4. In the four-NAND XOR, with A = 1 and B = 1, what is g1 = NAND(A, B)?
- 0
- 1
5. With A = 0, B = 0 and C = 0, what is Y = ¬(A + (B + ¬A))? Answer 0 or 1.
Answer:
6. Why can't AND and OR gates alone build every logic function?
- They are too slow
- They cannot make NOT: with all inputs 0 their output is always 0
- They need too many transistors
Week 16: Half adders and full adders
1. A half adder is built from…
- Two ANDs
- An XOR for the sum and an AND for the carry
- An OR for the sum and a NOT for the carry
2. For a full adder with A = 1, B = 1, Cin = 1, read Cout S as a 2-bit binary number. What is its value in decimal?
Answer:
3. A full adder's sum output S is 1 exactly when…
- All three inputs are 1
- An odd number of inputs are 1
- At least two inputs are 1
4. With A = 1, B = 0 and C = 0, what is Y = (C ⊕ B) ⊕ A? Answer 0 or 1.
Answer:
5. An unsigned 8-bit register adds 01110011 + 00001101. What value does the register hold afterwards, in decimal? (Any carry out of the top bit is lost.)
Answer:
6. How many full adders does an 8-bit ripple-carry adder use (one per column)?
Answer: adders
Week 16: Multiplexers and decoders: choosing and pointing
1. In a 2:1 multiplexer Y = ¬S·A + S·B, what does S = 0 do?
- Outputs B
- Outputs A
- Outputs A AND B
2. How many select lines does a multiplexer need to choose one of 16 inputs?
Answer: lines
3. How many outputs does a 3-to-8 decoder switch between, and how many are active at once? Give the number of outputs.
Answer: outputs
4. With A = 1, B = 0 and C = 0, what is Y = (C ⊕ B) ⊕ A? Answer 0 or 1.
Answer:
5. A 2-to-4 decoder receives A1 A0 = 10. Which output is active?
- D1
- D2
- D3
Week 17: Binary and hexadecimal
1. What is binary 1011 in decimal?
Answer:
2. What is the binary number 11010011 in decimal?
Answer:
3. What is the hexadecimal number 85 (0x85) in decimal?
Answer:
4. What is 0x2A in decimal?
Answer:
5. What is the largest value a 16-bit unsigned number can hold?
Answer:
Week 17: Multi-bit addition and the ripple-carry adder
1. Add 0110 + 0111 (4-bit). Give the result as a decimal number.
Answer:
2. An unsigned 4-bit register adds 1101 + 0100. What value does the register hold afterwards, in decimal? (Any carry out of the top bit is lost.)
Answer:
3. An unsigned 4-bit register adds 1000 + 1001. What value does the register hold afterwards, in decimal? (Any carry out of the top bit is lost.)
Answer:
4. Using the model 'first carry after 3 gate delays, then 2 more per extra bit', how many gate delays does an 8-bit ripple-carry adder need for its final carry?
Answer: delays
5. Which 4-bit addition makes the carry ripple through every column?
- 0001 + 0010
- 0111 + 0001
- 0100 + 0100
Week 17: Overflow and negative numbers
1. In a 4-bit unsigned register, what is 1011 + 0110? Give the value the register holds, in decimal.
Answer:
2. What is −2 in 4-bit two's complement? Give the bit pattern's unsigned value in decimal.
Answer:
3. What is −5 in 4-bit two's complement? Give the bit pattern's unsigned value in decimal.
Answer:
4. An unsigned 4-bit register adds 1011 + 1100. What value does the register hold afterwards, in decimal? (Any carry out of the top bit is lost.)
Answer:
5. Which 4-bit two's complement addition overflows?
- 0011 + 1110 (3 + −2)
- 0101 + 0100 (5 + 4)
- 1111 + 1111 (−1 + −1)
6. What is −5 in 4-bit two's complement? Give the bit pattern's unsigned value in decimal.
Answer:
Week 18: Project: specify a fault-tolerant interlock
1. How many rows does the truth table of a 4-input interlock have?
Answer: rows
2. On how many rows is Y = A · B · C · ¬D equal to 1?
Answer: rows
3. Guard sensor A is stuck at 1 and the guard is open (B = 0). C = 1, D = 0. The machine…
- Runs, because A says closed
- Stays stopped, because B = 0
- Runs only if the operator presses harder
4. Which failure can Y = A · B · C · ¬D NOT protect against on its own?
- Guard sensor A stuck at 1
- Guard sensor B stuck at 1
- Both guard sensors stuck at 1 at the same time
5. Write out the 8-row truth table for Y = ¬(A + (B + ¬A)) (inputs A, B, C). On how many rows is Y = 1?
Answer: rows
Week 18: Project: build, test every row and light the indicator
1. A 5 V logic output drives a red LED (Vf = 2.0 V) through 330 Ω. What current flows, in milliamps?
Answer: mA
2. What power does the 330 Ω resistor dissipate in that circuit, in milliwatts?
Answer: mW
3. A red LED drops 2.0 V when lit. It runs from a 9 V supply and should carry 15 mA. What series resistor is needed, in ohms?
Answer: Ω
4. Your interlock passes 15 of its 16 rows in testing; you skipped one because 'it obviously works'. What should you do?
- Ship it; 15 out of 16 is 94%
- Test the last row: exhaustive testing is cheap here and that row might be the faulty one
- Test the first row again to be sure
5. Could the interlock's logic output drive the machine's motor directly?
- Yes, if the motor is small
- No: a logic output can only supply a small current; a motor needs a driver circuit
- Yes, through a bigger resistor