1/41
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
variables
a named storage location that holds a value or data.
functions
a set of code that performs a specific task. Instead of writing the same code multiple times, you can define a function once and call it whenever needed.
functions #arabic
مجموعة من التعليمات البرمجية التي تؤدي مهمة محددة. بدلاً من كتابة نفس التعليمات البرمجية عدة مرات، يمكنك تعريف وظيفة مرة واحدة واستدعائها عند الحاجة.
theory DRY (نظرية DRY)
Don't rebeat yourself
functions library
It means a set of ready-made functions provided by the programming language or created in advance in a specific file.
function library #arabic
.يعني مجموعة من الوظائف الجاهزة التي توفرها لغة البرمجة أو يتم إنشاؤها مسبقًا في ملف محدد.
Custom Function Library
The programmer does it and it is in a separate file.
Custom Function Library #arabic
يقوم المبرمج بذلك وهو موجود في ملف منفصل.
Built-in Functions
These are ready-made functions that come with the programming language, and you do not need to import an external library to use them.
Built-in Functions #arabic
هي دوال جاهزة تأتي مع لغة البرمجة، ولا تحتاج إلى استيراد مكتبة خارجية لاستخدامها.
Subroutine
do not return a value directly; they just execute commands.
Routine
A routine is a general term in programming that refers to a set of instructions designed to perform a specific task. It can be a function, subroutine, method, or procedure, depending on the programming language.
Routine#arabic
الروتين (Routine) هو مصطلح عام في البرمجة يشير إلى مجموعة من التعليمات المصممة لتنفيذ مهمة معينة. يمكن أن يكون دالة (Function)، إجراءً فرعيًا (Subroutine)، طريقة (Method)، أو إجراءً (Procedure) حسب لغة البرمجة المستخدمة.
User-defined
"defined by the user," and it refers to elements that the user creates manually in programming, such as functions, variables, and objects, instead of using built-in (Pre-defined) elements.
User-defined #arabic
"مُعرَّف من قبل المستخدم"، وتُستخدم في البرمجة للإشارة إلى العناصر التي يقوم المستخدم بإنشائها بنفسه، مثل الدوال، المتغيرات، والكائنات، بدلًا من استخدام العناصر الجاهزة (Pre-defined).
Pre-defined
"already defined," and it refers to functions, variables, or objects built into the programming language, making them ready to use without needing to define or create them manually.
Pre-defined #arabic
"مُعرَّف مسبقًا"، وهي تُستخدم في البرمجة للإشارة إلى دوال أو متغيرات أو كائنات مدمجة في اللغة، بحيث تكون جاهزة للاستخدام دون الحاجة إلى تعريفها أو إنشائها يدويًا.
Procedure
a block of code that performs a specific task but does not return a value.
Procedure #arabic
هو كتلة من الكود التي تقوم بأداء مهمة معينة ولكن لا تُرجع قيمة. يشبه الإجراء الدالة (Function)
Subprogram
a small, independent section of a larger program that performs a specific task. It helps in breaking down complex programs into smaller, manageable parts.
Subprogram #arabic
هو جزء صغير ومستقل من البرنامج الرئيسي يقوم بمهمة معينة. يساعد في تقسيم البرامج الكبيرة إلى أجزاء أصغر وأكثر تنظيمًا.
method
a function that is associated with an object or a class in object-oriented programming (OOP). It is used to perform operations on data stored in an object.
method #arabic
الطريقة (Method) هي دالة (Function) مرتبطة بكائن (Object) أو فئة (Class) في البرمجة الكائنية التوجه (OOP). تُستخدم لتنفيذ عمليات على البيانات المخزنة داخل الكائن.
function components
keyword def
function name
parameters
colon
statement
return statement
function call
argument
The actual value passed to the function.
argument #arabic
هو القيمة الفعلية التي يتم تمريرها عند استدعاء الدالة.
parameter
A variable in the function definition.
parameter #arabic
هو المتغير الذي يُستخدم في تعريف الدالة.
Higher-Order Function
a function that takes another function as an argument OR returns a function.
Higher-Order Function #arabic
هي دالة تأخذ دالة أخرى كمعامل OR تُرجع دالة أخرى كنتيجة.
Nested Lists
Nested lists allow data representation in the form of tables or matrices.
Nested Lists #arabic
تسمح بتمثيل البيانات في شكل مصفوفات أو جداول.
Nested Function
A nested function is a function defined inside another function. It is commonly used for encapsulation, organization, and closure properties in programming.
Nested Function #arabic
لدالة المتداخلة هي دالة يتم تعريفها داخل دالة أخرى. تُستخدم عادةً من أجل التغليف (Encapsulation)، وتنظيم الكود، والاستفادة من الـ Closures في البرمجة.
inline function
a function that is defined and called within a single line of code. These are usually small functions that can be defined where they are used. Inline functions are typically used for short, simple operations.
inline function #arabic
هي دالة تُعرّف وتُستدعى في سطر واحد من الكود. عادةً ما تكون هذه الدوال قصيرة وبسيطة، ويتم تعريفها في مكان استخدامها. تُستخدم الدوال المدمجة عادةً للعمليات السريعة والبسيطة.
anonymous function
a function that does not have a name, and is used temporarily within the program. These functions are generally defined without a name and are often used in places where a function is needed only once, such as passing a function as an argument to another function.
anonymous function #arabic
هي دالة لا تحمل اسمًا، وتُستخدم بشكل مؤقت داخل البرنامج. هذه الدوال تُعرف بشكل عام بدون اسم، وعادةً ما يتم استخدامها في الأماكن التي تحتاج فيها إلى دالة لمرة واحدة فقط، مثل تمرير دالة كمعامل إلى دالة أخرى.
Lambda Expressions
A lambda expression (or lambda function) is an anonymous function defined using the lambda keyword. It is typically used for short, simple operations where defining a full function would be unnecessary.
Lambda Expressions #arabic
Debugging
the process of finding and fixing errors in a program's source code.
Debugging #arabic
هو عملية العثور على الأخطاء البرمجية وإصلاحها في الكود المصدري للبرنامج.