Quiz Section 4
Quiz Section 4
(d) Connecting a 1.5-V cell between GND and a digital input of a microcontroller
5. Under which of the following circumstances would you use an external pull-up resistor
on a digital input?
(a) Every time you connect a switch to a digital input.
(b) Whenever the lead between the digital input and the switch is long.
(c) Whenever you connect a digital output from one microcontroller to the digital input
of another.
(d) When the digital input is on a 3.3V microcontroller.
6. Which of the following voltages at a digital input is most likely to result in a logical HIGH
being registered by the microcontroller?
(a) 2 V on a 5-V microcontroller
(b) 0 V on a 5-V microcontroller
(c) 2 V on a 3.3-V microcontroller
(d) None of the above
7. What current would flow through an LED with a forward voltage of 2 V and a series resistor
of 1k (1000 ohms) driven by a 5-V digital output?
(a) 1 mA
(b) 2 mA
(c) 3 mA
(d) 4 mA
8. Debouncing of switches is
(a) only possible using hardware.
(b) usually done using software.
(c) never necessary.
(d) None of the above
12. An 8-bit analog input to a microcontroller will be digitized into a number in the range
(a) 0 to 256.
(b) 0 to 1023.
(c) 0 to 4096.
(d) 0 to 255.
13. What would be the digitized value of a 1-V input to an analog input of a 5-V microcontroller
with an 8-bit ADC?
(a) 1
(b) 51
(c) 48
(d) 127
17. Which of the following baud rates is not commonly used with serial interfaces?
(a) 100
(b) 300
(c) 1200
(d) 9600
Answers:
1. b, 2. a, 3. c, 4. b, 5. b, 6. c, 7. c, 8. b, 9. d, 10. d, 11. d, 12. d, 13. b, 14. a, 15. d, 16. b, 17. a, 18. a, 19. c, 20.
c
12. A constant
(a) is a variable that cannot be changed while the program is running.
(b) is something known with certainty about what the program should do.
(c) is the same thing as a variable.
(d) uses more memory than a variable.
13. A “Sketch” is
(a) a rough design on paper for how your program is to work.
(b) a schematic for the electronic components that you are planning to connect to an
Arduino.
(c) code to be “included” into your program that provides access to specialized
hardware.
(d) the Arduino terminology for a program.
14. What output would you see on the Serial Monitor after running this sketch?
void setup() {
Serial.begin(9600);
int x = 12;
x++;
Serial.println(x);
}
void loop() {}
(a) 0
(b) 12
(c) 13
(d) 9600
15. What will happen when you run the following sketch?
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(200);
digitalWrite(13, LOW);
}
(a) The “L” LED will blink 200 times a second.
(b) The “L” LED will blink 5 times a second.
(c) The “L” LED will appear to be on all the time.
(d) The “L” LED will appear to be off all the time.
18. Which of the following for constructs will count from 5 to 10 using the variable i?
(a) for (int i = 5; i <= 10; i ++)
(b) for (int j = 5; i <= 10; j ++)
(c) for (int i = 5; i < 10; i ++)
(d) for (int i = 1; i <= 5; i ++)
19. What is the maximum positive value that you can hold in a variable of type int?
(a) 255
(b) 256
(c) 65535
(d) 32767
20. Why do you need to use a reverse-biased diode across the coils of a relay?
(a) To boost the current
(b) To boost the voltage
(c) To “snub” voltage spikes as a result of switching the current to the coil
(d) None of the above
Answers:
1. b, 2. d, 3. c, 4. a, 5. d, 6. d, 7. d, 8. d, 9. b, 10. a, 11. b, 12. a, 13. d, 14. c, 15. c, 16. b, 17. d, 18. a, 19. d,
20. c
1. What would a mobile robot most likely use to locate itself in a large vacant parking lot?
(a) A capacitive proximity sensor with multiple RF beacons
(b) A dynamic transducer with multiple IR beacons
(c) An optical shaft encoder with multiple visible-light beacons
(d) An acoustic direction finder with multiple ultrasonic beacons
3. Which of the following systems, if any, can use magnetic receptors and a microcomputer to
sense the presence of, and detect changes in, an external magnetic field?
(a) A capacitive proximity sensor
(b) A sonar
(c) A potentiometer
(d) None of the above
8. Which of the following types of transducer would you be most likely to use to generate ultrasound? b
(a) Optical encoder
(b) Piezo-electric
(c) Electric generator
(d) Elastomer
12. When you apply AF voltage to the plates of an electrostatic transducer, the electric field
between the plates fluctuates in intensity, causing
(a) a magnetic field that moves the coil, producing sound waves.
(b) the capacitance to vary, thereby generating a phase shift.
(c) forces that move the flexible plate, producing sound waves.
(d) the plates to charge and discharge, producing AF current.
14. In a dynamic pickup or microphone, incident sound waves cause AF current to flow in the
coil as a result of
(a) the coil’s motion within a magnetic field.
(b) the coil’s motion within an electrostatic field.
(c) a DC voltage applied to the coil.
(d) changes in the capacitive reactance across the coil.
15. A motor whose shaft rotates in discrete increments (not continuously) is called
(a) an incremental motor.
(b) a stepper motor.
(c) a fractional motor.
(d) a selsyn.
Answers:
1. d, 2. b, 3. d, 4. b, 5. a, 6. d, 7. d, 8. b, 9. d, 10. b, 11. b, 12. c, 13. a, 14. a, 15. b, 16. b, 17. a, 18. d, 19. c,
20. b
Quiz – Chapter 32 – Antennas for RF Communication
1. An antenna has a radiation resistance of 900 ohms and a loss resistance of 100 ohms. What’s
its ef ficiency to the nearest percentage point?
(a) 66 percent
(b) 75 percent
(c) 90 percent
(d) 93 percent
2. An antenna has a radiation resistance of 10 ohms and a loss resistance of 40 ohms. What’s its
ef ficiency to the nearest percentage point?
(a) 20 percent
(b) 25 percent
(c) 33 percent
(d) 67 percent
3. A circular loop antenna that measures exactly one wavelength in circumference, and that lies
entirely in a single plane, radiates best
(a) in all possible directions; it’s isotropic.
(b) in the plane perpendicular to the loop axis.
(c) along the loop axis in both directions.
(d) along the loop axis in one direction.
4. How long is a wavelength in free space at 7.05 MHz? Round your answer to three signi ficant
figures.
(a) 279 ft
(b) 140 ft
(c) 69.8 ft
(d) 34.9 ft
5. How long should you cut either side of a straight, center-fed, half-wavelength open dipole
wire antenna for operation at a fundamental frequency of 7.05 MHz, taking into account the
typical velocity factor for thin wire? Round your answer to three signi ficant figures.
(a) 33.1 ft
(b) 66.2 ft
(c) 132 ft
(d) 265 ft
6. The feed-point impedance of a half-wave, center-fed, two-wire folded dipole is a pure resistance of
(a) eight times that of a half-wave open dipole made from a single wire.
(b) four times that of a half-wave open dipole made from a single wire.
(c) twice that of a half-wave open dipole made from a single wire.
(d) the same as that of a half-wave open dipole made from a single wire.
7. Even if an antenna system has a lot of loss resistance, it can work ef ficiently if you design it to
have an extremely
(a) low reactance.
(b) high reactance.
(c) low radiation resistance.
(d) high radiation resistance.
9. You want to transmit radio signals with a base-fed, inductively loaded, short vertical antenna
over perfectly conducting ground. The inductor comprises a low-loss coil. You feed the antenna
with low-loss 50-ohm coaxial cable. Your radio is designed to work into a nonreactive, 50-ohm
load. You’ll get the best results if you
(a) make the antenna less than wavelength tall.
(b) use thick copper tubing as the radiating element.
(c) install a wide-range antenna tuner at the feed point.
(d) feed the antenna directly with the cable.
13. To get reasonable ef ficiency with a half-wavelength vertical antenna mounted over ground
with fair conductivity (using a wide-range antenna tuner at the antenna’s base to match the
radiator to the feed line), you should
(a) make the radiating element a thick, solid metal rod.
(b) use a ground rod and a few radials (you won’t need many).
(c) bury at least 100 radials measuring a half wavelength or more.
(d) salt the earth near the antenna to improve the ground conductivity.
14. Imagine a ground-plane antenna measuring wavelength tall, with four radials each
wavelength long and drooping at 45 . You elevate the feed point at least wavelength above
the surface and let the radials double as guy wires. This antenna has a purely resistive feed-point
impedance of approximately
(a) 37 ohms.
(b) 50 ohms.
(c) 73 ohms.
(d) 100 ohms.
15. When the total loss resistance in an antenna equals exactly half the feed-point radiation
resistance, the antenna’s ef ficiency is
(a) 33 percent.
(b) 50 percent.
(c) 67 percent.
(d) 75 percent.
17. A small loopstick receiving antenna is most sensitive to signals arriving from
(a) all possible directions; it’s isotropic.
(b) directions in the plane perpendicular to the loop axis.
(c) along the loop axis in both directions.
(d) along the loop axis in one direction.
18. Which of the following transmission-line types is ideally suited for use with a half-wave
folded dipole?
(a) Parallel-wire line
(b) Waveguide
(c) Coaxial cable
(d) Any of the above; it doesn’t matter
19. Which of the following antennas works best for satellite TV?
(a) Folded dipole
(b) Ground plane
(c) Loopstick
(d) Dish
20. Which of the following antenna types can provide signi ficant power gain over a half-wave
dipole?
(a) Yagi
(b) Dish
(c) Helical
(d) All of the above
Answers:
1. c, 2. a, 3. c, 4. b, 5. a, 6. b, 7. a, 8. c, 9. c, 10. d, 11. a, 12. d, 13. b, 14. b, 15. c, 16. d, 17. b, 18. a, 19. d, 20.
d
Quiz - Part 4
2. Figure Test 4-1 illustrates a pressure sensor. What’s the material marked X?
(a) Quartz crystal
(b) Dielectric foam
(c) Conductive foam
(d) Solid dielectric
(e) Semiconducting foam
4. What’s the technical term for a device that determines the distance to an object by
transmitting sound pulses toward it and measuring the echo time?
(a) Acoustar
(b) Sonar
(c) Radar
(d) Sonic ranging
(e) Echo ranging
8. The simplest audio waveform, which concentrates all the energy at a single
frequency, is a
(a) square wave.
(b) ramp.
(c) sinusoid.
(d) triangular wave.
(e) harmonic.
10. A half-wavelength vertical antenna, fed at the base and mounted on the surface, radiates ef ficiently
even if the ground conductivity is not very good. That’s because the feed-point impedance is
(a) a pure capacitive reactance.
(b) a pure inductive reactance.
(c) a pure and high resistance.
(d) a pure and low resistance.
(e) zero.
11. An eight-bit analog input will provide a digital numeric value between
(a) 1 and 256.
(b) 0 and 1023.
(c) 1 and 1024.
(d) 0 and 100.
(e) 0 and 255.
13. Which of the following antenna types has a bidirectional radiation pattern, as opposed to a
unidirectional pattern?
(a) Dish
(b) Horn
(c) Helical
(d) Broadside array
(e) Corner re flector
15. Which of the following statements about “setup” and “loop” is false?
(a) “Setup” will run when the Arduino is powered up.
(b) “Loop” will run repeatedly when the Arduino is powered up.
(c) Pressing the Reset button will result in “setup” being run.
(d) After the “loop” function has run, the Arduino checks for serial programming updates.
(e) “Setup” can contain only one line of code.
18. What’s the maximum positive number that can be stored in a variable of type “int” in Arduino C?
(a) 255
(b) 127
(c) 2,147,483,647
(d) 65,535
(e) 32,767
19. What type of antenna transmits and receives radio waves with circular polarization?
(a) Helical
(b) Broadside
(c) End-fire
(d) Dish
(e) Quad
20. At the feed point, a single-turn, circular-loop antenna a half wavelength in circumference
exhibits a
(a) high inductive reactance.
(b) high capacitive reactance.
(c) low radiation resistance.
(d) high radiation resistance.
(e) short circuit.
24. At a fixed location, the distance to the radar horizon depends on the
(a) height of the antenna.
(b) contour of the surrounding terrain.
(c) transmitter output power.
(d) weather conditions in the vicinity.
(e) All of the above
25. What purpose can the small loop shown in Fig. Test 4-2 effectively serve?
(a) Radio direction finding (RDF) below 20 MHz
(b) Transmitting below 100 kHz
(c) An isotropic receiving antenna at any frequency
(d) The tuned circuit in a microwave oscillator
(e) Transmitting or receiving at any frequency
27. A half-wavelength straight wire fed at one end with a quarter-wave section of parallel-wire
transmission line is
(a) a zepp antenna.
(b) an open dipole antenna.
(c) a longwire antenna.
(d) an isotropic antenna.
(e) a quarter-dipole antenna.
28. Which of the following devices comprises a coil-and-magnet assembly that converts varying
electric currents into sound waves?
(a) Acoustic converter
(b) Acoustic repeater
(c) RF transducer
(d) Loudspeaker
(e) DC transducer
1. c, 2. b, 3. d, 4. b, 5. a, 6. a, 7. e, 8. c, 9. d, 10. c, 11. e, 12. b, 13. d, 14. c, 15. e, 16. e, 17. e, 18. e, 19. a, 20.
d, 21. b, 22. a, 23. c, 24. e, 25. a, 26. d, 27. a, 28. d, 29. d, 30. c