What is programming...
A computer program is a setup instruction that could sound like a human brain is 90% of water. When you hear this phrase what is the exact truth even when you see a complex program like Photoshop high definition 3D video program or even your web browser can't just be a setup instructions but that exactly what this area computer program is a series of instructions a sequence up separates commands one after the other could be five instructions or $25 million contained in the program telling the computer to do something very specific.
Let's take an Example...
Imagine you sitting at your house and the phone rings are your friend telling you to go to her new apartment but the problem you don't know the way to get there soul this journey point A to point B. She has to give the exact directions she begins to tell you after a gas station you have to turn left tried for two miles turn left and drive for more 500 meters specific individual simple and self-contained instructions.
One thing you know the sequence up the direction. She gets you're vitally important if you mix or wrong one direction you get multiple results to turn right to go straight takes you to a different place from turning left drive two miles turn left this simple level simple instructions turn left go straight turn left could take to her house or could take to a 24 hour trip around the city and that because you just still have instructions like turn left go straight turn left you just need a lot more of the soul in programming.
We are given directions to the computers breaking apart a more complex idea more complex tasks into the smallest individual's instructions and using a programming language to write as instructions.
What art is basic instructions...
We can give to the computer they are like add two numbers together display your name on the screen check if the user presses the Enter key and remember. We could give two or three pages have been struck shins a book with five hundred pages or more from basic examples you see when beginning programming too complex games or applications are all combined with the computer to process a tremendous velocity these instructions.
This means we could if we wanted to write a setup instructions to calculate every single frame-up this video fifty times a second it is better to be raped his instructions because get it wrong is like your friend giving wrong directions and the result is going to be you call her back every five minutes computers do exactly what you tell them to those the instructions you give them better make sense in programming languages.
We write these instructions by calling this instruction as statements, statements in programming languages are kind like sentences in English. They use words numbers and punctuation to express one-pot-one individual piece most programming statements are pretty short just a few words.
What words and punctuation: You use depends on the programming language you use some languages what you do when the statements with the semi-colon like ending a sentence in English with the period some languages are all uppercase others all in lower case understanding the rules of which languages understanding the syntax up a programming language soul programming is the ability to take this idea in your head breaking apart into its pieces and know how to write those pieces in the programming languages using at the time writing your statements in the right order using the right syntax Content Hierarchy Chart.
No comments:
Post a Comment