Oh Snap!

Please turn off your ad blocking mode for viewing your site content

Home / All categories / Other / WHAT is initialization

WHAT is initialization

/
2 Views

What is initialization

"Initialization" is not only a complex "scientific" word, but also a frequently occurring process. The work of computer technology is entirely based on the initialization of various variables.

What is behind this difficult term?

Definition

By definition, "initialization" is preparationProgram or hardware device to work. This preparation consists in setting the initial data to the parameters of the system. For the program, initialization is setting values ​​to program variables.

Initializing an array of data

Initializing an array has a number of pitfalls. First, in different software environments, the filling of the array data begins either with the zero element A [0], or with the first element A [1], where A is the name of the array.
To initialize an array, it is usually used"Step-by-step" for (foreach) loop. Filling the array occurs gradually, one element at a time during each "run" of the cycle. In the for loop, a local loop variable is created - to control the number of passes.
The initial value of the loop variable must match the first element of the array: A [0] or A [1]. Finite - with the number of elements in the array.
To organize the filling of two-dimensional dataAn array needs to enclose one for loop in the other. Thus, the operation of loop through the array column will be executed as many times as there are in the array of rows.

Initialization errors

When initialized, the system receives data from allSignificant devices, processes or operators. Running the operating system is the initialization of data, because the operating system receives a response from all parts of the computer, including RAM, hard disk and keyboard. In the event that one of the important blocks is missing, the OS can not be initialized. A serious mistake of initialization is the famous "blue screen of death".

Initialization string

To control the initialization of beginners, simple references (for example, X = 5) or manual selection are often used. However, regular initialization is necessary and can be automated.
Suppose that there is a user of the computer,Connected to two Internet providers. The connection speed changes, so the user is constantly switching over manually. This is inconvenient and time-consuming. Instead, it can set the initialization string on the command line:
AT + CDGCONT = 1, IP, internet.mts.ru + AT + CDGCONT = 2, IP, internet.beeline.ru.
Now the initialization string is forComputer control process. If the MTS Internet becomes faster than Beeline, then the MTS connection is used - otherwise the MTS changes to the Beeline connection.

It is main inner container footer text