2 hard drives vs 2 partition on one hard drive?

Hi is it better to use 2 hard drives one for data and the other for operating system incase you have a virus it would not affect the data drive. OR if I use one hard drive and have 2 partitions on there which is OS and data, would the virus affect the data on the same hard drive? Thanks let me know.
11 answers 11