-->

Introduction to Programming Control your computer with a programming language

Introduction to Programming  Control your computer with a programming language
Programming language Java Nimasi

In a previous article, we introduce the automation of some tasks with MS-DOS batch files. In this article, we will introduce the schedule and describe how you can use it to control how your computer works. Normally, novice computers are not interested in controlling the computer. New computer users are often interested in learning more about how the thing works. However, you may be surprised to learn that programming increases computer knowledge as a whole and can help lessen the fear associated with using a new computer.

Programming a computer is creating a sequence of instructions that allow the computer to do something. 1 People who program computers (called programmers) use a programming language to communicate with a computer. You may have heard about some of these languages in the past, such as Visual Basic, C++, or Fortran. There are hundreds of other programming languages and neither is better than the other. Most of them are able to perform the same tasks and achieve the same goals. A programmer chooses a language by a simple preference.

Each one of these languages differs by the way they communicate with a computer However, and the commands that follow are very specific. Not a single command of a language can be exchanged with the commands or the language of another. But they can all be used to control a computer.

Now it would be impossible to teach him to program any language in a single article. But we can still present some of the most basic concepts of programming-starting with the commands we talked about earlier. The commands are the instructions that a computer follows to perform an action. 2 to work within a program, the programmers assign commands to objects as buttons, for example. 

The commands of a program are quite useless unless they have data to act on the programmers, so either give the programs some data to work with (list of names or numbers, for example) or that make the program to generate their own data . Sometimes the data comes from an external source such as the Internet or the computer in which the program runs. The data received by a program are called Input and the data generated by the program are called output.

Other times, the data is unknown. If the program was working with a simple algebra equation like, "x + 5 = y, " variables "x " and "and " were unknown fragments of data. Or if a program was calculating a date "x " days from now, the variable "x " would be an unknown part of the data until we told the program what "x " is. In programming, it is sometimes necessary to work with unknown data elements.

This is where the conditions are useful. Conditions allow a program to perform an action based on the result of a previous command. 3 using this type of instruction, we could ask a program to do a thing if the variable "x " In our last example turned out to be 7 days, and then do something else if the variable goes turned out to be 3 days.

The commands, data, variables and conditions help to build the simplest programs and certainly there are many more components of any programming language. But when they are written to a programming language and compiled to create an executable file (a file that ends with the. exe extension), they are transformed into a software application. 

As mentioned above, you can use a programming language to control your computer. By using simple commands, you can program your computer to perform math tasks, fill out Web forms, write an e-mail message, and send it, or any other number of other things. If you are interested, you may find that Visual Basic is one of the easiest-to-learn programming languages. Visual Basic is an object-oriented programming language and automatically encodes a large part of a program up to the minute a programmer drags a button to a screen.

0 Response to "Introduction to Programming Control your computer with a programming language"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel