Presentation on computer science basic concepts of programming. Introduction to programming presentation for a lesson in computer science and ICT on the topic

A programming language is a formal sign system designed for recording computer programs. Programming language defined

Programming languages ​​are a formal sign system designed for
recording computer programs. The programming language defines
a set of lexical, syntactic and semantic rules that determine appearance
programs and actions that the performer (usually a computer) will perform under it
management.

Programming is the art of creating software products that are written in a programming language. Programming language

Programming is the art of creating software products,
which are written in a programming language. Language
programming is a formal sign system that
is intended for writing programs that are understandable for the performer (in
in our consideration, this is a computer).

Programming language - a notation system for describing algorithms and data structures, a certain artificial form

Programming language - a notation system for describing algorithms
and data structures, a certain artificial formal system by means of which one can
express algorithms. A programming language defines a set of lexical, syntactic and
semantic rules that specify the appearance of the program and the actions that the performer performs
(computer) under her control.

Since the creation of the first programmable machines, more than two and a half thousand programming languages ​​have been created. Every year their number pop

Since the creation of the first programmable machines, more than two
half a thousand programming languages. Every year their number is replenished with new ones.
Some languages ​​are spoken only by a small number of their own
developers, others become known to millions of people. Professional
Programmers usually use several programming languages ​​in their work.

?

what kinds of languages ​​are there?
programming?

Classification
Programming languages ​​can be conditionally
divided into 4 types, these are:
1. Fully functional;
2. According to certain characteristics;
3. Not fully functional;
4. Esoteric.

Naturally, in every
there are subsections, but
We won’t delve into them too much
we will.
Main and main
development language in
group
fully functional
is - C#, Pascal,
C++, Delphi, Java and
JavaScript, as well as PHP and
BASIC

Pascal

This is one of the most
known languages ​​by
computer development
applications. Pascal
is a base for others
languages. When did I become
be interested
programming, then
the first question was -
what language
study programming?
Pascal was on my list
languages ​​being studied, and I don't
wrong. For me studying
Pascal was not difficult to
there is also a large
number of materials per
learning a development language
Pascal programs

C#

This language is used
for creating
software
provision. On him
a big one is being built
number of axes (OS -
operating system).
Developed in C#
drivers, and others
application programs.

PHP

PHP is very convenient
when creating websites.
If you look at the code
pages, then you can
notice in what language
the site is registered.
Thanks to the wide
PHP gives functionality
ample opportunities
for web programming and
site structures.

Java

Java
The main advantage of this
language is independent of
OS and hardware. In Java
language are constructed as usual
programs, games, as well as DBMS,
Database.
I told you about the most
common languages ​​now
you have an idea about everyone
of them. The main choice remains with
you - which one to study. On
on the Internet you will find
a lot of useful and
variety of material
language learning
programming given
many devoted themselves to the topic
sites. Good luck with your research and selection.

How to learn a programming language?

If you want to learn how to create computer
programs, mobile applications, websites, games or
any other software you,
Actually, you need to learn how to program.
Programs are written in programming languages
which give the program the opportunity to work -
be executed by a computer, smartphone or
other computing device.

Part 1

Choosing a programming language

Decide what you want
Interesting. Of course you can
start learning any language
programming (hereinafter referred to as PL).
True, some PL are significantly
easier to master others... Somehow
no matter what, you need to decide
what you will learn the language for
programming. This will allow
you decide what exactly
you need to teach, and it will just become
a good starting point. Does web development warm your soul? List
PL that will be useful to you
significantly different from the list
Language required for writing
computer programs.
Mobile development is a dream
your childhood? This is already the third
list. What you will teach
depends on what you want
study.
Start with a simpler language. What
no matter what you decide for yourself, but
it's worth starting with relatively
simple high level languages.
Such languages ​​are especially good for
beginners, as they allow
master the basic principles and
understand the general logic
programming. Most often in
in this context they remember
Python and Ruby. These are two object-oriented programming languages ​​with completely
clear syntax,
used predominantly
to create web applications.
"Object-oriented language"
the idea of ​​everything is based on
in the form of “objects” connecting
inside data and their methods
processing and subsequent
manipulation of objects. Such language
are, in particular, C++, Java,
Objective-C and PHP.

Read basic level tutorials for several languages. If you still haven't decided what to study, read the tutorials

Read basic level tutorials for several
YAP. If you still haven't decided what to study, read
tutorials for several languages. If something hooks you -
try to understand that language a little better. This task is simple,
since various kinds of introductory level training materials
You can find more than enough languages ​​on the Internet: Python -
a wonderful language for beginners, which, however, has
quite powerful potential if you learn to use it.
Area of ​​use: web applications and games.
Java is used... oh, it’s easier to say where this language is not used!
Almost everything, from games to ATM software, is Java.
HTML is not a language, but a markup language, but for any web developer
simply necessary.
C is one of the oldest languages ​​that has not lost its relevance to this day.
day. C is not only a powerful tool in itself, but also
basis for more modern languages: C++, C# and Objective-C.

Part 2 Starting small

