If yellow line is there on monitor, the computer should repair?

Solution
try the monitor on another pc to rule out the pc video card or the monitor. try another video cable your old cable could have a bad pin or broken wire.