how are analog and digital signals alike?
Most commonly digital signals will be one of two values -- like either 0V or 5V. Timing graphs of these signals look like square waves. That's the big difference between analog and digital waves. Analog waves are smooth and continuous, digital waves are stepping, square, and discrete.