Part 2
Let's start small
Learn the basic principles of language. Here, of course, everything depends on the language you choose, but there are
PL also has general points that are important only for writing useful programs. The sooner
if you master all these concepts and learn to apply them in practice, the better for you and
your programming skills. So here are just a few of the above
“moments”: Variables – changing data can be stored and called in a variable.
Variables can be manipulated, variables have types (to put it very simply - numbers,
symbols, etc.), which determine the type of data stored in the variable.
Variable names are usually set so that the person reading the source code
could get an idea of ​​what is stored in a variable - this will make it easier to understand the logic
program operation.
Conditional constructions (they are also conditional expressions) are an action that is performed in
case if the expression or construction is true or false. Most common
The form of such expressions can be called the “If-Then” construction. If the expression
true (for example, if x = 5), then action No. 1 will occur, and if false (x != 5), then action
№2.
Functions - in different programming languages ​​they are called differently: in some places they are procedures,
somewhere - methods, somewhere - called units. In essence, functions are mini-programs that are part of a larger program. The function can be called multiple times,
which allows the programmer to create complex programs.
Data entry is a fairly broadly interpreted concept that is present in almost every language.
Its essence is the processing of data entered by the user and its storage. The way they will be collected
data depends on the program and the methods of data entry available to the user (keyboard,
from a file and so on). The concept of data input is closely related to the concept of data output - that is,
how the data will be returned to the user (displayed on the screen, written to
file and so on).

Install all necessary software.

Many languages ​​need compilers - programs,
translating program code into understandable ones
computer instructions. However, there is also a different type of language
(like Python), in which programs are executed immediately, and
compiling them is not required. Some languages ​​have this
called IDE (Integrated Development Environment,
integrated development environment), which includes
code editor, compiler/interpreter and debugger
(debugger). This gives the programmer the opportunity to work
over the program, figuratively speaking, according to the principle of one
window. The IDE may also include visual representations
hierarchies of objects and directories.
There are also online code editors. These programs
highlight the syntax of the program code several times
otherwise, and also offer the developer access to a number of
useful and simple tools.

Part 3 We write our first program

1
Master basic concepts
one at a time. First
program written in
any language is
classic "Hello World". She
very simple, its whole essence is
display the text "Hello,
World" (or its variation). From
this program people
language learners must learn
syntax of the simplest working
programs, as well as a way
displaying data on the screen.
By changing the text, you can see
how are they processed
simple data program.
2
Learn from debriefing
online examples. Online for
you can find hundreds of any language,
thousands of program examples,
programs and just pieces
code. Explore different
aspects of your chosen language
based on these examples.
Creating your own
programs, rely on
These are the fragments of knowledge.

3
Learn the syntax of the language. What
is the syntax in context
YAP? Writing method
programs in a special way,
understandable to compilers.
Each language has its own
syntax rules though,
Of course, there are also common
elements. Studying
language syntax is one of
cornerstones
studying the language. Often
people even think that
namely learning syntax
will make them programmers. IN
reality, of course, everything is not
so - syntax is the basis,
foundation.
4
Experiment! What
exactly how? Bring in
changes to examples
programs and check
the results obtained.
This approach is much faster
will allow you to understand what gives
results, what not, what
if you were studying
book. Don't be afraid to mess up
or “break” the program,
because error correction
is one of the key
stages in the development process
BY. And then, from the first
times to write a working one
program... well, it's almost
fantastic!

5
Start working with the debugger. Software errors
(bugs) are something you will definitely encounter,
taking up programming. There will be mistakes everywhere
get ready. They may be relatively harmless
harmless or, alas, critical, not giving
the program to compile. Debugging process
program is one of the key stages
software development, we repeat. Get used to correction
errors as early as possible. Experimenting with
programs, you will certainly break something, and this
Fine. The ability to fix a program is one of the most
valuable skills for a programmer.

6
Don't forget to comment the code. Almost all Japanese
allow you to add comments to the program code –
text that is not processed by the compiler. By using
comments you can add to the program simple
and clear descriptions of what this or that does
function (and not only function). Comments
will be useful not only for you (sometimes you can also
get confused in your own code), but also for other people,
with whom you will work on
program.

Part 4 We program regularly

1
2
Program
Give your programs
daily. For what, to
goals. Installing complex
master the language
but still achievable goals,
programming, will leave
you will learn to solve
a lot of time. So many.
problems, find
Even Python, relatively
decisions, fight
simple language whose syntax is
difficulties. For example,
can be mastered in a day or two,
imagine a simple
requires anyone who
program - let's say
intends to master it in
calculator and then
perfection, hundreds and thousands
think about how you like her
hours of work.
write. Apply on
Programming is a skill and
practice everything you already have
because the one who wants
learned.
master this skill in
perfection, must
practice regularly.
Try to program
every day, even
an hour before bed, if not
another possibility.

3
Exchange experiences and read other people's
programs. Around each YaP gathered
huge community. If you join
to the relevant community, then very much
you will help yourself, as you will gain access to more
than quality teaching material.
Reading other people's code can inspire you, maybe
give you strength and help you better understand those
programming features that you use
before this they were stalled. Forums and online communities dedicated to programming in
language of your choice - here's what to look for in
first of all. Just don't need it all the time
ask questions, participate in the community
fully - these are, after all, places where people
cooperate with each other rather than carry out
free training courses. In other words,
don’t be shy to ask for help, but don’t just sit there,
fold your arms!
Having gained more or less decent experience,
take part in hackathons or other
similar events - competitions, where
you need to have time to write a special program in
allotted time. Such events
exciting and useful.
4
Have fun. Do what you don't know how to do yet
do. Learn ways to solve problems and
then use them in your own way. Try not to
rejoice that “the program works and
okay" - do your best to
the program worked flawlessly!

Part 5 Expanding your horizons

1
Sign up for
courses. Universities,
colleges and
educational centers (and
not only) conduct courses and
seminars on
programming that
could be great
option for beginners.
Judge for yourself where else
beginners will be able to live
talk to mothers
by specialists?

