Program Development
Show Creating a program1. First you design the program, sometimes called pseudocode. Pseudcode is writing out the program in plain English so it is easily understood and the flow can be easily tracked.2. Write the Source Code. Source Code is the program written in the proper syntax for a particular programming language.
Next this source code must be put through a Compiler which changes the source code into machine language that the computer (processor) can understand. Machine language is the executable file that users such as yourself run, like as in Word or Excel. Machine language cannot be understood by reading it as a text file. An explanation of the code above:
cin >> B;
This is a very simple program, it should be noted that a program such as Word can have millions of lines of code, with teams of programmers working on all the different facets of the program. ErrorsThere are two type of errors that programmers have to deal with when programming
Control Structures
do this part of code else do this part of code Programming languagesHundreds of programming languages exist, but only a handful are used for most commercial applications that exists today.
It's the newest philosophy of programming. The philosophy is that a programmer can create a piece of code (called a module) that completes a task. If there is another program that needs that same task you can just plug that module in to the new program. My example to explain this philosophy is a kitchen. A kitchen has a lot of parts that can run to make the area a kitchen for example a refridgerator, a blender, a microwave, etc. etc. What is a set of instructions in a computer?A set of instruction given to a computer is called a program.
Which of the following refers to the ability of a computer to perform a variety?Versatility refers to the ability of computer to perform a variety of tasks simple as well as complex. Computers are versatile unless designed for a specific application.
|