Formation and Collapse of Quiescent Cloud Cores Induced by Dynamic Compressions