Do MineCraft Mods give your computer viruses?

Do MineCraft Mods give your computer viruses?

Do computer files give your computer viruses?

it totally depends on the mod and the place you get it from.

If the mod as you say has malware on it yes.
If not no the mod in general should work.