Question 1: What is the computer source program? A program is just like a human brain
If a person doesn’t have a brain, is that person useful?
A computer is just like a brain
Question 2: What is a source program? Target program? The code you enter on the keyboard (usually in text format) is the source program. The machine-translated code that can be recognized by the machine but cannot be recognized by humans is the target program.
Question 3: What computer programs include? There are many types of programs! The executable program .exe is the most familiar one.
As long as it can be double-clicked to run, it is called a program!
Viruses are also programs!
Question 4: What is the function of a computer program? A computer program or software program (usually referred to as a program) refers to a set of instructions that instructs each step of the computer's actions. It is usually written in a certain programming language and runs on a certain target architecture. For example, a program is like a braised pork recipe (program) written in Chinese (programming language), which is used to guide people who understand Chinese (architecture) to make this dish. Typically, computer programs are compiled and linked into a format that is not easily understood by humans but understandable by computers, and then run. Programs that can be run without compilation are often called scripts.
Question 5: What is computer programming? That is to use programming software to design a program.
Question 6: What is a computer program? 1. Procedure
Concept 1.: A prescribed path for carrying out an activity or process.
Concept 2. A program is composed of sequences that tell the computer how to complete a specific task. Since current computers cannot understand human natural language, they cannot yet write computer programs in natural language.
2. Programming
There are many types of computer languages. Generally speaking, they can be divided into three categories: machine language, assembly language, and high-level language.
Currently, there are two common forms of programming languages: assembly language and high-level language. The only language that computers can recognize is machine language, which is a code composed of 0s and 1s. But usually when people program, they don't use machine language because it is very difficult to remember and recognize.
Programs written in high-level languages ??cannot be directly recognized by computers and must be converted before they can be executed. They can be divided into two categories according to the conversion method:
Interpretation type: similar execution methods Due to the "simultaneous translation" in our daily life, the application source code is "translated" into the target code (machine language) by the interpreter of the corresponding language while being executed. Therefore, the efficiency is relatively low, and it cannot generate an independently executable executable. To execute a file, the application cannot be separated from its interpreter, but this method is more flexible and can dynamically adjust and modify the application.
Compilation class: Compilation refers to "translating" the program source code into target code (machine language) before the application source program is executed, so the target program can be executed independently from its language environment, using comparison Convenient and efficient. However, once the application needs to be modified, the source code must be modified first, and then recompiled to generate a new object file (*.OBJ) before it can be executed. There is only an object file but no source code, making modification very inconvenient. Most of the programming languages ????now are compiled, such as Visual C++, Visual Foxpro, Delphi, etc.
Answer supplement
All software (including qq) is a running program.
Writing a program is an iterative process of writing new source code and testing, analyzing, and improving the newly written code to find syntactic and semantic errors. People who do this kind of work are called programmers. Due to the rapid development of computers, programming requirements and types have become increasingly diverse, resulting in different types of programmers, each with a more detailed division of labor and tasks. Software engineers and systems analysts are two examples. Today, the long-term process of programming is called "software development" or software engineering. The latter has also become increasingly popular due to the growing sophistication of the discipline.
Question 7: What are the main programs of the computer? The reason is:
The instructions in the instruction system are stored in the form of binary encoding in the computer memory. This encoding is called machine code, or machine instruction. When the program is running, The instructions are read into the CPU from the memory, then decoded and executed. Only the machine code in the memory, that is, the machine language program, can be executed by the computer. However, machine code is difficult to remember and is prone to errors when used. Therefore, directly using machine code Programming is an extremely difficult and tedious task. Programming procedures are difficult to understand. Even the programmer himself may not understand his own program within a few days of programming. He needs to think carefully before he can suddenly understand it. At this time, if there are detailed program comments, it will bring you great convenience and avoid the pain of fatigue again.
Practical needs inspire people to create a symbol-mnemonic, using They replace machine codes to represent instructions. They have simple and clear meanings, are clear at a glance, and are easy to understand and remember. As a result, assembly language came into being. Now, we can use instruction mnemonics and various symbols to represent addresses or data, etc. Symbols are used to compile programs according to a prescribed format. Such programs are called assembly language programs. These symbols representing instructions, addresses, data, etc., as well as related regulations, are tools for computers to "think", that is, computer assembly Language.
Assembly language is closely related to the specific computer type. Different central processing units have different instruction systems, and the corresponding assembly languages ????are also different from each other. Programs that are closely related to hardware , or programs with high real-time requirements, often use assembly programs.
With the support of the editing program, the assembly language program is input from the keyboard and edited to form an assembly language source program. The source program is written in assembly language Written by statements, inside the computer, each statement of the source program is represented by ASCII code and is stored on the disk, also called a source file. What distinguishes it from machine instructions is that it cannot be executed by the computer, but it can be used to display and print, as a file for checking and saving.
The assembly language source program is formed after the syntax check and translation of the assembler. The object code file represented by the binary code. If there is a syntax error in the source program, the assembler will point out the type of error and the statement where the error is located, so that the user can re-edit and modify it, and then form a new source program. The source file and its generated The object code file can be one or several.
The object code file cannot be run directly on the computer. It must be connected with the library file through a linker program to form an executable file. This executable file The operating system must be loaded into the computer memory before it can run.
Don’t call me BOSS answered on 2008-01-29 15:58
Other answers.EXE application
< p> .BAT batch fileAnyway, there are a lot of them!
Question 8: What is a computer program? A computer program refers to an instruction that a computer can recognize and run ***. It’s the software you usually see, such as QQ
Question 9: What is the computer calculation program? Is it a computer software system?
The so-called software refers to programs organized to facilitate the use of computers and improve efficiency, as well as related documents used for development, use and maintenance. Software systems can be divided into two categories: system software and application software.
1 System software
System software consists of a set of programs that control the computer system and manage its resources. Its main functions include: starting the computer, storing, loading and executing application programs, and Sort and retrieve files, translate program language into machine language, etc. In fact, system software can be regarded as the interface between the user and the computer. It provides application software and users with the means to control and access the hardware. These functions are mainly completed by the operating system. In addition, compilation systems and various tool software also fall into this category, which assist users in using computers on the other hand. Their functions are introduced below.
1) Operating System (OS)
The operating system is a program system that manages, controls and supervises the coordinated operation of computer software and hardware resources. It consists of a series of systems with different control and The program consists of management functions. It is the most basic system software that runs directly on the computer hardware and is the core of the system software. The operating system is a product of the development of computers. It has two main purposes: First, it is to facilitate users to use computers and is the interface between users and computers. For example, users can automatically complete complex functions by typing a simple command, which is the result of the help of the operating system; second, unified management of all resources of the computer system and reasonable organization of computer workflow so that the efficiency of the computer can be fully and reasonably utilized. The operating system should usually include the following five functional modules:
(1) Processor management. Solve the problem of processor (CPU) time allocation when multiple programs are running at the same time.
(2) Job management. A program that completes an independent task and the data it requires form a job. The main task of job management is to provide users with a computer interface to conveniently run their own jobs, schedule and control all jobs entering the system, and utilize the resources of the entire system as efficiently as possible.
(3) Memory management. Allocate storage space for each program and the data it uses, and ensure that they do not interfere with each other.
(4) Equipment management. Device allocation is performed based on the user's request to use the device, and it can also receive requests from the device (called interrupts) at any time, such as requests to enter information.
(5) File management. Mainly responsible for the storage, retrieval, sharing and protection of files, providing users with convenient file operations.
There are many types of operating systems, which are divided into batch operating systems, time-sharing operating systems and real-time operating systems according to their functions and characteristics; according to the number of users managed at the same time, they are divided into single-user operating systems and multi-user operating systems. User operating system; a network operating system suitable for managing computer network environments. According to its development process, it is usually divided into the following six categories:
(1) Single User Operating System (Single User Operating System)
The main feature of a single-user operating system is the Only one user program can be run at a time. The biggest disadvantage of this type of system is that the resources of the computer system cannot be fully utilized. Microcomputer DOS and Windows operating systems belong to this category.
(2) Batch Processing Operating System (Batch Processing Operating System)
The batch processing operating system is an operating system running on large and medium-sized computers in the 1970s. At that time, due to the low CPU usage efficiency of single-user single-task operating systems and underutilization of I/O device resources, a multi-channel batch processing system was developed, which mainly ran on large and medium-sized computers. Multi-channel refers to the existence and running of multiple programs or jobs (Multi-Programs or Multi Jobs) at the same time, so it is also called a multi-tasking operating system. IBM's DOS/VSE is this type of system.
(3) Time-Sharing Operating System (Time-Sharing Operating System)
A time-sharing system is an operating system with the following characteristics: several computers are hung around a computer. Near or remote terminal, each user can interactively control the job running on their own terminal.
Under the management of the time-sharing system, although each user uses...>>