2
Read thematic
books. How will you receive
access to books is a matter
yours, the point is that
any language is possible
find hundreds of different books
degree of usefulness.
Of course your knowledge
shouldn't be strictly
bookish, that's a fact.
However, even in books
has its own benefits.

3
Learn logic and
mathematics. Programming
It is largely tied to
basic arithmetic, but also
more difficult moments may
come in handy, especially in those
cases when you are engaged
algorithms or write
complex program. However,
most likely, unless you
you will bury yourself in complex
areas, complex mathematics
you won't need it, but
you will need logic, in particular
- computer, because with its
with help you can do better
understand how to solve problems,
arising during work
on complex programs.

4
5
Never stop
Learn another language. Certainly,
program. Eat
mastering even one language will be
popular theory "10 thousand
only a plus for you, but many
watches”, which states that the craftsmanship
programmers are not
comes after 10,000 hours,
stop there
spent on this or that
and learn several languages. Will
occupation. Exact amount
it's good if the second or third
hours as a point of achievement
The language you choose will be
skill is a question, of course,
complement the first one - then you can
controversial, but overall theory
will create even more
true - skill is the essence
complex and interesting
the result of the labor put in and
programs. Of course, teach
time spent. Not
something new is needed only when
give up and one day you
you have already mastered the old one

you will become an expert.
decent level. Everything is there
chances are you have a second language
learn faster than the first one, but this
quite understandable, since many
programming concepts
more than common
widely, especially
"related" languages.

Part 6 Applying the acquired skills

1
Get a university degree
education. This item
is not mandatory, however
years of study can reveal something
new (or may not be opened) and
introduce you to the necessary
people (also not a fact). Yet again -
this step is not necessary, there are many
successful programmers who
no higher education diploma
have.
2
Collect a portfolio. Creating
programs and developing as
specialist, definitely
save the best samples
your works separately - in
portfolio. It is the portfolio that you
will show it to recruiters and
interviewers as
examples of what you're looking for
able. Those projects that you
performed independently and
on your own initiative, you can
add to portfolio without
thoughts, but those over
which you worked as
employee of one or another
company, only with permission
relevant persons.

3
Become
freelancer. Programmers
(especially those that
specialize in
mobile applications)
now in great demand. Execute
a couple of projects like
freelancer is also for
portfolio is useful for
wallet, and for experience.
4
Design your own
program
product. Will it be paid or
no - it's up to you. At the end
in the end, it’s not at all necessary
work for someone to
make money programming
money! If you can write
programs and sell them, then
It's almost a done deal! Main
– don’t forget to provide
user support after
program release.Model
Freeware
distribution) popular in
in the case of small programs and
utilities In this case
the developer doesn't do anything
earns financially
plan, but gets a reputation
and a recognizable name among colleagues
around the shop.

Do you want to create games? Learn Python, C# and Java. Of the three, C# gives the best performance, Python is the simplest, and Java will run on all operating systems.

Do you want to create games? Learn Python, C#
and Java. Of these three, C# gives
best performance, Python
the simplest, and Java will run on everyone
OS without any problems.

Study the source code of programs. For what,
think for yourself, reinvent the wheel,
when can I pick up a finished bike and
just improve it? Main -
understand what exactly you are
you program.

Learning something new
it will be useful
yourself it
implement then
make changes,
try to guess
results and how
consequence,
get closer to
I understand the point.
Use
modern
interfaces and
current versions of the language.

Additional
materials are yours
Friends. There is nothing
the bad thing is that you
forgot something or not
remembered. Everything
its time, not
worry. Main
- know. Where
peek!
Good practice
there will be training for others
- this will allow you not to
just understand better
material, but also
look at him from
sides.

Where to work?

The most popular area of ​​work is development
and creation of software used
in text editors, accounting programs,
games, databases and even systems
video surveillance. In demand today
and specialists adapting ready-made programs
(in particular 1C: Accounting) for features
specific enterprise. Won't be left without work
and web developers. The first step in your career
may become a trainee programmer position.
It is necessary to know high-level languages, preferably
have good theoretical training.

Salaries

Trainee, assistant
programmer
30-40,000 rub.
Specialist
80-90,000 rub.

Lead programmer 110,000 rub.

Lead coder
110,000 rub.

Where to study?

Whatever university you choose, you will be able to study to be a programmer
difficult. You'll have to take some serious math
preparation, study algorithmic languages
and programming, methods and means of protecting computer
information.
You will have to “make friends” with a number of special disciplines,
including: structures and algorithms for data processing,
functional, logical and object-oriented
programming. You will have to spend a lot of time
directly at the computer.

How much mathematics does a programmer need? know math?

Depends on what you call mathematics. Skill
adding numbers is also mathematics, and such knowledge
highly desirable. And, for example, without understanding that
what exactly Perelman proved is quite possible
program. Any attempts to draw a line
who needs to know mathematics to become
programmer are obviously doomed to failure. One
we can say for sure - the ability to operate
abstract concepts (one of the main ones for
mathematics) undoubtedly helps programmers in
their work.

As in any business, it all depends on the problem being solved.

words from a Yandex programmer
When I participated in the development of the recommendation and
reputation systems, mathematics was very necessary.
I had to invent and develop
algorithms using integral and
differential calculus, find extremes,
build regressions, introduce metrics to determine
proximity in multidimensional space. And all for the sake of
some extra hundredths in RMSE
recommendation engine.

