A base will deprotonate any acid whose pKa is lower than that of its own conjugate acid. That one comparison answers most acid-base exam questions.

Table 1. pKa values for acids commonly met in organic chemistry
AcidConjugate basepKaWhy it matters
HII−10Strong acid — fully dissociated
HBrBr−9Strong acid
H2SO4HSO4−9First proton
HClCl−7Strong acid
H3O+H2O−1.7Levelling acid in water
HNO3NO3−1.4Strong acid
HFF3.2Weak despite the strong bond
CH3COOHCH3COO4.76Reference carboxylic acid
H2CO3HCO36.4Blood buffer
H2SHS7.0More acidic than water
NH4+NH39.2Ammonium
HCNCN9.2Cyanide is a good nucleophile
C6H5OHC6H5O10.0Phenol — resonance-stabilised anion
CH3SHCH3S10.3Thiol beats alcohol
H2OHO15.7The one to memorise
CH3CH2OHCH3CH2O16Alcohols ≈ water
CH3COCH3Enolate19.2α-hydrogen of a ketone
HC≡CHHC≡C25Terminal alkyne — NaNH2 deprotonates it
NH3NH238Sodium amide is a strong base
CH2=CH2CH2=CH44sp2 C–H
CH4CH350Effectively not acidic

Lower pKa means the stronger acid. A base will deprotonate any acid whose pKa is lower than that of its own conjugate acid — that single comparison decides most acid–base questions on an exam.