Can you guess what's wrong in this photo?
You likely won't run into this unless your viewing a home that's been abandoned or been sitting vacant for a while. Likely this will be seen in a fixer upper. This home in particular was in a lower income area and the house had been neglected and sitting empty for some time.
What you're looking at is stripped electrical. Someone has cut the incoming electrical and then pulled all the electrical (yellow) wire from the house in order to sell the copper wire for money. Unfortunately, this means several thousands to rerun all the electrical wire back through the home.