الانتقال إلى المحتوى

البرمجة التصريحية: الحقائق، القواعد والأهداف

مُقدَّم
ورقة عمل
درس فيديو لهذا الموضوع افتح صفحة الفيديو
13:52

نماذج البرمجة

إليك مهمة واحدة: سرد كل طالب حصل على درجة A. يكتب مبرمج حلقة تكرار — ابدأ من السجل الأول، تحقق من الدرجة، أضف الاسم إلى قائمة، انتقل…

سرد باللغة الإنجليزية · ترجمة نصية بالإنجليزية و中文 يمكنك التبديل بينهما

في هذا الدرس

درس فيديو
مفردات
English المعنى
fact/fækt/حقيقة
loop/luːp/A structure that repeats a sequence of instructions.
Declarative programming/dɪˈklærətɪv ˈprəʊɡræmɪŋ/A way of programming that states facts, rules and goals.
rule/ruːl/قاعدة
goal/ɡəʊl/هدف
logic engineA system that uses facts and rules to answer goals.
values/ˈvæljuːz/Pieces of information that a program stores or uses.
assertionA statement that says something is true in the knowledge base.
knowledge base/ˈnɒlɪdʒ beɪs/A collection of facts and rules used to answer goals.
predicate/ˈpredɪkət/A name that describes a property or relationship in a statement.
constantsFixed names or values that do not change during matching.
variables/ˈveərɪəblz/A quantity or named value that can change or take different values.
conditions/kənˈdɪʃnz/A requirement or circumstance that affects what happens or whether something is true.
conclusion/kənˈkluːʒn/A judgement or statement drawn from evidence, results or reasoning.
bindingsConnections between variables and the values assigned to them during matching.
backtracksReturns along an earlier path to explore a different route.
Unification/ˌjuːnɪfɪˈkeɪʃn/The process of matching terms while assigning values to variables consistently.
terms/tɜːmz/A part of an expression separated from other parts by addition or subtraction, or an individual member of a sequence.

ورقة عمل

IGCSE, A-Level & AP