Monday, August 29, 2016

Computer Programing - AJ


  • Computer Programming  is telling a  computer to do something by giving it instructions, and these instructions are called programs. These instructions can all come in different languages, they are all called programming languages. Sometimes special programmers use special software called IDEs, which have many features that help them to make programs, and use simpler software.
  • A compiler is a programs that is a set of instructions for any computer to follow. Making these instructions in computer would be called pretty difficult, so instructions are written in a simpler language that is pretty much like English so the computer can follow them.
  • A compiler is also what we call a half English translator to the computer language. Some languages, called interpreted languages, use interpreters instead of compilers. A variable is a piece of the program that can be changed. Variables can include information added by the user, or answers that are found as a result of a calculation.
  • Conditionals are parts of the program that work if something about the program is true. If that part is not true, then the program won't have it work. A common way for a conditional to be done is with an "If Statement."Here is an example of an if statement in the Perl programming language. What it does is it checks to see if the name variable is Bill. If the name variable is Bill, then it will print out the words "Hi Bill!"
  •  Executables - Once a program is has been compiled, the instructions in "machine form" are written into a file that contains a series of numbers that the computer can understand. These files are generally called "executables". These machine-instructions will be loaded into thecomputer's memory so that the CPU can run them when the executable is opened. In the event that data is not transferred correctly, it can result in Data loss.
     

No comments:

Post a Comment