Blog

Programming languages for beginners Part 1

Programming gradually stands on one industry after another: not so long ago the taxi seemed completely offline process, and now Uber is running a lot of developers. Looking at this (as well as the level of salaries of specialists), even a non-programmer people are thinking: "And not to try me".

Often such thoughts immediately deters a variety of programming languages: you have to choose from many not entirely clear variants. What are languages and why there is no one universal best and which of them to take in the first place and for what tasks?

The concept of the operating system

To force PC to perform any action, you need to create for him a consistent set of instructions, i.e. a program. The application program is directly engaged in the performance of any necessary user (text editors, spreadsheets, databases, graphics packages, communications software). Tool system (system programming) creates new programs for computers.

Inside the system unit of a computer

CPU signifies a tiny silicon crystal using a large variety (a few million) put there transistors. Even the CPU can be known as the processor, a Microprocessor (MP) those phrases have lately become interchangeable.

Basic surgeries in inch minute, MHz. Intel 8088 needed a clock rate of 4.77 MHz. These amounts have now grown to tens of thousands of MHz (Celeron 600 MHz).

Information and how to measure it

Reading Papers and books, playing radio, watching television, each 1 of you personally (voluntarily or involuntarily) absorbs advice. Within a instinctive, regular feel underneath the advice know that the info, comprehension, anybody who's in in. And also the further information given, the more further info (in the uncharted point of opinion) which they feature.

The commands of the programming language BASIC

To start with, make clear essential regulations for producing apps in simple. At the start of every single point of this app has been still room. In computer system memory that the traces are constantly organized in ascending sequence of amounts. After producing a application in plain to compose precisely the discretionary orders pillar numerous teams list at 1 lineup, dividing them using a colon. In the event you would like some type of computer instantaneously meet the control, cannot remember it, then enter this control without some few.

The concept of auxiliary algorithm Part 2

We remember "RECUR" substitutable for a, b, c numbers 2, 3 and 122 and get the result: x1 and x2. To solve another quadratic equation, it is necessary to substitute a, b, C other numbers.

As you can see, between the subsidiary algorithms "Duties" and "RECUR" there is a significant difference. The team calling the algorithm "REQUER" you must specify the source data values of the coefficients of the quadratic equation you want to solve. In the algorithm of "Duties" not the original data. So nothing except the name in the call command should not be specified.

Cycles in CS

Who among us does not remember an instructive story about how Tom Sawyer's aunt Polly's job was painting the fence: "Sighing, he dipped the brush into the bucket, picked up a Board fence, repeated the operation did it again..." (mark TWAIN. The Adventures Of Tom Sawyer).

Let us construct the algorithm for painting the fence. Suppose that we have a paint brush and enough paint. Write, for example, the following sequence of actions:

Pages