Introduction to Programming Controlling Your Computer with a Programming Language

Introduction to Programming Controlling Your Computer with a Programming Language
In a previous article, we have a tendency to introduced automating some tasks with Microsoft disk operating system batch files. in this article, we're planning to introduce programming and describe however it is accustomed management the approach your pc works. Normally, pc novices are not curious about dominant the pc. New pc users square measure usually regarding|inquisitive about|fascinated by learning a lot of about however the factor works. However, they will be stunned to find out that programming will increase pc information as an entire and it will facilitate to diminish the concern related to employing a new pc.

Programming a pc is making a sequence of directions that change the pc to try to one thing.1 The those who program pcs (called programmers) use an artificial language to speak with a computer. you would possibly have detected a number of these languages within the past like Visual Basic, C++, or Fortran. There square measure many different artificial languages and neither one is healthier than the opposite. Most of them square measure capable of playing identical tasks and achieving identical goals. An engineer chooses one language by a straightforward preference.

READ MOREHow Programs Included With a New Computer

Each of those languages takes issue with the approach they convey with a pc, however, and therefore the commands that they follow square measure terribly specific. Not one command of 1 language is interchanged with the commands or language of another. however, all of them is accustomed management a pc.

Now it'd be not possible to show you the way to program any language in an exceedingly single article. however, we will still introduce you to a number of programming's most simple ideas - beginning with the commands we have a tendency to talked concerning earlier. Commands square measure the directions that a pc follows to perform associate degree action. two to form them work inside a program, programmers assign commands to things like buttons as an example. 

The commands in an exceeding program square measure pretty useless unless they need therefore information to act on so programmers either offer the programs some information to figure with (list of names or numbers for example) or they create the program generate its own information. Sometimes, the information comes from an out of doors supply just like the web or the pc that the program runs on. the information that a program receives is named input and data that the program generates is named output.

Other times, the information is unknown. If the program were operating with a straightforward pure mathematics equation like, "x + 5 = y," the variables "x" and "y" would be unknown items of information. Or if a program were to calculate a date "x" days from currently, the variable "x" would be an associate degree unknown piece of information till we have a tendency to tell the program what "x" is. In programming, it's generally needed to figure with unknown items of information.

That's once conditions are available in handy. Conditions enable a program to perform associate degree action supported the end result of a previous command.3 exploitation this kind of instruction, we have a tendency to may instruct a program to try to one factor if the "x" variable in our latter example clothed to be seven days, so do totally different factor if the variable clothed to be three days.

Commands, data, variables, and conditions facilitate build the foremost easy programs and their square measure definitely more parts of an artificial language. however once they are written into an artificial language associate degreed compiled to form a workable file (a file ending with the .exe extension), they turn out to be a package application.  

As we have a tendency to mentioned earlier, you'll use an artificial language to manage your pc. By exploitation easy commands, you'll program your pc to perform mathematical tasks, fill out new forms, compose an associate degree email message and send it off or any variety of different things. If you are interested, you'll notice Visual Basic is one amongst the simplest programming languages to find out. Visual Basic is associate degree object-oriented artificial language and it mechanically codes abundant of a program the minute an engineer drags a button onto a screen.

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel