Yes, for most of the online contests, number of wrong submissions contribute to "penalty".
More wrong submissions you get, the lower placing you gonna get despite solving the same number of problems and same time for solves.
But for some of the OI contests (e.g. IOI), it is fully based on scores only and completely ignoring the number of wrong submissions.
I know that codeforces style (AKA ICPC style) has this penalty system, but if you are given the choice, which would you choose?