en
string
translation
string
target_lang
string
domain
string
complexity
string
The index starts at 0 for the first element, 1 for the second, and so on.
يبدأ الفهرس بالرقم 0 للعنصر الأول، و 1 للثاني، وهكذا.
ar
technical
simple
To access an element, use square brackets with the index value.
للوصول إلى عنصر، استخدم الأقواس المربعة مع قيمة الفهرس.
ar
technical
simple
Negative index values can be used to access elements from the end of the list.
يمكن استخدام قيم الفهرس السالبة للوصول إلى العناصر من نهاية القائمة.
ar
technical
moderate
An out-of-range index value will result in an error.
ستؤدي قيمة الفهرس الخارجة عن النطاق إلى حدوث خطأ.
ar
technical
simple
Lists in Python are mutable, meaning their contents can be changed after creation.
القوائم في بايثون قابلة للتغيير، مما يعني أنه يمكن تغيير محتوياتها بعد إنشائها.
ar
technical
moderate
The concatenation operator `+` joins two or more lists.
يقوم عامل التشغيل `+` بربط قائمتين أو أكثر.
ar
technical
simple
The repetition operator `*` replicates the contents of a list.
يقوم عامل التكرار `*` بتكرار محتويات القائمة.
ar
technical
simple
The membership operator `in` checks if an element is present in the list.
يتحقق عامل العضوية `in` مما إذا كان العنصر موجودًا في القائمة.
ar
technical
simple
Slicing allows you to create a new list from a portion of an existing list.
يسمح لك التقطيع بإنشاء قائمة جديدة من جزء من قائمة موجودة.
ar
technical
moderate
You can traverse a list using a `for` loop or a `while` loop.
يمكنك اجتياز قائمة باستخدام حلقة `for` أو حلقة `while`.
ar
technical
simple
The `len()` function returns the length of a list.
تقوم الدالة `len()` بإرجاع طول القائمة.
ar
technical
simple
The `append()` method adds a single element to the end of a list.
تضيف طريقة `append()` عنصرًا واحدًا إلى نهاية القائمة.
ar
technical
simple
The `extend()` method adds multiple elements from another list to the end.
تضيف طريقة `extend()` عناصر متعددة من قائمة أخرى إلى النهاية.
ar
technical
moderate
The `insert()` method inserts an element at a specific index.
تقوم طريقة `insert()` بإدراج عنصر في فهرس معين.
ar
technical
moderate
The `count()` method returns the number of times an element appears in a list.
تقوم طريقة `count()` بإرجاع عدد مرات ظهور عنصر في القائمة.
ar
technical
moderate
The `index()` method returns the index of the first occurrence of an element.
تقوم طريقة `index()` بإرجاع فهرس أول ظهور لعنصر.
ar
technical
moderate
The `remove()` method removes the first occurrence of a specified element.
تقوم طريقة `remove()` بإزالة أول ظهور لعنصر محدد.
ar
technical
moderate
The software is freely available for use, but the source code may not be available.
البرنامج متاح للاستخدام مجانًا، ولكن قد لا يكون كود المصدر متاحًا.
ar
technical
moderate
More examples of FOSS include Python, Libreoffice, Openoffice, and Mozilla Firefox.
تشمل الأمثلة الأخرى على البرامج مفتوحة المصدر بايثون وليبرأوفيس وأوبن أوفيس وموزيلا فايرفوكس.
ar
technical
simple
A computer processes data to generate information whose further analysis and interpretation yields knowledge.
تعالج أجهزة الكمبيوتر البيانات لإنشاء معلومات يؤدي تحليلها وتفسيرها الإضافي إلى المعرفة.
ar
technical
moderate
What is the need for secondary memory?
ما هي الحاجة إلى الذاكرة الثانوية؟
ar
technical
simple
Differentiate between proprietary software and freeware software.
فرق بين البرامج الاحتكارية والبرامج المجانية.
ar
technical
moderate
Mention any browsers used for browsing the internet.
اذكر أي متصفحات مستخدمة لتصفح الإنترنت.
ar
technical
simple
To enter textual data.
لإدخال البيانات النصية.
ar
technical
simple
Computers have been around for quite some time now.
لقد كانت أجهزة الكمبيوتر موجودة منذ فترة طويلة.
ar
general
simple
Artificial Intelligence endeavours to simulate the natural intelligence of human beings into machines.
تسعى الذكاء الاصطناعي إلى محاكاة الذكاء الطبيعي للبشر في الآلات.
ar
technical
complex
Machine Learning is a subsystem of Artificial Intelligence.
التعلم الآلي هو نظام فرعي للذكاء الاصطناعي.
ar
technical
simple
The predictive typing feature of search engine that helps us by suggesting the next word.
ميزة الكتابة التنبؤية لمحرك البحث التي تساعدنا من خلال اقتراح الكلمة التالية.
ar
technical
moderate
Immersive experiences allow us to visualise, feel and react by stimulating our senses.
تسمح لنا التجارب الغامرة بالتصور والشعور والتفاعل عن طريق تحفيز حواسنا.
ar
technical
moderate
Virtual Reality is a three-dimensional, computer-generated situation that simulates the real world.
الواقع الافتراضي هو حالة ثلاثية الأبعاد يتم إنشاؤها بواسطة الكمبيوتر تحاكي العالم الحقيقي.
ar
technical
moderate
Robotics is an interdisciplinary branch of technology.
الروبوتات هي فرع متعدد التخصصات من التكنولوجيا.
ar
technical
simple
Big data not only represents voluminous data, it also involves various challenges.
لا تمثل البيانات الضخمة فقط بيانات ضخمة، بل تتضمن أيضًا تحديات مختلفة.
ar
technical
moderate
Big data exhibits following five characteristics.
تعرض البيانات الضخمة الخصائص الخمس التالية.
ar
technical
simple
Data analytics is the process of examining data sets.
تحليل البيانات هو عملية فحص مجموعات البيانات.
ar
technical
simple
The Internet of Things is a network of devices.
إنترنت الأشياء عبارة عن شبكة من الأجهزة.
ar
technical
simple
Cloud computing is an emerging trend in the field of information technology.
الحوسبة السحابية هي اتجاه ناشئ في مجال تكنولوجيا المعلومات.
ar
technical
moderate
These resources are provided by companies called cloud service providers.
يتم توفير هذه الموارد من قبل شركات تسمى موفري خدمات السحابة.
ar
technical
simple
If the left operand is greater than the value of the right operand, then the condition is True, otherwise it is False.
إذا كان المعامل الأيسر أكبر من قيمة المعامل الأيمن، فإن الشرط صحيح، وإلا فهو خطأ.
ar
technical
moderate
Similarly, there are other assignment operators like *=, /=, %=, //=, and **=.
وبالمثل، هناك معاملات إسناد أخرى مثل *=، /=، %=، //=، و **=.
ar
technical
simple
There are three logical operators (Table 3.6) supported by Python.
هناك ثلاثة معاملات منطقية (الجدول 3.6) مدعومة بواسطة بايثون.
ar
technical
simple
These operators (and, or, not) are to be written in lower case only.
يجب كتابة هذه المعاملات (و، أو، لا) بأحرف صغيرة فقط.
ar
technical
simple
The logical operator evaluates to either True or False based on the logical operands on its either side.
يقيم المعامل المنطقي إلى إما صحيح أو خطأ بناءً على المعاملات المنطقية على أي من جانبيه.
ar
technical
moderate
Similarly, there are other relational operators like <= and >=.
وبالمثل، هناك معاملات علائقية أخرى مثل <= و >=.
ar
technical
simple
Assignment operator assigns or changes the value of the variable on its left, as shown in Table 3.5.
يقوم عامل الإسناد بتعيين أو تغيير قيمة المتغير على يساره، كما هو موضح في الجدول 3.5.
ar
technical
moderate
It adds the value of right side operand to the left side operand and assigns the result to the left side operand.
يضيف قيمة المعامل الموجود على الجانب الأيمن إلى المعامل الموجود على الجانب الأيسر ويعين النتيجة للمعامل الموجود على الجانب الأيسر.
ar
technical
moderate
It subtracts the value of right side operand from the left side operand and assigns the result to left side operand.
يطرح قيمة المعامل الموجود على الجانب الأيمن من المعامل الموجود على الجانب الأيسر ويعين النتيجة للمعامل الموجود على الجانب الأيسر.
ar
technical
moderate
If both operands are True, then condition becomes True.
إذا كان كلا المعاملين صحيحين، فإن الشرط يصبح صحيحًا.
ar
technical
simple
If any of the two operands are True, then condition becomes True.
إذا كان أي من المعاملين صحيحًا، فإن الشرط يصبح صحيحًا.
ar
technical
simple
Used to reverse the logical state of its operand.
تُستخدم لعكس الحالة المنطقية للمعامل.
ar
technical
simple
Membership operator is used to check if a value is a member of the given sequence or not.
يُستخدم عامل العضوية للتحقق مما إذا كانت القيمة عضوًا في التسلسل المحدد أم لا.
ar
technical
moderate
Returns True if the variable or value is found in the specified sequence and False otherwise.
إرجاع صحيح إذا تم العثور على المتغير أو القيمة في التسلسل المحدد، وإلا خطأ.
ar
technical
moderate
An expression is defined as a combination of constants, variables and operators.
يُعرَّف التعبير على أنه مجموعة من الثوابت والمتغيرات والمعاملات.
ar
technical
moderate
An expression always evaluates to a value.
يقيم التعبير دائمًا إلى قيمة.
ar
technical
simple
When an expression contains more than one operator, their precedence determines which operator should be applied first.
عندما يحتوي التعبير على أكثر من عامل واحد، تحدد أسبقيتهم أي عامل يجب تطبيقه أولاً.
ar
technical
moderate
Higher precedence operator is evaluated before the lower precedence operator.
يتم تقييم عامل الأسبقية الأعلى قبل عامل الأسبقية الأقل.
ar
technical
moderate
Parenthesis can be used to override the precedence of operators.
يمكن استخدام الأقواس لتجاوز أسبقية المعاملات.
ar
technical
simple
The input() function prompts the user to enter data.
تطالب الدالة input() المستخدم بإدخال البيانات.
ar
technical
simple
The program counts the number of times a character appears in a given string.
يقوم البرنامج بعدد مرات ظهور حرف في سلسلة معينة.
ar
technical
moderate
Enter a string:
أدخل سلسلة:
ar
technical
simple
The output shows the frequency of each character.
يبين الناتج تكرار كل حرف.
ar
technical
moderate
Write a program to convert a number entered by the user into its corresponding number in words.
اكتب برنامجًا لتحويل رقم أدخله المستخدم إلى رقمه المقابل بالكلمات.
ar
technical
complex
For example, if the input is 876 then the output should be ‘Eight Seven Six’.
على سبيل المثال، إذا كان الإدخال هو 876، فيجب أن يكون الإخراج 'ثمانية سبعة ستة'.
ar
technical
moderate
Enter any number:
أدخل أي رقم:
ar
technical
simple
The number is:
الرقم هو:
ar
technical
simple
The numberName is:
اسم الرقم هو:
ar
technical
simple
Lists are mutable sequences in Python.
القوائم عبارة عن تسلسلات قابلة للتغيير في بايثون.
ar
technical
moderate
We can change the elements of the list.
يمكننا تغيير عناصر القائمة.
ar
technical
simple
Elements of a list are put in square brackets separated by comma.
توضع عناصر القائمة بين أقواس مربعة مفصولة بفاصلة.
ar
technical
moderate
List indexing is same as that of list and starts at 0.
فهرسة القائمة هي نفسها فهرسة القائمة وتبدأ من 0.
ar
technical
moderate
Operator + concatenates one list to the end of other list.
يقوم المشغل + بربط قائمة واحدة بنهاية قائمة أخرى.
ar
technical
moderate
Operator * repeats the content of a list by specified number of times.
يقوم المشغل * بتكرار محتوى القائمة بعدد مرات محدد.
ar
technical
moderate
Membership operator in tells if an element is present in the list or not.
يخبر عامل العضوية ما إذا كان العنصر موجودًا في القائمة أم لا.
ar
technical
moderate
Slicing is used to extract a part of the list.
يُستخدم التقطيع لاستخراج جزء من القائمة.
ar
technical
moderate
Dictionary is a mapping data type.
القاموس هو نوع بيانات تعيين.
ar
technical
moderate
It is an unordered collection of key-value pair.
إنه مجموعة غير مرتبة من أزواج المفتاح والقيمة.
ar
technical
moderate
Keys are unique and act as the index.
المفاتيح فريدة وتعمل كمؤشر.
ar
technical
moderate
Keys are of immutable type but values can be mutable.
المفاتيح من النوع غير القابل للتغيير ولكن القيم يمكن أن تكون قابلة للتغيير.
ar
technical
moderate
Consider Table 6.1 showing marks obtained by students in three different subjects.
ضع في اعتبارك الجدول 6.1 الذي يوضح علامات الطلاب في ثلاثة مواد مختلفة.
ar
technical
simple
Let us create an array called marks to store marks given in three subjects for four students given in this table.
دعنا ننشئ مصفوفة تسمى علامات لتخزين العلامات المعطاة في ثلاثة مواد لأربعة طلاب واردة في هذا الجدول.
ar
technical
moderate
As there are 4 students (i.e. 4 rows) and 3 subjects (i.e. 3 columns), the array will be called marks[4][3].
نظرًا لوجود 4 طلاب (أي 4 صفوف) و 3 مواد (أي 3 أعمدة)، ستسمى المصفوفة علامات [4][3].
ar
technical
moderate
This array can store 4*3 = 12 elements.
يمكن لهذه المصفوفة تخزين 4 * 3 = 12 عنصرًا.
ar
technical
simple
Here, marks[i,j] refers to the element at (i+1) th row and (j+1) th column because the index values start at 0.
هنا، تشير علامات [i,j] إلى العنصر الموجود في الصف (i+1) والعمود (j+1) لأن قيم الفهرس تبدأ من 0.
ar
technical
complex
Thus marks[3,1] is the element in 4 th row and second column which is 72 (marks of Prasad in English).
وبالتالي فإن علامات [3,1] هي العنصر الموجود في الصف الرابع والعمود الثاني وهو 72 (علامات براد في اللغة الإنجليزية).
ar
technical
moderate
Sometimes we need to extract part of an array.
في بعض الأحيان نحتاج إلى استخراج جزء من مصفوفة.
ar
technical
simple
This is done through slicing.
يتم ذلك من خلال التقطيع.
ar
technical
simple
We can define which part of the array to be sliced by specifying the start and end index values using [start : end] along with the array name.
يمكننا تحديد جزء المصفوفة المراد تقطيعه عن طريق تحديد قيم فهرس البداية والنهاية باستخدام [start: end] جنبًا إلى جنب مع اسم المصفوفة.
ar
technical
moderate
Now let us see how slicing is done for 2-D arrays.
الآن دعنا نرى كيف يتم التقطيع للمصفوفات ثنائية الأبعاد.
ar
technical
moderate
For this, let us create a 2-D array called array9 having 3 rows and 4 columns.
لهذا، دعنا ننشئ مصفوفة ثنائية الأبعاد تسمى array9 تحتوي على 3 صفوف و 4 أعمدة.
ar
technical
moderate
Note that we are specifying rows in the range 0:3 because the end value of the range is excluded.
لاحظ أننا نحدد الصفوف في النطاق 0:3 لأن القيمة النهائية للنطاق مستبعدة.
ar
technical
moderate
If row indices are not specified, it means all the rows are to be considered.
إذا لم يتم تحديد فهارس الصفوف، فهذا يعني أنه يجب أخذ جميع الصفوف في الاعتبار.
ar
technical
moderate
Likewise, if column indices are not specified, all the columns are to be considered.
وبالمثل، إذا لم يتم تحديد فهارس الأعمدة، فيجب أخذ جميع الأعمدة في الاعتبار.
ar
technical
moderate
Arithmetic operations on NumPy arrays are fast and simple.
العمليات الحسابية على مصفوفات NumPy سريعة وبسيطة.
ar
technical
simple
When we perform a basic arithmetic operation like addition, subtraction, multiplication, division etc. on two arrays, the operation is done on each corresponding pair of elements.
عندما نقوم بعملية حسابية أساسية مثل الجمع والطرح والضرب والقسمة وما إلى ذلك على مصفوفتين، تتم العملية على كل زوج من العناصر المقابلة.
ar
technical
complex
For instance, adding two arrays will result in the first element in the first array to be added to the first element in the second array, and so on.
على سبيل المثال، سيؤدي جمع مصفوفتين إلى إضافة العنصر الأول في المصفوفة الأولى إلى العنصر الأول في المصفوفة الثانية، وهكذا.
ar
technical
moderate
It is important to note that for element-wise operations, size of both arrays must be same.
من المهم ملاحظة أنه بالنسبة للعمليات على مستوى العناصر، يجب أن يكون حجم كلتا المصفوفتين هو نفسه.
ar
technical
moderate
Transposing an array turns its rows into columns and columns into rows just like matrices in mathematics.
تحويل مصفوفة يبدل صفوفها إلى أعمدة وأعمدة إلى صفوف تمامًا مثل المصفوفات في الرياضيات.
ar
technical
moderate
Sorting is to arrange the elements of an array in hierarchical order either ascending or descending.
الفرز هو ترتيب عناصر المصفوفة بترتيب هرمي إما تصاعديًا أو تنازليًا.
ar
technical
moderate
It increases the chances of loss of data due to any failure of hardware or software.
يزيد من فرص فقدان البيانات بسبب أي عطل في الأجهزة أو البرامج.
ar
technical
moderate
It can bring all operations to a halt for all the users.
يمكن أن يؤدي إلى توقف جميع العمليات لجميع المستخدمين.
ar
technical
moderate
In relational model, tables are called relations that store data for different columns.
في النموذج العلائقي، تسمى الجداول علاقات تخزن البيانات لأعمدة مختلفة.
ar
technical
moderate