تخطَّ إلى المحتوى

الدرس 5/13 · 18 كلمة · تم تعلّم 0

Programming fundamentals

أساسيات البرمجة

  1. 1

    algorithm(noun)

    /ˈælɡərɪðəm/

    خوارزمية

    a set of step-by-step rules that a computer follows to solve a problem or complete a task

    The new algorithm finds the shortest delivery route in seconds.

    تجد الخوارزمية الجديدة أقصر مسار للتوصيل في ثوانٍ.

    Social media platforms use algorithms to decide which posts users see.

    المرادفاتprocedureformulaprocessmethodroutine
    الأضدادrandomnesschanceguesswork
  2. 2

    source code(noun)

    /sɔːrs kəʊd/

    الشيفرة المصدرية, الكود المصدري

    the original instructions of a program, written by programmers in a form people can read

    Only senior developers can change the source code of the core system.

    لا يستطيع تعديل الشيفرة المصدرية للنظام الأساسي سوى كبار المطورين.

    The client asked for a copy of the source code when the project ended.

    المرادفاتcodeprogram code
    الأضدادexecutablebinary code
  3. 3

    programming language(noun)

    /ˈprəʊɡræmɪŋ ˌlæŋɡwɪdʒ/

    لغة برمجة

    a formal language with its own words and rules, such as Python or Java, used to write computer programs

    Python is the main programming language used by our data team.

    Python هي لغة البرمجة الرئيسية التي يستخدمها فريق البيانات لدينا.

    The job requires experience in at least one object-oriented programming language.

  4. 4

    code(noun)

    /kəʊd/

    الشيفرة البرمجية, الكود البرمجي

    instructions written in a programming language that make a computer program work

    She wrote the code for the payment module in just two days.

    كتبت الشيفرة البرمجية لوحدة الدفع في يومين فقط.

    Good code is easy for other developers to read and change.

  5. 5

    syntax(noun)

    /ˈsɪntæks/

    بناء الجملة, الصياغة النحوية

    the rules for how words, symbols and punctuation must be written in a programming language

    The program will not run because there is a syntax error on line 42.

    لن يعمل البرنامج بسبب خطأ في بناء الجملة في السطر 42.

    Python syntax is simple, which makes it good for beginners.

  6. 6

    variable(noun)

    /ˈveəriəbl/

    متغيّر

    a named place in a program that stores a value which can change while the program runs

    Give each variable a clear name so others understand your code.

    أعطِ كل متغيّر اسمًا واضحًا ليفهم الآخرون شيفرتك.

    The bug happened because the variable was never set to zero.

  7. 7

    data type(noun)

    /ˈdeɪtə taɪp/

    نوع البيانات

    the kind of value a variable can hold, such as a number, text or true/false

    The error appeared because the function expected a number but received a text data type.

    ظهر الخطأ لأن الدالة توقعت رقمًا لكنها تلقّت بيانات من نوع نص.

    Choose the right data type for each column in the table.

  8. 8

    function(noun)

    /ˈfʌŋkʃn/

    دالة, وظيفة برمجية

    a named block of code that performs a particular task and can be used many times

    I wrote a function that calculates tax for every invoice.

    كتبت دالة تحسب الضريبة لكل فاتورة.

    Break large blocks of code into smaller functions.

  9. 9

    loop(noun)

    /luːp/

    حلقة تكرارية, حلقة

    a part of a program that repeats the same instructions until a condition is met

    The script uses a loop to send an email to each customer on the list.

    يستخدم النص البرمجي حلقة تكرارية لإرسال بريد إلكتروني إلى كل عميل في القائمة.

    The app froze because of an infinite loop in the code.

  10. 10

    conditional statement(noun)

    /kənˈdɪʃənl ˈsteɪtmənt/

    جملة شرطية, عبارة شرطية

    a programming instruction, such as if/else, that runs different code depending on whether a condition is true

    A conditional statement checks whether the user is logged in before showing the page.

    تتحقق الجملة الشرطية مما إذا كان المستخدم مسجّلًا الدخول قبل عرض الصفحة.

    Too many nested conditional statements make the code hard to test.

  11. 11

    array(noun)

    /əˈreɪ/

    مصفوفة

    a data structure that stores a list of values of the same type in a fixed order

    The function returns an array of customer IDs.

    تُرجع الدالة مصفوفة من معرّفات العملاء.

    Store the monthly totals in an array and loop through them.

  12. 12

    compile(verb)

    /kəmˈpaɪl/

    يصرّف, يترجم برمجيًا

    to change source code into a form that a computer can run

    The project takes about five minutes to compile.

    يستغرق تصريف المشروع نحو خمس دقائق.

    The code compiled successfully, but it crashed during testing.

  13. 13

    debug(verb)

    /ˌdiːˈbʌɡ/

    يصحّح الأخطاء البرمجية, يُنقّح الشيفرة

    to find and remove errors in a computer program

    I spent the whole morning debugging the login page.

    قضيت الصباح كله في تصحيح أخطاء صفحة تسجيل الدخول.

    Use the logs to debug problems that only happen on the live server.

  14. 14

    bug(noun)

    /bʌɡ/

    خطأ برمجي, علّة برمجية

    a mistake in a program that makes it behave in a wrong or unexpected way

    Testers found a bug that charged some customers twice.

    اكتشف المختبِرون خطأً برمجيًا تسبب في خصم المبلغ مرتين من بعض العملاء.

    The update fixes several minor bugs in the reporting module.

  15. 15

    script(noun)

    /skrɪpt/

    نص برمجي, سكربت

    a short program that automates a task, often written in a language such as Python or Bash

    We wrote a script that backs up the database every night.

    كتبنا نصًا برمجيًا يأخذ نسخة احتياطية من قاعدة البيانات كل ليلة.

    The deployment script failed because a file path was wrong.

  16. 16

    library(noun)

    /ˈlaɪbrəri/

    مكتبة برمجية

    a collection of ready-made code that programmers can reuse in their own programs

    We used an open-source library to generate PDF reports.

    استخدمنا مكتبة مفتوحة المصدر لإنشاء تقارير PDF.

    Check the licence before adding a third-party library to the project.

  17. 17

    object-oriented programming(noun)

    /ˌɒbdʒɪkt ˈɔːrientɪd ˈprəʊɡræmɪŋ/

    البرمجة كائنية التوجه, البرمجة الشيئية

    a style of programming that organizes code into objects that contain both data and functions

    Java and C# are popular languages for object-oriented programming.

    تُعدّ جافا وسي شارب من اللغات الشائعة للبرمجة كائنية التوجه.

    The interview included questions on object-oriented programming concepts like classes and inheritance.

  18. 18

    IDE(abbreviation)

    /ˌaɪ diː ˈiː/

    بيئة التطوير المتكاملة, IDE

    integrated development environment: a software application with tools for writing, testing and debugging code

    Most of our developers use Visual Studio Code as their IDE.

    يستخدم معظم مطوّرينا Visual Studio Code بوصفه بيئة التطوير المتكاملة.

    A good IDE highlights errors while you type.