Labour Law Updates: Improved Information on Termination, Special Leaves and Pregnancy

If you are applying for a job, can the company ask if you are pregnant? And if you decide to leave your job, how do you terminate your contract?