Work Machine

Hey guys I found a pretty nice recycling place that I was able to find some cheap computers. I was thinking about buying one of these because they are selling them for under 100 for older i5 processors. Would it work if I bought one of these and put like a gtx 1050 in it so I could display on 4k monitors for programming?

I will get specific details in the near future but I was wondering if 4k would work if the cpu has only around that level of processing?

Also if this would work would you guys know where I could get some 60 hz 4k monitors for this work station?

im assuming if you are connecting to the 1050 then the monitors are dependent on the gpu. not cpu or m/b. most motherboards now say 4k ready because they think you will directly plug into the m/b