Bỏ qua nội dung

Compilation and interpretation

Đã giới thiệu
Tài liệu
Bài học video cho chủ đề này Mở trang video
13:59

Tài nguyên, Trình biên dịch & RPN

Mở một trình duyệt, một trình phát nhạc và một trò chơi. Bạn có một bộ xử lý — có thể vài nhân — nhưng tất cả đều dường như chạy cùng lúc. Và chúng cùng muốn nhiều hơn…

Thuyết minh tiếng Anh · Có thể chuyển đổi phụ đề tiếng Anh và tiếng Trung

Trong bài học này

Bài giảng video
Từ vựng
English Ý nghĩa
guidance softwarePrograms that control the direction and movement of a vehicle.
programmerA person who writes and develops computer programs.
compiler/kəmˈpaɪlə/trình biên dịch
interpreter/ɪnˈtɜːprɪtə/trình giải thích
executable fileA file containing a program that a computer can run.
source/sɔːs/The original program instructions written by a programmer in a programming language.
statement/ˈsteɪtmənt/A line of code that tells a program what to do.
types/taɪps/Categories that describe what kind of data values can be stored or used.
memory/ˈmeməri/The part of a computer that holds data and programs currently in use.
Lexical analysis/ˈleksɪkl əˈnæləsɪs/The process of grouping source code characters into tokens and removing unnecessary whitespace and comments.
characters/ˈkærɪktəz/A text unit such as a letter, digit, punctuation mark or other symbol.
tokens/ˈtəʊkənz/tokens: đơn vị từ vựng
keywords/ˈkiːwɜːdz/Words with special meanings that are part of a programming language.
identifiersNames chosen by programmers for parts of a program.
operators/ˈɒpəreɪtəz/Symbols or keywords specifying operations to perform on values or expressions.
literalsFixed values written directly in source code.
Whitespace/ˈwaɪtspeɪs/Spaces and other characters used to separate parts of source code.
comments/ˈkɒments/Explanatory text in source code or markup that does not execute as a program instruction.
symbol table/ˈsɪmbl ˈteɪbl/A compiler data structure recording identifiers and information such as their types, scopes or locations.
assignment/əˈsaɪnmənt/Storing a value in a variable or other named location.
lexer/ˈleksə/The part of a compiler that groups source code characters into tokens.
Syntax analysis/ˈsɪntæks əˈnæləsɪs/The process of checking tokens against language grammar and building a tree of their structure.
syntax/ˈsɪntæks/The rules that determine the correct structure of statements in a programming language.
grammar/ˈɡræmə/Rules defining valid sequences of symbols in a programming language.
abstract syntax tree/ˈæbstrækt ˈsɪntæks triː/abstract syntax tree: cây cú pháp trừu tượng
syntax error/ˈsɪntæks ˈerə/lỗi cú pháp
parser/ˈpɑːsə/The part of a compiler that checks syntax and builds a tree showing program structure.
Semantic analysis/səˈmæntɪk əˈnæləsɪs/Checking that a program follows meaning rules, such as using compatible types.
variable/ˈveərɪəbl/A quantity or named value that can change or take different values.
function/ˈfʌŋkʃn/A mapping that assigns exactly one output to each allowed input.
arguments/ˈɑːɡjuːmənts/Values or references supplied to a function or procedure when it is called.
semantics/səˈmæntɪks/The meaning of program statements according to the rules of a programming language.
Code generation/kəʊd ˌdʒenəˈreɪʃn/The process of producing machine code from the program's analysed structure.
target machine codeInstructions produced for the computer or processor that will run the program.
registers/ˈredʒɪstəz/A small, fast storage location within a processor used to hold data, addresses or instructions temporarily.
Code optimisation/kəʊd ˌɒptɪmaɪˈzeɪʃn/Improving code so it runs faster or uses less space without changing what it does.
constant expressionsCalculations made entirely from fixed values that can be worked out before a program runs.
compile timeThe period when source code is translated into a form a computer can run.
instructions/ɪnˈstrʌkʃnz/Commands that tell a computer what actions to perform.
pipeline/ˈpaɪplaɪn/An arrangement that overlaps stages of different instructions or tasks to improve overall throughput.
stand-alone executableA program file that can run without the compiler being present.
operand/ˈɒpərænd/A value, register or memory location that an instruction operates on.
logic error/ˈlɒdʒɪk ˈerə/A mistake in an algorithm or program that produces an incorrect result despite valid syntax.
testing/ˈtestɪŋ/Running a program with chosen inputs to check that it gives the expected outputs.
semantic errorAn error where code follows grammar rules but breaks meaning rules, such as using incompatible types.
Tiếp theo →

Tài liệu

Đăng nhập hoặc tạo tài khoản

IGCSE, A-Level & AP