en
string
translation
string
target_lang
string
domain
string
complexity
string
Each table can have multiple columns where each column name should be unique.
يمكن أن يحتوي كل جدول على أعمدة متعددة حيث يجب أن يكون اسم كل عمود فريدًا.
ar
technical
moderate
For example, each row in the table represents a related set of values.
على سبيل المثال، يمثل كل صف في الجدول مجموعة ذات صلة من القيم.
ar
technical
simple
Each row of Table 7.5 represents a particular guardian and has related values viz. guardian’s ID with guardian name, address and phone number.
يمثل كل صف من الجدول 7.5 وصيًا معينًا ولديه قيم ذات صلة مثل معرف الوصي مع اسم الوصي وعنوانه ورقم هاتفه.
ar
technical
complex
Thus, a table consists of a collection of relationships.
وبالتالي، يتكون الجدول من مجموعة من العلاقات.
ar
technical
simple
It is important to note here that relations in a database are not independent tables, but are associated with each other.
من المهم ملاحظة هنا أن العلاقات في قاعدة البيانات ليست جداول مستقلة، ولكنها مرتبطة ببعضها البعض.
ar
technical
moderate
For example, relation ATTENDANCE has attribute RollNumber which links it with corresponding student record in relation STUDENT.
على سبيل المثال، تحتوي العلاقة ATTENDANCE على السمة RollNumber التي تربطها بسجل الطالب المقابل في العلاقة STUDENT.
ar
technical
moderate
Similarly, attribute GUID is placed with STUDENT table for extracting guardian details of a particular student.
وبالمثل، يتم وضع السمة GUID مع جدول STUDENT لاستخراج تفاصيل الوصي لطالب معين.
ar
technical
moderate
If linking attributes are not there in appropriate relations, it will not be possible to keep the database in correct state and retrieve valid information from the database.
إذا لم تكن سمات الربط موجودة في العلاقات المناسبة، فلن يكون من الممكن الحفاظ على قاعدة البيانات في الحالة الصحيحة واسترجاع معلومات صحيحة من قاعدة البيانات.
ar
technical
complex
Figure 7.3 shows the relational database Student Attendance along with the three relations (tables) STUDENT, ATTENDANCE and GUARDIAN.
يوضح الشكل 7.3 قاعدة البيانات العلائقية Student Attendance جنبًا إلى جنب مع العلاقات الثلاث (الجداول) STUDENT و ATTENDANCE و GUARDIAN.
ar
technical
moderate
ATTRIBUTE: Characteristic or parameters for which data are to be stored in a relation.
السمة: خاصية أو معلمات يجب تخزين البيانات من أجلها في علاقة.
ar
technical
moderate
Simply stated, the columns of a relation are the attributes which are also referred as fields.
ببساطة، أعمدة العلاقة هي السمات التي يشار إليها أيضًا باسم الحقول.
ar
technical
simple
For example, GUID, GName, GPhone and GAddress are attributes of relation GUARDIAN.
على سبيل المثال، GUID و GName و GPhone و GAddress هي سمات العلاقة GUARDIAN.
ar
technical
simple
Each row of data in a relation (table) is called a tuple.
يسمى كل صف من البيانات في علاقة (جدول) صفًا.
ar
technical
simple
In a table with n columns, a tuple is a relationship between the n related values.
في جدول به n أعمدة، الصف هو علاقة بين قيم n ذات الصلة.
ar
technical
moderate
It is a set of values from which an attribute can take a value in each row.
إنها مجموعة من القيم التي يمكن للسمة أن تأخذ منها قيمة في كل صف.
ar
technical
simple
Usually, a data type is used to specify domain for an attribute.
عادةً، يتم استخدام نوع بيانات لتحديد المجال لسمة.
ar
technical
simple
For example, in STUDENT relation, the attribute RollNumber takes integer values and hence its domain is a set of integer values.
على سبيل المثال، في علاقة STUDENT، تأخذ السمة RollNumber قيمًا عددية صحيحة، وبالتالي فإن مجالها هو مجموعة من القيم العددية الصحيحة.
ar
technical
moderate
Printing of receipt includes ATM PIN number, account type, account number, card number, ATM location from where money was withdrawn, date and time, and amount to be withdrawn.
تتضمن طباعة الإيصال رقم التعريف الشخصي الخاص بالصراف الآلي، ونوع الحساب، ورقم الحساب، ورقم البطاقة، وموقع الصراف الآلي الذي سُحبت منه الأموال، والتاريخ والوقت، والمبلغ المراد سحبه.
ar
technical
moderate
A Bank handling withdrawals of cash through ATMs of its own branch.
بنك يتعامل مع عمليات سحب النقود من خلال أجهزة الصراف الآلي التابعة لفرعه.
ar
technical
simple
Verify login details and check availability of berth in that class.
تحقق من تفاصيل تسجيل الدخول وتحقق من توفر مقعد في تلك الدرجة.
ar
technical
moderate
If payment done, issue tickets and deduct that number from the total available tickets on that coach.
إذا تم الدفع، قم بإصدار التذاكر وخصم هذا العدد من إجمالي التذاكر المتاحة في تلك الحافلة.
ar
technical
moderate
Allocate PNR number and berths or generate a waiting number for that ticket.
تخصيص رقم PNR وأماكن الجلوس أو إنشاء رقم انتظار لتلك التذكرة.
ar
technical
moderate
Journey start and end stations, date of journey, number of tickets required, class of travel (Sleeper/AC/other), berth preference (if any), passenger name(s) and age(s), mobile and email id, payment related details, etc.
محطات بداية ونهاية الرحلة، وتاريخ الرحلة، وعدد التذاكر المطلوبة، ودرجة السفر (نوم/مكيف/أخرى)، وتفضيل مكان الجلوس (إن وجد)، وأسماء الركاب وأعمارهم، ورقم الهاتف المحمول ومعرف البريد الإلكتروني، والتفاصيل المتعلقة بالدفع، وما إلى ذلك.
ar
technical
complex
Generate ticket with berth and coach number, or issue ticket with a waiting list number.
إنشاء تذكرة برقم مكان الجلوس ورقم الحافلة، أو إصدار تذكرة برقم قائمة انتظار.
ar
technical
moderate
Issue of train ticket.
إصدار تذكرة قطار.
ar
technical
simple
Problem Statement.
بيان المشكلة.
ar
technical
simple
Processing Output Inputs against which data are collected.
معالجة مدخلات الإخراج التي يتم جمع البيانات بناءً عليها.
ar
technical
moderate
Data Processing RAW DATA (Numbers/ Text/Image) INFORMATION (In the form of table/ chart/text) Input Processing Output Data Collection Data Prepration Data Entry Store Retrieve Classify Update Reports Results Processing System Data Process Cycle
معالجة البيانات البيانات الأولية (أرقام/نص/صورة) معلومات (في شكل جدول/مخطط/نص) إدخال المعالجة إخراج جمع البيانات إعداد البيانات إدخال البيانات تخزين استرجاع تصنيف تحديث التقارير نتائج نظام المعالجة دورة معالجة البيانات
ar
technical
complex
Given a set of data values, we need to process them to get information.
بالنظر إلى مجموعة من قيم البيانات، نحتاج إلى معالجتها للحصول على معلومات.
ar
technical
moderate
There are various techniques which help us to have preliminary understanding about the data.
هناك تقنيات مختلفة تساعدنا على الحصول على فهم أولي للبيانات.
ar
technical
moderate
Summarisation methods are applied on tabular data for its easy comprehension.
يتم تطبيق طرق التلخيص على البيانات الجدولية لتسهيل فهمها.
ar
technical
moderate
Commonly used statistical techniques for data summarisation are given below:
التقنيات الإحصائية شائعة الاستخدام لتلخيص البيانات موضحة أدناه:
ar
technical
moderate
A measure of central tendency is a single value that gives us some idea about the data.
مقياس النزعة المركزية هو قيمة واحدة تعطينا فكرة عن البيانات.
ar
technical
moderate
Three most common measures of central tendency are the mean, median, and mode.
ثلاثة مقاييس النزعة المركزية الأكثر شيوعًا هي المتوسط والوسيط والمنوال.
ar
technical
moderate
Instead of looking at each individual data values, we can calculate the mean, median and mode of the data to get an idea about average, middle value and frequency of occurrence of a particular value, respectively.
بدلاً من النظر إلى كل قيمة بيانات على حدة، يمكننا حساب المتوسط والوسيط والمنوال للبيانات للحصول على فكرة عن المتوسط والقيمة الوسطى وتكرار حدوث قيمة معينة، على التوالي.
ar
technical
complex
Selection of a measure of central tendency depends on certain characteristics of data.
يعتمد اختيار مقياس النزعة المركزية على خصائص معينة للبيانات.
ar
technical
moderate
Mean is simply the average of numeric values of an attribute.
المتوسط هو ببساطة متوسط القيم الرقمية لسمة ما.
ar
technical
simple
Load the data in the file Iris.txt in a 2-D array called iris.
قم بتحميل البيانات الموجودة في الملف Iris.txt في مصفوفة ثنائية الأبعاد تسمى iris.
ar
technical
moderate
Drop column whose index = 4 from the array iris.
احذف العمود الذي فهرسه = 4 من مصفوفة iris.
ar
technical
moderate
Display the shape, dimensions and size of iris.
اعرض شكل وأبعاد وحجم iris.
ar
technical
simple
Split iris into three 2-D arrays, each array for a different species.
اقسم iris إلى ثلاث مصفوفات ثنائية الأبعاد، كل مصفوفة لنوع مختلف.
ar
technical
moderate
Print the three arrays iris1, iris2, iris3
اطبع المصفوفات الثلاث iris1 و iris2 و iris3
ar
technical
simple
Create a 1-D array header having elements "sepal length", "sepal width", "petal length", "petal width", "Species No" in that order.
قم بإنشاء رأس مصفوفة أحادي الأبعاد يحتوي على العناصر "طول السبلة" و "عرض السبلة" و "طول البتلة" و "عرض البتلة" و "رقم النوع" بهذا الترتيب.
ar
technical
moderate
Display the array header.
اعرض رأس المصفوفة.
ar
technical
simple
Find the max, min, mean and standard deviation for the columns of the iris and store the results in the arrays iris_max, iris_min, iris_avg, iris_std, iris_ var respectively.
ابحث عن الحد الأقصى والحد الأدنى والمتوسط والانحراف المعياري لأعمدة iris وقم بتخزين النتائج في المصفوفات iris_max و iris_min و iris_avg و iris_std و iris_ var على التوالي.
ar
technical
complex
Similarly find the max, min, mean and standard deviation for the columns of the iris1, iris2 and iris3 and store the results in the arrays with appropriate names.
وبالمثل، ابحث عن الحد الأقصى والحد الأدنى والمتوسط والانحراف المعياري لأعمدة iris1 و iris2 و iris3 وقم بتخزين النتائج في المصفوفات بالأسماء المناسبة.
ar
technical
complex
Check the minimum value for sepal length, sepal width, petal length and petal width of the three species in comparison to the minimum value of sepal length, sepal width, petal length and petal width for the data set as a whole and fill the table below with True if the species value is greater than the dataset value and...
تحقق من الحد الأدنى لقيمة طول السبلة وعرض السبلة وطول البتلة وعرض البتلة للأنواع الثلاثة بالمقارنة مع الحد الأدنى لقيمة طول السبلة وعرض السبلة وطول البتلة وعرض البتلة لمجموعة البيانات ككل واملأ الجدول أدناه بـ True إذا كانت قيمة النوع أكبر من قيمة مجموعة البيانات و False بخلاف ذلك.
ar
technical
complex
Compare Iris setosa’s average sepal width to that of Iris virginica.
قارن متوسط عرض سبلة Iris setosa بمتوسط عرض سبلة Iris virginica.
ar
technical
moderate
Compare Iris setosa’s average petal length to that of Iris virginica.
قارن متوسط طول بتلة Iris setosa بمتوسط طول بتلة Iris virginica.
ar
technical
moderate
Compare Iris setosa’s average petal width to that of Iris virginica.
قارن متوسط عرض بتلة Iris setosa بمتوسط عرض بتلة Iris virginica.
ar
technical
moderate
Save the array iris_avg in a comma separated file named IrisMeanValues.txt on the hard disk.
احفظ المصفوفة iris_avg في ملف مفصول بفواصل يسمى IrisMeanValues.txt على القرص الصلب.
ar
technical
moderate
Save the arrays iris_max, iris_avg, iris_min in a comma separated file named IrisStat.txt on the hard disk.
احفظ المصفوفات iris_max و iris_avg و iris_min في ملف مفصول بفواصل يسمى IrisStat.txt على القرص الصلب.
ar
technical
moderate
After learning about importance of data in the previous chapter, we need to explore the methods to store and manage data electronically.
بعد التعرف على أهمية البيانات في الفصل السابق، نحتاج إلى استكشاف طرق لتخزين البيانات وإدارتها إلكترونيًا.
ar
general
moderate
Let us take an example of a school that maintains data about its students, along with their attendance record and guardian details.
دعنا نأخذ مثالاً لمدرسة تحتفظ ببيانات عن طلابها، إلى جانب سجل حضورهم وتفاصيل ولي الأمر.
ar
general
moderate
The class teacher marks daily attendance of the students in the attendance register.
يقوم معلم الفصل بتسجيل حضور الطلاب يوميًا في سجل الحضور.
ar
general
simple
As the volume of data increases, manual data entry becomes tedious.
مع زيادة حجم البيانات، يصبح إدخال البيانات يدويًا أمرًا مملًا.
ar
general
simple
To overcome the hassles faced in manual record keeping, it is desirable to store attendance record and student details on separate data files on a computerized system.
للتغلب على المتاعب التي تواجهها في حفظ السجلات يدويًا، من المستحسن تخزين سجل الحضور وتفاصيل الطالب في ملفات بيانات منفصلة على نظام محوسب.
ar
general
complex
The data values that an attribute can have are used to ensure the accuracy and reliability of data.
تُستخدم قيم البيانات التي يمكن أن يمتلكها السمة لضمان دقة وموثوقية البيانات.
ar
technical
moderate
However, it is not mandatory to define a constraint for each attribute of a table.
ومع ذلك، فإنه ليس إلزاميًا تحديد قيد لكل سمة من سمات الجدول.
ar
technical
moderate
SQL provides commands for defining relation schemas, modifying relation schemas, and deleting relations.
يوفر SQL أوامر لتحديد مخططات العلاقات وتعديلها وحذفها.
ar
technical
complex
These are called Data Definition Language (DDL) through which the set of relations are specified.
تُسمى هذه لغة تعريف البيانات (DDL) والتي من خلالها يتم تحديد مجموعة العلاقات.
ar
technical
complex
Data definition starts with the create statement.
يبدأ تعريف البيانات بعبارة الإنشاء.
ar
technical
moderate
This statement is used to create a database and its tables (relations).
تُستخدم هذه العبارة لإنشاء قاعدة بيانات وجداولها (العلاقات).
ar
technical
moderate
Before creating a database, we should be clear about the number of tables in the database.
قبل إنشاء قاعدة بيانات، يجب أن نكون واضحين بشأن عدد الجداول في قاعدة البيانات.
ar
technical
moderate
To create a database called StudentAttendance, we will type the following command at the mysql prompt.
لإنشاء قاعدة بيانات تسمى StudentAttendance، سنكتب الأمر التالي في موجه mysql.
ar
technical
moderate
In the LINUX environment, names for databases and tables are case-sensitive.
في بيئة LINUX، تكون أسماء قواعد البيانات والجداول حساسة لحالة الأحرف.
ar
technical
moderate
A DBMS can manage multiple databases on one computer.
يمكن لنظام إدارة قواعد البيانات (DBMS) إدارة قواعد بيانات متعددة على جهاز كمبيوتر واحد.
ar
technical
simple
Therefore, we need to select the database that we want to use.
لذلك، نحتاج إلى تحديد قاعدة البيانات التي نريد استخدامها.
ar
technical
simple
After creating database StudentAttendance, we need to define relations (create tables) in this database.
بعد إنشاء قاعدة بيانات StudentAttendance، نحتاج إلى تحديد العلاقات (إنشاء الجداول) في قاعدة البيانات هذه.
ar
technical
moderate
This is done using the CREATE TABLE statement.
يتم ذلك باستخدام عبارة CREATE TABLE.
ar
technical
simple
N is the degree of the relation, means there are N columns in the table.
N هي درجة العلاقة، وتعني وجود N أعمدة في الجدول.
ar
technical
moderate
By default, each attribute can take NULL values except for the primary key.
افتراضيًا، يمكن لكل سمة أن تأخذ قيم NULL باستثناء المفتاح الأساسي.
ar
technical
moderate
Let us identify data types of the attributes of table STUDENT along with their constraint, if any.
دعنا نحدد أنواع بيانات سمات الجدول STUDENT مع قيودها، إن وجدت.
ar
technical
moderate
Assuming maximum students in a class to be 100 and values of roll number in a sequence from 1 to 100.
بافتراض أن الحد الأقصى لعدد الطلاب في الفصل هو 100 وقيم رقم التسجيل في تسلسل من 1 إلى 100.
ar
technical
complex
Total number of characters in student names (SName) can differ.
يمكن أن يختلف إجمالي عدد الأحرف في أسماء الطلاب (SName).
ar
technical
moderate
Data type for the attribute SDateofBirth is DATE.
نوع البيانات للسمة SDateofBirth هو DATE.
ar
technical
simple
Once data types and constraints are identified, let us create tables without specifying constraint along with the attribute name for simplification.
بمجرد تحديد أنواع البيانات والقيود، دعنا ننشئ جداولًا دون تحديد قيد جنبًا إلى جنب مع اسم السمة للتبسيط.
ar
technical
complex
A select query retrieves data from a database.
استعلام التحديد يسترجع البيانات من قاعدة البيانات.
ar
technical
simple
The movie database contains information about films.
تحتوي قاعدة بيانات الأفلام على معلومات حول الأفلام.
ar
technical
simple
SQL is used to manage and query relational databases.
يُستخدم SQL لإدارة قواعد البيانات العلائقية والاستعلام عنها.
ar
technical
moderate
The table includes columns for MovieID, MovieName, and Category.
يتضمن الجدول أعمدة لـ MovieID و MovieName و Category.
ar
technical
moderate
Retrieve movies information without mentioning their column names.
استرجع معلومات الأفلام دون ذكر أسماء أعمدتها.
ar
technical
moderate
List business done by the movies showing only MovieID, MovieName and BusinessCost.
أدرج الأعمال التي قامت بها الأفلام مع إظهار MovieID و MovieName و BusinessCost فقط.
ar
technical
complex
Find the net profit of each movie showing its ID, Name and Net Profit.
ابحث عن صافي ربح كل فيلم مع إظهار معرفه واسمه وصافي ربحه.
ar
technical
complex
The net profit is calculated by subtracting production cost from business cost.
يتم حساب صافي الربح عن طريق طرح تكلفة الإنتاج من تكلفة الأعمال.
ar
technical
moderate
List all movies with ProductionCost greater than 80,000 and less than 1,25,000.
أدرج جميع الأفلام التي تزيد فيها تكلفة الإنتاج عن 80000 وأقل من 125000.
ar
technical
complex
The school is organizing cricket matches between classes.
تنظم المدرسة مباريات كريكيت بين الفصول.
ar
general
simple
Students are divided into four teams for the matches.
ينقسم الطلاب إلى أربعة فرق للمباريات.
ar
general
simple
Create a database named 'Sports' to store match details.
أنشئ قاعدة بيانات باسم 'الرياضة' لتخزين تفاصيل المباريات.
ar
technical
moderate
The TEAM table stores information about the teams.
يخزن جدول TEAM معلومات حول الفرق.
ar
technical
moderate
Use TeamID as the primary key for the TEAM table.
استخدم TeamID كمفتاح أساسي لجدول TEAM.
ar
technical
moderate
Insert data for the four teams into the TEAM table.
أدخل بيانات الفرق الأربعة في جدول TEAM.
ar
technical
moderate
The MATCH_DETAILS table records the scores of the matches.
يسجل جدول MATCH_DETAILS نتائج المباريات.
ar
technical
moderate
Use a foreign key constraint to link MATCH_DETAILS to the TEAM table.
استخدم قيد مفتاح أجنبي لربط MATCH_DETAILS بجدول TEAM.
ar
technical
complex
Retrieve the MatchID of all matches where both teams scored over 70.
استرجع MatchID لجميع المباريات التي سجل فيها كلا الفريقين أكثر من 70.
ar
technical
complex
Differentiate between ALTER and UPDATE commands in SQL.
فرق بين أوامر ALTER و UPDATE في SQL.
ar
technical
complex
The school uniform shop maintains a database.
تحافظ محلات الزي المدرسي على قاعدة بيانات.
ar
general
simple
The query displays employee names.
تعرض الاستعلام أسماء الموظفين.
ar
technical
simple
We can rename columns using 'AS'.
يمكننا إعادة تسمية الأعمدة باستخدام 'AS'.
ar
technical
simple
Display employee name as 'Name' in the output.
اعرض اسم الموظف باسم 'الاسم' في الإخراج.
ar
technical
moderate