The invention relates to novel cycloalkyl- or cycloalkenyl-substituted pyrazolopyrimidinones of formula (I). wherein A, R1-R5 and x are as defined herein, and their use as medicaments for improving perception, concentration, learning and/or memory in patients in need thereof.