In recent years I have been developing
high-performance backends running in
24/7, serving millions of online users, maintaining hundreds of thousands of regular
connections. Now I have enough knowledge of the basics
theory of algorithms, algorithmic complexity,
now the main thing is reliable, supported,
extensible, fast code.

And I wouldn’t say that because the work is less “mathematical,” I get less pleasure and recognition from it. In any case, the programmer, in

And I wouldn't say it's because
less "mathematical"
the work i get from her
less pleasure and
confession.
In any case, programmer,
however, like an ordinary person,
must know and love
math!

History of programming languages

One of the most revolutionary ideas that led to
creation of automatic digital computing
machines, was expressed in the 20s of the 19th century by Charles
Baby's idea about pre-recording the order
machine actions for subsequent automatic
implementation of calculations - program. And although
the recording of the program used by Babyj on
punch cards, invented to control such
machines by the French inventor Joseph Marie
Jacquard, technically has nothing to do with
modern techniques for storing programs on a PC,
the principle here is essentially the same.

From this moment the history of programming begins.

From this moment the story begins
programming.

Ada Levellace, a contemporary of Babidge, is called the world's first programmer. She theoretically developed some techniques for managing the afterbirth.

Ada Levlace, a contemporary of Bebidj,
called the first in the world
programmer. She theoretically
developed some techniques
sequence control
calculations that are used in
programming now. By her
one of the most important
designs of almost any
modern programming language
– cycle.

A revolutionary moment in the history of programming languages
was the emergence of a system for encoding machine instructions with
using special characters as suggested by John
Mouchley.
The coding system he proposed inspired one of his
employee Grace Murray Hopper. When working on a computer
"Mark-1" she and her group had to face many
problems and everything they came up with was a first. IN
In particular, they came up with subroutines. One more thing
fundamental concept of programming technique for the first time
Hopper and her team introduced “debugging.”
In the late 40s, J. Mauchly created a system called
"Short Code", which was a primitive language
high level programming. There is a programmer in it
wrote down the problem to be solved in the form of mathematical formulas, and
then, using a special table, he translated the symbol into
symbol, converted these formulas into two-letter codes. IN
later a special computer program converted
these codes into binary machine code. System developed
J. Mauchly, considered one of the first primitive
interpreters.

Already in 1951, Hopper created the world's first compiler and she also introduced this term. The Hopper compiler performed the function of combining

Already in 1951, Hopper created the world's first compiler and
She also introduced this term itself. Compiler Hopper
carried out the function of uniting teams and during
broadcasts carried out the organization of subroutines,
computer memory allocation, command conversion
high level (at that time pseudocode) into machine
teams. "Routines are in the library
(computer), and when you select material from
libraries - it's called compilation" - that's how it is
explained the origin of the term she introduced.

In 1954, a group led by G.
Hopper developed a system
including a programming language and
compiler, which later
called Math-Matic. After
successful completion of the creation work
Math-Matic Hopper and her group began
for developing a new language and
a compiler that would allow
users to program on
a language close to regular English.
In 1958, the Flow-Matic compiler appeared.
The Flow-Matic compiler was the first
language for processing tasks
commercial data.
Developments in this direction have led to
creation of the Cobol language (COBOL – Common
Business Oriented Language). He was
created in 1960. In this language
compared to Fortran and Algol,
mathematical tools are less developed,
but the means are well developed
word processing, output organization
data in the form of the required document.
It was intended as the main language for
mass data processing in the areas
management and business.

The mid-50s are characterized by rapid progress
in the field of programming. The role of programming in
machine commands began to decrease. Languages ​​began to appear
programming of a new type, acting as
an intermediary between machines and programmers. First and
one of the most common was Fortran (FORTRAN, from
FORmula TRANslator – formula translator), developed by
by a group of IBM programmers in 1954 (first version).
This language was focused on scientific and technical calculations
mathematical in nature and is a classical language
programming when solving mathematical and
engineering problems.
For the first high-level programming languages
the subject orientation of languages ​​was a characteristic feature.
Algol occupies a special place among programming languages.
the first version of which appeared in 1958. One of
Algol was developed by the “father” of Fortran, John Backus.
The name ALGOrithmic Language emphasizes that
the fact that it is intended for recording algorithms.
Thanks to its clear logical structure, Algol has become a standard
a means of recording algorithms in scientific and technical
literature.

In the mid-60s, Thomas Kurtz and John Kameny
(Staff at Dartmouth Mathematics Department
college) created a specialized language
programming, which consisted of simple words
in English. The new language was called “universal”
Beginner All Purpose Symbolic Instruction Code, or BASIC for short.
The year of birth of the new language can be considered 1964. Today
universal language BASIC (which has many versions)
gained great popularity and received widespread
distribution among PC users of various
categories all over the world. To a large extent this
contributed to the fact that BASIC began to be used as
built-in language of personal computers, wide
the distribution of which began in the late 70s.
However, BASIC is an unstructured language, and therefore it is poorly
Suitable for teaching quality programming.
To be fair, it should be noted that the latter
versions of BASIC for PC (for example, QBasic) have become more
structural and in its visual capabilities
getting closer to languages ​​like Pascal.

Developers focused languages ​​on different classes
tasks, to one degree or another tied them to a specific
PC architecture, implemented personal tastes and ideas. In the 60s
Over the years, attempts have been made to overcome this
"discordance" by creating a universal language
programming. The first child of this direction
became PL/1 (Programm Language One), developed by the company
IBM in 1967. This language claimed to be able to
solve any problems: computing, word processing,
accumulation and retrieval of information. However, he turned out to be
too complex, a translator from it is not enough
optimal and contained a number of undetected errors.
However, the line towards the universalization of languages ​​was
supported. Old languages ​​have been modernized into
universal options: ALGOL-68 (1968), Fortran-77.
It was assumed that such languages ​​would develop and
improve, they will begin to crowd out all the others.
However, none of these attempts were successful.

