דלג לתוכן

Compilation and interpretation

הוצג
חומר עזר
שיעור וידאו לנושא זה פתח את עמוד הוידאו
13:59

משאבים, קומפילרים ו-RPN

פתח דפדפן, נגן מוזיקה ומשחק. יש לך מעבד אחד — אולי כמה ליבות — אך כולם נראים כאילו רצים בו-זמנית. יחד הם שואפים ליותר…

קריינות באנגלית · כתוביות באנגלית ובסינית 中文 שאפשר להחליף ביניהן

בשיעור הזה

שיעור וידאו
מילון מונחים
English משמעות
guidance softwarePrograms that control the direction and movement of a vehicle.
programmerA person who writes and develops computer programs.
compiler/kəmˈpaɪlə/מתרגם
interpreter/ɪnˈtɜːprɪtə/מפרש
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/טוקנים
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ː/עץ סינטקס קולט
syntax error/ˈsɪntæks ˈerə/שגיאת סינטקס
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.
הבא →

חומר עזר

היכנס או צור חשבון

IGCSE, A-Level & AP