Current location - Recipe Complete Network - Complete cookbook of home-style dishes - What is computer programming?
What is computer programming?
What is computer programming? The process of editing a program to make a computer execute is called programming.

Many softwares can be programmed, and the representative software is BASIC.

C, C++, VB, VF, web programming JSP, ASP, PHP.

BASIC is the abbreviation of general symbol instruction code for beginners, and it is a high-level computer language widely used in the world. BASIC is easy to learn, and it is still one of the main learning languages for computer introduction.

Since the appearance of BASIC language, its appearance and development have gone through the following four stages:

The first stage: (1964 ~ early 1970s)1964 BASIC language came out.

The second stage: (1975 ~ mid-1980s) basically solidified on the microcomputer.

The third stage: Structured Basic Language (from the mid-1980s to the early 1990s).

The fourth stage: (from 199 1) Visual BASIC.

BASIC is an easy-to-learn and easy-to-use advanced language, which is very suitable for beginners to learn and use. Commonly used compiler software includes True Basic, Turbo Basic Quick Basic, Visual Basic, Carealizer, GFA Basic, Power Basic, etc. ......

199 1 year, Microsoft released Visual Basic 1.0 version. This caused a great sensation at that time. Many experts believe that the emergence of VB is an epoch-making event in the history of software development. In fact, from our current point of view, the function of VB 10 is really too weak. But at that time, it was the first "visual" programming software. This makes programmers enjoy it and try to create software on the platform of VB. Microsoft also lost no time in pushing out three versions of VB20, VB30 and VB40 within four years. Starting from VB3, Microsoft integrated the database driver of ACCESS into VB, which greatly improved the database programming ability of VB. Since VB4, VB has also introduced the idea of object-oriented programming. VB is powerful and easy to learn. Moreover, VB also introduces the concept of "control:", so that a large number of compiled VB programs can be used directly by us. Now, VB has version 6.0.

After several years of development, it has become a truly professional development language and environment. Users think that Windows programs can be created quickly with Visual Basic, and now they can write enterprise-level client/server programs and powerful database applications. More functions are provided in the new version of Visual Basic.

Visual Basic programming foundation

What is a program?

First, you need to know the answer to the following question: "What is a program?" A computer program is an instruction set that tells a computer how to perform a special task. Readers may be familiar with many instructions, such as cooking special foods according to recipes or arriving at unfamiliar destinations according to specified directions. Without these special instructions, the expected task will not be carried out.

The same is true of computers, except that they need to provide instructions for each task they perform. Even the simplest tasks need instructions, such as how to press keys, how to display a letter on the screen, and how to store information on the disk. Fortunately, many of these instructions are contained in the processor chip or built into the operating system, so users don't have to worry about them.

Instead, focus on providing instructions for tasks, such as calculating employees' salaries, creating neighbor mailing lists, or setting formatted text to display the latest annual report information. Although we read these instructions in natural language, computer instructions must be binary codes, that is, a series of on or off States in computer memory and processor. Some languages, such as assembly language, can allow this type of code to be written directly. However, it is very difficult to program in this way, so Visual Basic and other programming languages enable programmers to write instructions in a way somewhat similar to natural languages. However, even these instructions are still limited and follow a highly defined structure.

Event driven programming

Visual Basic allows you to create programs that reflect user actions and system events. This kind of programming is called event-driven programming. To understand how event drivers work, we must first understand how past programs were executed and how they are different in the Windows environment. Before the advent of Windows (back to DOS and "prehistoric" PC), programs were executed in sequence. In other words, once the program is started, it will execute one instruction at a time until the program ends or a fatal error occurs.

object-oriented programming

The key technology to make it easier to create Windows programs is object-oriented programming, or OOP. This technology can create reusable components, which are the building blocks of programs.

Several definitions

When discussing Visual Basic, you often hear these terms, so it is very helpful to have a basic understanding of these terms.

Reusable objects that control the visual interface of component providers. Examples of control elements are text boxes, labels, and command buttons.

Actions triggered by the user or the operating system. Examples of events are keystrokes, mouse clicks, time limits, or receiving data from ports.

A method is code embedded in an object definition, which defines how an object processes information and responds to events. For example, a database object has a method to open a recordset and move it from one record to another.

The basic elements of an object program, including attributes that define its characteristics, define its tasks, and identify the events it can respond to. Control components and forms are examples of all objects in Visual Basic.

A code fragment written by a process to complete a task. Procedures are usually used to respond to specific events.

The characteristics of an attribute object, such as size, position, color, or text. Attributes determine the appearance and sometimes the behavior of an object. Properties are also used to provide data to and retrieve information from objects.

Is to use computer language to write commands or do some software to realize some functions.

For example: what we look up on the internet, open websites and dynamic web pages.

And so on, are supported by background code, which is the purpose of programming.

Look at the direction, there are many, such as the Internet, games, software and so on.

Making a system is the most difficult database. You must learn some languages such as C and C++.

JAVA and so on

What is computer programming? Thank you! It is to write an application with a lot of code or with some software. Not bad, huh?

What is computer programming? How to learn computer programming? Programming is the process of making a computer use programming language to write program code to solve a certain problem and finally get the result. The process of communication between people and computers is programming. If you want to learn programming, you need to have a good foundation in English and advanced mathematics. I don't know about you.

What is the major of computer programming? Computer major. The specific name depends on the professional direction set by each school.