How long does it take to get pre qualified for a mortgage or house loan?

faith
Also can you take out a loan for a down payment on a house and also the total house i have no clue how this works an i got six months to figure it out i found a house i want to live in and buy it is about 145000