The LISP language appeared in 1965. The main thing in it is
the concept of recursively defined functions. Because the
it has been proven that any algorithm can be described using
some set of recursive functions, then LISP is essentially
is a universal language. With it, the PC can
simulate fairly complex processes, in particular -
intellectual activity of people.
Prolog was developed in France in 1972 to solve problems
"artificial intelligence". Prolog allows you to formally
form to describe various statements, logic of reasoning and
forces the PC to give answers to the questions asked.
A significant event in the history of programming languages
was the creation of the Pascal language in 1971. Its author is
Swiss scientist Niklaus Wirth. Wirth named him after
the great French mathematician and religious philosopher XVII
century Blaise Pascal, who invented the first summing
device, which is why the new language was assigned its
Name. This language was originally developed as an educational language
structured programming, and, indeed, now he
is one of the main languages ​​of instruction
programming in schools and universities.

In 1975, two events became milestones in the history of programming - Bill Gates and Paul Allen announced themselves by developing their version of BASIC, and Vir

In 1975, two events became
milestones in history
programming – Bill Gates and
Paul Allen made himself known
having developed his own version of BASIC, and
Wirth and Jensen released
classic description of the Pascal language
User Manual and Report".

No less impressive, including financial, luck
achieved by Philip Kahn, a Frenchman who developed in 1983
Turbo Pascal system. The essence of his idea was
combining successive processing steps
programs – compilation, link editing, debugging
and error diagnosis - in a single interface. TurboPascal is not only a language and a translator from it, but also
operating shell that allows the user
Convenient to work in Pascal. This language has gone beyond
educational purpose and became a language
professional programming with universal
possibilities. Due to these advantages, Pascal became
source of many modern languages
programming. Since then several versions have appeared
Turbo Pascal, the last one is the seventh.
Borland/Inprise has completed the TurboPascal product line and moved on to produce a visual system
development for Windows - Delphi.

Left a big imprint on modern programming
C language (first version - 1972), which is a very
popular among software system developers
software (including operating systems). This language
was created as an instrumental language for development
operating systems, translators, databases and others
system and application programs. Xi combines both features
high-level language and machine-oriented language,
allowing the programmer to access all machine resources, which is not
provide languages ​​such as BASIC and Pascal.
The period from the late 60s to the early 80s is characterized by
rapid growth in the number of different programming languages,
accompanying the software crisis. In January
1975 The Pentagon decided to restore order to the chaos of broadcasters
and established a committee which was charged with developing one
universal language. The winner was announced in May 1979
– a group of scientists led by Jean Ikhbia. Conquering language
christened Ada, after Augusta Ada Levellace. This language
intended for creation and long-term (multi-year)
maintenance of large software systems, allows
possibility of parallel processing, process control in
real time.

For many years, software was built on the basis of operational and procedural languages ​​such as Fortran, BASIC, Pascal, Hell

For many years software
provision was built on the basis
operating and procedural
languages ​​such as Fortran, BASIC,
Pascal, Ada, C. As evolution progresses
programming languages ​​received
widespread and others,
fundamentally different approaches to
creating programs.

11 Programming Languages ​​You Should Learn in 2016

1. Java 2. JavaScript 3. C# 4. PHP 5. C++ 6. Python 7. Ruby

1. Java
2. JavaScript
3. C#
4.PHP
5. C++

Description of the presentation by individual slides:

1 slide

Slide description:

What is programming Computer science teacher MBOU Secondary School No. 6 Olga Mikhailovna Fedorova

2 slide

Slide description:

who are programmers? what is a programming language; What is a programming system? Main topics of the lesson: 9th grade, computer science teacher O. M. Fedorova.

3 slide

Slide description:

Now you have to take a closer look at another section of computer science, which is called “Programming”. Specialists who are professionally involved in programming are called programmers. In the early years of the computer, to use a computer in any field, you had to be able to program. In the 1970s - 80s of the 20th century, application software began to develop. The rapid spread of application software occurred with the advent of personal computers. It is no longer necessary to know how to program in order to use a computer. People working on computers are divided into users and programmers. Currently there are many more users than programmers. Who are 9th grade programmers, computer science teacher O. M. Fedorova

4 slide

Slide description:

Programming is usually divided into system and application. System programmers develop system software: operating systems, utilities, etc., as well as programming systems. Application programmers create application programs: editors, spreadsheet processors, games, educational programs and many others. The demand for highly qualified programmers, both systems and applications, is very high. 9th grade, computer science teacher O. M. Fedorova

5 slide

Slide description:

There are various programming languages ​​for writing programs. Over the years of the existence of computers, many programming languages ​​have been created. The most famous among them are: Fortran, Pascal, BASIC, C (C), etc. Common programming languages ​​today are C++, Delphi, Java, Pascal, Visual Basic, Python. What is a programming language, grade 9, computer science teacher O. M. Fedorova

6 slide

Slide description:

Programming systems are used to create and execute on a computer a program written in a programming language. What is a programming system, grade 9, computer science teacher O. M. Fedorova

Slide 7

Slide description:

