Ok… I’ve been teaching this lesson for a while now and I can’t seem to come to terms with whether a charging cord is an input. The students always ask and my gut says no, but they have pretty decent arguments for it. So… convince me.
@edavis I’d go with no on that one. Inputs are ways users give information to the computer so that it can be processed and produce an output. A power cord is more like a way to repair the hardware that has broken, i.e. the battery. I suppose you can argue the technicality that the “charging” indicator works only when the cord is plugged in, but I’d turn back and say that there’s probably a sensor on the battery that actually detects whether it’s being charged, rather than the cord itself being the input device.
That said, what are their arguments? If they can defend their case well enough, I might entertain the idea of giving them some points.