Determination of Cosmological Parameters with a Sample of Quasars