Programming is an area of ​​computer science devoted to the development of computer control programs to solve various information problems. Programming can be systemic or applied. Pascal, BASIC, C, Fortran are universal programming languages. A programming system is computer software designed for developing, debugging and executing programs written in a specific programming language. Briefly about the main thing, 9th grade, computer science teacher O. M. Fedorova.

8 slide

Slide description:

What is programming? What problems do system and application programmers solve? Name the most common programming languages. What is the purpose of programming systems? Questions and assignments 9th grade, computer science teacher O. M. Fedorova

To use presentation previews, create a Google account and log in to it: https://accounts.google.com


Slide captions:

INTRODUCTION TO PROGRAMMING

BASIC CONCEPTS Computer programming is the process of creating programs to control the operation of a computer. A program is a sequence of actions (commands) that a computer must perform in order to solve an information processing problem.

BASIC CONCEPTS A programming language is a fixed system of notation and rules for describing programs. Today there are hundreds of programming languages. They can be divided into three main types: Machine languages ​​Low level languages ​​High level languages

MACHINE LANGUAGE (LANGUAGE OF MACHINE INSTRUCTIONS) Machine language (MLK) is the control code for a specific machine operation (command), which determines where to get the source data and where to place the results of the operation. 00101000 00000010 11000000 11000100 11011000 Command address Operation code 1st address 2nd address 3rd address Source data and commands were presented in the form of binary code Example: (Add two numbers and enter the result in the 3rd address)

LOW LEVEL PROGRAMMING LANGUAGE A low-level programming language is a programming language whose command structure is determined by the format of machine language commands and data, as well as the computer architecture. Example: (Add two numbers and put the result in the 3rd address) ADD a, b, c

A striking representative of a low-level programming language is the Assembly language, which was developed in the 50s of the last century and allows you to write programs using special machine code notations - mnemonics. Assembly language is widely used in programs where high performance is required. Assemblers are targeted at specific types of processors. Since different types of computers had different processor instruction systems, they also had different assemblers. Therefore, Assembly is a machine-oriented language. Such programs cannot be transferred for execution to other types of computers.

HIGH-LEVEL PROGRAMMING LANGUAGE A high-level programming language is a programming language whose tools allow a task to be described in a visual, easily understandable form. Each high-level language is defined by a notation and a set of rules that define the syntax. Roughly speaking, this is a set of words (dictionary) and rules for composing sentences.

EXAMPLES OF PROGRAMMING LANGUAGES Fortran BASIC Pascal C Delphi Java

High-level programming languages ​​free the user from programming in machine codes. However, the computer does not understand such a program; only machine language is available to it. Therefore, to translate (translate) programs from a high-level language into machine codes, special programs are used - translators.

TRANSLATOR Translator is a program that converts (translates) program text into machine command language (“0” and “1”). Program in a high-level language translator Program in a machine command language

produces command-by-command and execution of the original program converts the entire program into machine language and then executes

WHY ARE SO MANY PROGRAMMING LANGUAGES? You can often use several different programming languages ​​to solve the same problem. To make a choice, of course, you can be guided by the principle: whichever I know, that’s what I write on. But there are several other criteria: 1. Speed ​​of task completion. 2. The amount of memory occupied by the executing code. 3. Length (for example, in lines) of the source text. 4. Ease of programming.

BASIC The most democratic language in the world. When creating programs in this language, a mandatory preliminary description of its elements, including variable types, is not required. And here we are not far from anarchy. It is better not to abuse these freedoms. Otherwise, errors are possible, the search for which when debugging programs is not the most nerve-wracking activity. We will learn the Pascal programming language!



The purpose of programming is to develop computer control programs to solve various information problems. The purpose of programming is to develop computer control programs to solve various information problems. Specialists who are professionally involved in programming are called programmers.


Programming is usually divided into system and application. Programming is usually divided into system and application. System programmers develop system software: operating systems, utilities, etc., as well as programming systems. Application programmers create application programs: editors, spreadsheet processors, games, educational programs and many others.


There are various programming languages ​​for writing programs. There are various programming languages ​​for writing programs. A programming language is a fixed notation for describing algorithms and data structures.


Over the years of the existence of computers, many programming languages ​​have been created. The most famous among them are: Fortran, Pascal, BASIC, C (C), etc. Over the years of the existence of computers, many programming languages ​​have been created. The most famous among them are: Fortran, Pascal, BASIC, C (C), etc. Common programming languages ​​today are C++, Delphi, Java, Pascal, Visual Basic, Python.


Programming systems are used to create and execute on a computer a program written in a programming language. Programming systems are used to create and execute on a computer a program written in a programming language. A programming system is computer software designed for developing, debugging and executing programs written in a separate programming language


Programming systems are subdivided: Programming systems are subdivided: universal programming (Pascal, BASIC, etc.) - not focused on a narrow application area; highly specialized programming (Web programming, HTML language).


The algorithm is compiled for a specific performer. The algorithm is compiled for a specific performer. As a performer we will consider a computer equipped with a programming system in a specific language. The computer performer works with certain data according to a certain program. Data is a set of quantities.


A separate information object (number, symbol, table, etc.) is a value. A separate information object (number, symbol, table, etc.) is a value. Every value processed by the program takes its place in the computer’s memory. The value of a quantity is the information stored in this memory field.


Numerical quantities in programming, as well as mathematical quantities, are divided into variables and constants (constants). Numerical quantities in programming, as well as mathematical quantities, are divided into variables and constants (constants). For example: (a-2ab+b), where a, b are variables, 2 is a constant. Constants are written in algorithms with their decimal values, for example: 23, 3.5, 34. The value of a constant is stored in a memory cell allocated for it and remains unchanged during program operation


