This is one of those questions that can take days to talk someone through. Here's a broad overview. You should talk to a patent agent or attorney about the details.
I know the design, what will it do and how it will work but since I did not take any courses in computering, I do not know codes to make it. I thinking of filing a provisional patent and then once it gets approved, I will send my idea to competing companies for the market.
Well, even before your first question, a bit of a correction: there is no such thing as a "provisional patent". There is a "provisional application for a patent". But this is just a filing; by itself, it won't get examined, and it will evaporate after one year. You would have to file a nonprovisional patent application before anything more happens.
Also, do be warned that companies tend not to take provisionals very seriously. Often, they know that if they just wait it out, the inventor will lose all rights anyway when the provisional expires in one year (unless you file a nonprovisional and then proceed with the prosecution stage). Many inventors give up when they can't get a company to license their "idea", so the provisional dies, and then the company only has to worry about a breach-of-contract suit (and probably not even that, since the $600 to file a nonprovisional is cheap compared to paying an attorney to sue for a violation of a nondisclosure agreement (NDA) -- if you can even get the company to sign an NDA to begin with).
First question is can I patent an idea even if I do not know how to make it?
The basic concept is that you must have "reduced to practice" the idea -- turned it from a broad conceptualization to something that can be specified in detail.
You don't have to have a functioning prototype. You just need to be able to describe your invention in enough detail that any "person of ordinary skill in the art" can understand and use it -- after your patent expires, of course (assuming that you do get a patent out of it).
If you can't describe it that well, then you haven't reduced your invention to practice yet, and your application will be considered non-enabling. This is what most people don't understand about provisionals. Filing a one-page memo on the broad outlines is a total waste of money. A provisional needs to be written to the same level of detail as a nonprovisional. The only area that can be skimped on (and it's NOT a good idea to do so) is the claims section; there, in a provisional you can file a single pro forma claim like "1. The invention as shown and described."
Lastly, if you are this unfamiliar with the process and the requirements, especially in a software application, you need to realize that there are many, MANY pitfalls that can ruin the enforceability of your application, and you aren't going to be able to learn them overnight, or even over several months. You're going to need the help of someone who knows how to write a software patent application. BE SURE that whomever you speak to, and eventually hire, to help you out is someone who is a REGISTERED PRACTITIONER (agent or attorney) with the patent office of whatever country you are in.
There are many unlicensed/unregulated "invention promotion companies" that prey on small inventors. You have very few protections against their bad behavior. Someone who is a registered practitioner, at least in the U.S., is subject to professional discipline by the patent office -- i.e., they can lose their license if they do something like trying to steal your invention.
Disclaimer: I am not an attorney or patent agent, so this does not and cannot constitute legal advice, and no attorney-client or agent-client relationship has been or can be formed between us. I recommend that you discuss your invention with a registered patent practitioner (agent or attorney).