blog this is me make to share my invention about internet exploration at every evening

Daftar

How it Works Computer Program



Understand How Computers Work Program

Note this is just a picture for younger siblings who still lay (sorry) about how a computer program that composed .... Uncle and aunt for a Programmer or Systems Analyst ... heheheh lol please do not pout or ... Excuse me, yaaaa



I. Comprehension

Computer application programs (computer program) a. .. dalah set of command line arranged in such a way in order to perform certain processes according to the goals and wishes of the programmer (compiler program).

Language courses: There are low-level programming languages ​​including machine language, who often symbolized by a number binaire / binary or 01101000 10 101 ... and high-level languages, the languages ​​are similar to human language. For example: Pascal, VBASIC, etc ... which are now so many variations and types of language programs.

To make it easier to understand how a computer program that takes place, we can suppose that this way:

1. You go to a specific recipe how to bake.
2. You do every hint of that recipe.
3. If you are true and correct in following the instructions, then:
1. It will produce a cake as guide it.
2. If you have melakukakannya as directed, but the cake was not in accordance with the "promised" by the recipe, then maybe it's the wrong prescription.

In conclusion:

1. You are the "hardware" that make the process for the recipe directions / program
2. If the hardware is in good condition, whether or not the hardware successfully perform its function depends on both the very least a series of commands (programs / software) that guide it ...

Therefore all, if computers are not working properly, ie producing something that is not desired, then the possibility is interference with the device hardware, electronic components such as burns, broken, low-voltage electrical flow, or interference with the software, for example due to virus attacks or other conditions.

Parable II.

Please answer the following questions:

"The pace of work (things) What to do if you want to have a" full stomach "? ---

Please answer! --- If the answer is "eat", then you do not understand the "work step" make "full stomach" it.

As for how to make a "full stomach" of course, many ways ... And such was also the way people make an application program (software). Will get a variety of programs similar applications ... Antivirus software is just an example .. How many? But the same goal, right?

How to make a full stomach in general can be done in two ways:

1. Buy fast food and eat it = buy software application and then use it.
2. Make and cook your own and eat them = make your own application software.

In fact, not all food can be our own making ... included in the procurement of paddy or rice ... Similarly, the application program or the software earlier.

There are also steps in order to "full stomach" of them are as follows:

1. Serve food, complete with a spoon and drinking water
2. Take a spoon.
3. Dipper food from the plate.
4. Enter / suapkan into the mouth.
5. Chew.
6. If the food in the mouth was soft, the food is swallowed.
7. If the food in the mouth is swallowed, then do it again the way 3 above.
8. If necessary wetting the mouth, then take the water on the glass and drink.
9. If not satisfied, then work out how to 3 above.
10. If the food runs out or if a full stomach, then STOP.
11. Proceed to step 3 above.

From the examples of "program on a full stomach" that we can note that:

1. There is something changed (variable), namely food and water.
2. There is a treatment / work or function command (Command statements).
3. There is a conditional command, namely "if" and "then" (IF ... THEN ....).



Now will we take the example of "logic" of how Google search for files from the "warehouse" by using the BASIC language (language courses are considered the most easy to understand humans, he said ...)

(Remember, this is a logic of matching file names)



(1) Brake "to find the same word with the input"

(2) Dim FILENAME $ (1000)

(3) input "what the sentence will be sought"; A $

(4) X = len (A $)

(5) For check = 1 to X

(6) B $ = mid $ (A $, 1, check)

(7) IF B $ = "" then goto 200

(8) C $ = C $ + B $

(9) 200 Next

(10) For READ = 1 TO 1000

(11) $ FILENAME Read (READ)

(12) If FILENAME $ (READ) = C $ then print FILENAME $ (READ)

(13) Next READ

(14) DATA "xxx", "xasdd", "dnsahh" ... and so on as many as 1000 data



Description intention command:

(1) make a statement the program functions

(2) book a place in memory for 1000 data

(3) acceptance of a character from the keyboard

(4) calculate the length of sentences typed

(5) make the process constraint repetition / looping

(6) takes a character from A $ start position to "check"; value starting from 1 to check the length of that sentence as sentence length = 10 letters, then the maximum value "check" = 10. Thus the repetition of making the letter to be checked is 10 times.

(7) if the contents of B $ in the form of a space only, just skip and go directly to the number 200

(8) letter from B $ is collected and coupled to the variable C $

(9) continue repeating the process

(10) repetition of the message read as much as 1000 times / as much data

(11) do the reading file names for identification

(12) If the name is the same, then the displayed name on the screen

(13) continue to finish reading the file name



Hopefully you can understand how computer programs work and feel "weird" or "amazed" by the "sophisticated" computer ... heheheheh


good luck from the team xpost

0 komentar:

Posting Komentar