Variables in programming, as in mathematics, are designated by symbolic names. These names are called identifiers. The identifier can be a single letter, multiple letters, a combination of letters and numbers, etc. Examples of identifiers: A, X, B3, prim, r25, etc. Variables in programming, as in mathematics, are designated by symbolic names. These names are called identifiers. The identifier can be a single letter, multiple letters, a combination of letters and numbers, etc. Examples of identifiers: A, X, B3, prim, r25, etc.


Any algorithm for working with quantities can be composed of the following commands: Any algorithm for working with quantities can be composed of the following commands: assignment; input; conclusion; access to an auxiliary algorithm; cycle; branching.


The values ​​of the variables that are the initial data of the problem being solved are usually specified by input. The values ​​of the variables that are the initial data of the problem being solved are usually specified by input. input<список переменных>For example: input A,B,C


Value variables receive specific values ​​as a result of executing an assignment or input command. Value variables receive specific values ​​as a result of executing an assignment or input command. If a variable is not assigned any value (or is not entered), then it is undefined.


The results of solving a problem are communicated by the computer to the user by executing an output command. The results of solving a problem are communicated by the computer to the user by executing an output command. Conclusion< список вывода >For example: output X1, X2


Questions and tasks Questions and tasks 1. What is a quantity? What is the difference between variable and constant quantities? 2. How is the value of a quantity determined? 3. What are the main types of quantities in programming? 4. How is the assignment command written? 5. What is input? How is the input command written? 6. What is a conclusion? How is the output command written? 7. In schematic form, reflect the changes in values ​​in the cells corresponding to variables A and B during the sequential execution of assignment commands: 1) A:=1 2) A:=1 3) A:=1 B:=2 B:=2 B:=2 A:=A+B C:=A A:=A+B B:= 2xA A:=B B:=A-B B:=C A:=A-B 8. Instead of an ellipsis, write in algorithm several assignment commands, which should result in an algorithm for raising the entered number to the fourth power (do not use additional variables): input A... output A


Assignments: Write an algorithm in algorithmic language for adding two simple fractions (without reducing the fraction). Write in algorithmic language an algorithm for calculating y using the formula y=(1-x2+5x4)2, where x is a given integer. Please note the following restrictions: 1) only addition, subtraction and multiplication operations can be used in arithmetic expressions; 2) each expression can contain only one arithmetic operation. Trace the algorithm at x=2.

The work can be used for lessons and reports on the subject "Informatics"

The "Informatics Presentations" section has collected ready-made presentations on almost all topics that are taught in computer science classes in schools and universities. In this section of the site you can download ready-made presentations on computer science. A presentation on the topic of computer science can be used both in lessons and in information technology classes.

Language programming is a formal sign system designed to describe algorithms in a form that is user-friendly for a computer user (for example, a computer). a formal sign system, designed to describe algorithms in a form that is user-friendly for a computer user (for example, a computer). Language programming means a set of lexical and syntactic rules that are used when developing a computer program. It allows the program to accurately determine how the computer will react, how data will be stored and transmitted, and how data will be processed under different circumstances.


How many MPs are there? Since the creation of the first computers, humanity has developed more than 2500 years of programming. There are only a small number of distributors of these languages, but others become familiar to millions of people. Professional programs may include more than a dozen different programs in your work.


Compiling Languages ​​Language programming is divided into two classes: compiling and interpreting. The program on the compiling language, with the help of special compiler programs, is recreated by typing instructions for a given type of processor (machine code) and then is written to a compact file (files with the extension com, exe), which can be launched on Vikonannya yak okrema program. In other words, the compiler transfers the program from a high-level language to a low-level language, meaning the processor. The program on the compiling language, with the help of special compiler programs, is recreated by typing instructions for a given type of processor (machine code) and then is written to a compact file (files with the extension com, exe), which can be launched on Vikonannya yak okrema program. In other words, the compiler transfers the program from a high-level language to a low-level language, meaning the processor.


Interpretive language Since the program is written in an interpretive language, the interpreter directly translates the text without first translating it. In this case, the program is lost in the output language and cannot be launched without an interpreter. If the program is written in interpretive language, then the interpreter directly translates the text without first translating it. In this case, the program is lost in the output language and cannot be launched without an interpreter. We can say that a computer processor is an interpreter of machine code. We can say that a computer processor is an interpreter of machine code.


*** In short, the compiler transfers the program to the machine image and the entire program, and the interpreter transfers it to the machine at the time of execution of the program. Briefly speaking, the compiler transfers the program to the machine shell and the entire program, and the interpreter transfers it to the host shell at the time of execution of the program.


What is rhubarb in your programming? you can see the current level of MP: * machine; * machine-op i entovni (assemblers); * machine-independent (high-level language). Machine movies and machine-or and data processors are of low level, which will require the insertion of other details during the data processing process. Languages ​​of high level have natural languages, vikory and deeds, words of common language and common mathematical symbols. This language is more useful for people.


High-level languages ​​* procedural (algorithmic) (Basic, Pascal, etc.), which are used for an unambiguous description of algorithms; * logical (Prolog, Lisp and others), which are oriented not towards the development of the algorithm for a specific task, but towards a systematic and formal description of the problem so that the solution follows from the folded description; * object-oriented (Object Pascal, C++, Visual Basic and others), which are based on the concept of an object, which contains data and actions above us. An object-oriented program, having completed any task, essentially describes a part of the world that is related to that task.




BASIC (BASIC abbreviated from English. Beginner "s All-purpose Symbolic Instruction Code universal code of symbolic instructions for mail atkivts; English basic basic, basic) with a family of high-quality programming. began programming and adopted a wider range of activities in various dialects. Basic (BASIC, abbreviated from English. Beginner's All-purpose Symbolic Instruction Code, universal code of symbolic instructions for mail attackers; English basic basic, basic) with the property of high quality outside the language of programming. The outbreak of fragmentation in Mov was intended for the beginning of the program and took away a wide variety of different dialects.


COBOL (COBOL, COmmon Business Oriented Language), a third-generation language program (first version in 1959), originally intended for the development of business applications. The developer of the first unified Kobola standard was Grace Hopper (Grandma Kobola). One of the goals of the development of the language was to bring the construction as close as possible to the English language. COBOL is wonderful, for your time, for working with data structures and files, which has bothered you for a long time in business, employment, in the USA.


Ada MP was created as a result of a project adopted by the US Department of Defense with the goal of developing a unified programming for on-board control systems for military objects (ships, aircraft, tanks, missiles, shells, etc.).


Fortran was first implemented in high-level language programming. Created between 1954 and 1957. The name Fortran is an abbreviation for FORmula TRANslator, that is, formula translation. Fortran is widely used in science and engineering calculations. One of the advantages of modern Fortran is the large number of programs and libraries of subprograms written in it.




Simula 67 (Simula 67) first object-or ientovna MP. It was disintegrated at the end of the 60s and 20th century. This language in the significant world was ahead of its time, the modernists (programs of the 60s) appeared not ready to accept the value of the Simula 67 language, and were not able to compete with other programs (before , using my Fortran).


Java is an object-orientation software, split up by Sun Microsystems in 1991 and officially released in 1995. Many of us call the language Java by analogy with its geographical name. From the very beginning, the new MP was called JaGo (James Gosling) and was developed for consumer electronics, but later was renamed to Java and began to be developed for writing add-ons and server software.


Algol 68 (English Algol 68 in English algorithmic algorithmic and English language language), improved from (Algol-68). Algol reaches high-level languages ​​and allows you to easily translate algebraic formulas from program commands.




Delphi - MP, formerly known as Object Pascal, was split up by Borland and partially implemented in their Borland Delphi package, from which it adopted its current name in 2003. In essence, it is a successor to the Pascal language with object-oriented extensions. From the beginning, the language is set to enable the installation of Microsoft Windows add-ons.


C (English C) is a standardized procedural MT, divided into the beginning of the 1970s as a development of the language library programming. It was created for use in the UNIX operating system (OS). Since then, it has been sorted into many other operating systems and has become one of the most popular MPs. Value it for its effectiveness; This is the most popular language for creating software. Despite the fact that it was not open to newcomers, it is actively being promoted to start programming. Subsequently, the syntax of the language C became the basis for many other languages.


C# (visible as c-sharp) MP, which consists of object-oriented and aspect-oriented concepts. Development of software for Microsoft.NET platforms. C# comes with seven C-like syntax, of which the syntax is closest to C++ and Java. Having adopted a lot from its predecessors C++, Delphi, Modula and Smalltalk.


Сі++ (English: C++) is a compilation MP of extragal significance. In the 1990s, this language became one of the most widely spread programs of foreign significance. With the creation of Si++, we tried to save the confusion with my Si. The language was launched on the cob of the 1980s rocks, when the Bell Laboratories spivorist Bjorn Stroustrup came up with a number of upgrades to the language for power consumption. The name Si++ is similar to Si. Сі++ (English: C++) is a compilation MP of extragal significance. In the 1990s, this language became one of the most widely spread programs of foreign significance. With the creation of Si++, we tried to save the confusion with my Si. The language was launched on the cob of the 1980s rocks, when the Bell Laboratories spivorist Bjorn Stroustrup came up with a number of upgrades to the language for power consumption. The name Si++ is similar to Si.


Perl is a language of programming. Author - Larry Walt. The word Perl itself is an abbreviation that stands for Practical Extraction and Report Language (from which it was originally called PEARL, but then the letter A was lost). The mascot of the language Perl is a camel, no need to garne, prote duzhe vitrivala svorіnya, zdatne vikonuvati heavy robot. The main feature of this language is its rich ability to work with text. Perl is a stable, future-proof language programming platform. It is used for a wide variety of projects in the public and private sectors and is widely used to complement small-scale programs for all needs. Perl is a language of programming. Author - Larry Walt. The word Perl itself is an abbreviation that stands for Practical Extraction and Report Language (from which it was originally called PEARL, but then the letter A was lost). The mascot of the language Perl is a camel, no need to garne, prote duzhe vitrivala svorіnya, zdatne vikonuvati heavy robot. The main feature of this language is its rich ability to work with text. Perl is a stable, future-proof language programming platform. It is used for a wide variety of projects in the public and private sectors and is widely used to complement small-scale programs for all needs.




*** Basic, having progressed from Visual Basic, Basic, having progressed from Visual Basic, Cobol may not be victorious and practically having adopted its foundation, we can say that it died the same way as Simula-67 and Algol. Cobol may not be victorious and practically having applied its foundation, we can say that it died just like Simula-67 and Algol. Ada was previously victorious from a roboticist, now replaced by my S. Ada was previously vikorized from a roboticist, now replaced by my C. Fortran was the first widespread mine of a high level, and now also may have died. Fortran, having become the first universal language of the high region, immediately died as well. Java is my favorite product. Java is my favorite product.