en
string
translation
string
target_lang
string
domain
string
complexity
string
As the volume of data increases, manual data entry becomes tedious.
جیسے جیسے ڈیٹا کا حجم بڑھتا ہے، دستی ڈیٹا انٹری تھکا دینے والی ہو جاتی ہے۔
ur
technical
simple
Consider Table 6.1 showing marks obtained by students in three different subjects.
غور کریں جدول 6.1 جو تین مختلف مضامین میں طلباء کے حاصل کردہ نمبر دکھا رہا ہے۔
ur
technical
moderate
Let us create an array called marks to store marks given in three subjects for four students given in this table.
آئیے ایک اریے بناتے ہیں جسے مارکس کہا جاتا ہے تاکہ اس جدول میں دیے گئے چار طلباء کے لیے تین مضامین میں دیے گئے نمبروں کو محفوظ کیا جا سکے۔
ur
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] کہا جائے گا۔
ur
technical
moderate
This array can store 4*3 = 12 elements.
یہ اریے 4*3 = 12 عناصر کو محفوظ کر سکتا ہے۔
ur
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 سے شروع ہوتی ہیں۔
ur
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 ہے (انگریزی میں پرساد کے نمبر).
ur
technical
moderate
Sometimes we need to extract part of an array.
کبھی کبھی ہمیں ایک اریے کا حصہ نکالنے کی ضرورت ہوتی ہے۔
ur
technical
simple
This is done through slicing.
یہ سلائسنگ کے ذریعے کیا جاتا ہے۔
ur
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] کا استعمال کرتے ہوئے شروع اور اختتامی انڈیکس کی قدریں بتاتے ہوئے اریے کے نام کے ساتھ سلائس کیا جائے۔
ur
technical
complex
Now let us see how slicing is done for 2-D arrays.
اب آئیے دیکھتے ہیں کہ 2-D اریے کے لیے سلائسنگ کیسے کی جاتی ہے۔
ur
technical
moderate
For this, let us create a 2-D array called array9 having 3 rows and 4 columns.
اس کے لیے، آئیے ایک 2-D اریے بناتے ہیں جسے array9 کہا جاتا ہے جس میں 3 قطاریں اور 4 کالم ہیں۔
ur
technical
moderate
Note that we are specifying rows in the range 0:3 because the end value of the range is excluded.
نوٹ کریں کہ ہم 0:3 کی حد میں قطاریں بتا رہے ہیں کیونکہ حد کی آخری قدر کو خارج کر دیا گیا ہے۔
ur
technical
moderate
If row indices are not specified, it means all the rows are to be considered.
اگر قطار کے انڈیکس کی وضاحت نہیں کی گئی ہے، تو اس کا مطلب ہے کہ تمام قطاروں پر غور کیا جانا ہے۔
ur
technical
moderate
Likewise, if column indices are not specified, all the columns are to be considered.
اسی طرح، اگر کالم کے انڈیکس کی وضاحت نہیں کی گئی ہے، تو تمام کالموں پر غور کیا جانا ہے۔
ur
technical
moderate
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.
جب ہم دو اریے پر بنیادی ریاضیاتی عمل کرتے ہیں جیسے جمع، گھٹاؤ، ضرب، تقسیم وغیرہ، تو یہ عمل عناصر کے ہر متعلقہ جوڑے پر کیا جاتا ہے۔
ur
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.
مثال کے طور پر، دو اریے کو جمع کرنے کے نتیجے میں پہلے اریے کا پہلا عنصر دوسرے اریے کے پہلے عنصر میں شامل ہو جائے گا، اور اسی طرح۔
ur
technical
moderate
It is important to note that for element-wise operations, size of both arrays must be same.
یہ نوٹ کرنا ضروری ہے کہ عنصر کے لحاظ سے ہونے والے آپریشنز کے لیے، دونوں اریے کا سائز ایک جیسا ہونا چاہیے۔
ur
technical
moderate
Transposing an array turns its rows into columns and columns into rows just like matrices in mathematics.
ایک اریے کو ٹرانسپوز کرنے سے اس کی قطاریں کالموں میں اور کالم قطاروں میں بدل جاتے ہیں بالکل ریاضی میں میٹرکس کی طرح۔
ur
technical
moderate
Sorting is to arrange the elements of an array in hierarchical order either ascending or descending.
چھانٹنا ایک اریے کے عناصر کو درجہ بندی کے لحاظ سے یا تو چڑھتے یا اترتے ترتیب میں ترتیب دینا ہے۔
ur
technical
moderate
By default, numpy does sorting in ascending order.
بائی ڈیفالٹ، نمپی چڑھتے ہوئے ترتیب میں چھانٹتا ہے۔
ur
technical
simple
The data values that an attribute can have are used to ensure the accuracy and reliability of data.
وہ ڈیٹا ویلیوز جو ایک وصف رکھ سکتا ہے، ڈیٹا کی درستگی اور اعتبار کو یقینی بنانے کے لیے استعمال ہوتے ہیں۔
ur
technical
moderate
It is not mandatory to define a constraint for each attribute of a table.
ہر ٹیبل کے ہر وصف کے لیے پابندی کی تعریف کرنا لازمی نہیں ہے۔
ur
technical
simple
The column which can uniquely identify each row or record in a table is the primary key.
وہ کالم جو ٹیبل میں ہر قطار یا ریکارڈ کی منفرد شناخت کر سکتا ہے، بنیادی کلید ہے۔
ur
technical
moderate
SQL provides commands for defining relation schemas, modifying relation schemas, and deleting relations.
SQL رشتہ دار سکیموں کی تعریف، رشتہ دار سکیموں میں ترمیم، اور رشتوں کو حذف کرنے کے لیے کمانڈز فراہم کرتا ہے۔
ur
technical
complex
Data definition starts with the CREATE statement.
ڈیٹا کی تعریف تخلیق کے بیان سے شروع ہوتی ہے۔
ur
technical
simple
Before creating a database, we should be clear about the number of tables in the database.
ڈیٹا بیس بنانے سے پہلے، ہمیں ڈیٹا بیس میں موجود ٹیبلز کی تعداد کے بارے میں واضح ہونا چاہیے۔
ur
technical
moderate
To create a database, we use the CREATE DATABASE statement.
ڈیٹا بیس بنانے کے لیے، ہم تخلیق ڈیٹا بیس کا بیان استعمال کرتے ہیں۔
ur
technical
simple
In LINUX environment, names for database and tables are case-sensitive.
LINUX ماحول میں، ڈیٹا بیس اور ٹیبل کے نام کیس کے لحاظ سے حساس ہوتے ہیں۔
ur
technical
moderate
A DBMS can manage multiple databases on one computer.
ایک DBMS ایک کمپیوٹر پر متعدد ڈیٹا بیس کا انتظام کر سکتا ہے۔
ur
technical
simple
We need to select the database that we want to use.
ہمیں وہ ڈیٹا بیس منتخب کرنے کی ضرورت ہے جسے ہم استعمال کرنا چاہتے ہیں۔
ur
technical
simple
After creating database StudentAttendance, we need to define relations (create tables) in this database.
ڈیٹا بیس StudentAttendance بنانے کے بعد، ہمیں اس ڈیٹا بیس میں رشتوں کی تعریف کرنے (ٹیبل بنانے) کی ضرورت ہے۔
ur
technical
moderate
Constraint indicates the restrictions imposed on the values of an attribute.
پابندی ایک وصف کی اقدار پر عائد پابندیوں کی نشاندہی کرتی ہے۔
ur
technical
moderate
By default, each attribute can take NULL values except for the primary key.
بطور ڈیفالٹ، ہر وصف بنیادی کلید کے سوا NULL اقدار لے سکتا ہے۔
ur
technical
moderate
Let us identify data types of the attributes of table STUDENT along with their constraint, if any.
آئیے ٹیبل STUDENT کے وصفوں کی ڈیٹا اقسام کی شناخت کریں، ان کی پابندی کے ساتھ، اگر کوئی ہے۔
ur
technical
complex
Assuming maximum students in a class to be 100, we know that 3 digits are sufficient.
فرض کرتے ہوئے کہ ایک کلاس میں زیادہ سے زیادہ 100 طلباء ہیں، ہم جانتے ہیں کہ 3 ہندسے کافی ہیں۔
ur
technical
moderate
Total number of characters in student names can differ.
طلباء کے ناموں میں حروف کی کل تعداد مختلف ہو سکتی ہے۔
ur
technical
simple
Data type for the attribute SDateofBirth is DATE.
وصف SDateofBirth کے لیے ڈیٹا کی قسم DATE ہے۔
ur
technical
simple
We can view the structure of an already created table using the describe statement.
ہم پہلے سے بنائے گئے ٹیبل کی ساخت کو بیان کے بیان کا استعمال کرتے ہوئے دیکھ سکتے ہیں۔
ur
technical
moderate
After creating a table we may realize that we need to add/remove an attribute.
ٹیبل بنانے کے بعد، ہمیں احساس ہو سکتا ہے کہ ہمیں ایک وصف شامل/ہٹانے کی ضرورت ہے۔
ur
technical
moderate
We can modify data types of the existing attributes of a table using the ALTER statement.
ہم ALTER بیان کا استعمال کرتے ہوئے ٹیبل کے موجودہ وصفوں کی ڈیٹا اقسام میں ترمیم کر سکتے ہیں۔
ur
technical
complex
A select query retrieves data from a database.
ایک منتخب استفسار ڈیٹا بیس سے ڈیٹا حاصل کرتا ہے۔
ur
technical
simple
SQL is used to manage and query relational databases.
SQL کا استعمال رشتہ دار ڈیٹا بیس کو منظم اور استفسار کرنے کے لیے کیا جاتا ہے۔
ur
technical
moderate
The MOVIE database contains information about films.
فلم ڈیٹا بیس فلموں کے بارے میں معلومات پر مشتمل ہے۔
ur
technical
simple
A primary key uniquely identifies each record in a table.
ایک بنیادی کلید ایک ٹیبل میں ہر ریکارڈ کی منفرد شناخت کرتی ہے۔
ur
technical
moderate
The `SELECT` statement is used to retrieve data.
`SELECT` بیان ڈیٹا حاصل کرنے کے لیے استعمال ہوتا ہے۔
ur
technical
simple
Constraints ensure data integrity in a database.
حدود ڈیٹا بیس میں ڈیٹا کی سالمیت کو یقینی بناتی ہیں۔
ur
technical
moderate
The `WHERE` clause filters the results of a query.
`WHERE` شق ایک استفسار کے نتائج کو فلٹر کرتی ہے۔
ur
technical
simple
Data types define the kind of data a column can store.
ڈیٹا کی اقسام اس قسم کے ڈیٹا کی وضاحت کرتی ہیں جسے ایک کالم ذخیرہ کر سکتا ہے۔
ur
technical
moderate
A foreign key establishes a link between two tables.
ایک غیر ملکی کلید دو ٹیبلز کے درمیان ایک ربط قائم کرتی ہے۔
ur
technical
moderate
The `INSERT` statement adds new data to a table.
`INSERT` بیان ایک ٹیبل میں نیا ڈیٹا شامل کرتا ہے۔
ur
technical
simple
The `UPDATE` statement modifies existing data.
`UPDATE` بیان موجودہ ڈیٹا میں ترمیم کرتا ہے۔
ur
technical
simple
The `DELETE` statement removes data from a table.
`DELETE` بیان ایک ٹیبل سے ڈیٹا ہٹاتا ہے۔
ur
technical
simple
Relational databases organize data into tables.
رشتہ دار ڈیٹا بیس ڈیٹا کو ٹیبلز میں منظم کرتے ہیں۔
ur
technical
moderate
The `ALTER` command is used to modify the structure of a table.
`ALTER` کمانڈ ایک ٹیبل کی ساخت میں ترمیم کرنے کے لیے استعمال ہوتی ہے۔
ur
technical
moderate
Data processing involves transforming raw data into useful information.
ڈیٹا پروسیسنگ میں خام ڈیٹا کو مفید معلومات میں تبدیل کرنا شامل ہے۔
ur
technical
moderate
A database schema defines the structure of a database.
ایک ڈیٹا بیس سکیمہ ایک ڈیٹا بیس کی ساخت کی وضاحت کرتا ہے۔
ur
technical
moderate
The `GROUP BY` clause groups rows with the same values.
`GROUP BY` شق ایک جیسی اقدار والی قطاروں کو گروپ کرتی ہے۔
ur
technical
moderate
The `ORDER BY` clause sorts the results of a query.
`ORDER BY` شق ایک استفسار کے نتائج کو ترتیب دیتی ہے۔
ur
technical
moderate
Normalization reduces data redundancy and improves data integrity.
نارملائزیشن ڈیٹا کی تکرار کو کم کرتا ہے اور ڈیٹا کی سالمیت کو بہتر بناتا ہے۔
ur
technical
complex
Complex queries can combine multiple tables and conditions.
پیچیدہ استفسارات متعدد ٹیبلز اور شرائط کو یکجا کر سکتے ہیں۔
ur
technical
complex
Display Employee name as Name in the output for all the employees.
تمام ملازمین کے لیے آؤٹ پُٹ میں ملازم کا نام بطور نام دکھائیں۔
ur
technical
moderate
Display names of all employees along with their annual salary (Salary*12).
تمام ملازمین کے نام ان کی سالانہ تنخواہ (تنخواہ*12) کے ساتھ دکھائیں۔
ur
technical
moderate
In the output table, we can use alias to rename that column as Annual Salary as shown below:
آؤٹ پُٹ ٹیبل میں، ہم اس کالم کا نام تبدیل کرنے کے لیے عرف استعمال کر سکتے ہیں جیسا کہ ذیل میں دکھایا گیا ہے: سالانہ تنخواہ۔
ur
technical
moderate
Annual Salary will not be added as a new column in the database table.
سالانہ تنخواہ ڈیٹا بیس ٹیبل میں ایک نئے کالم کے طور پر شامل نہیں کی جائے گی۔
ur
technical
simple
If an aliased column name has space as in the case of Annual Salary, it should be enclosed in quotes as 'Annual Salary'.
اگر کسی عرفی کالم کے نام میں جگہ ہے جیسا کہ سالانہ تنخواہ کی صورت میں، تو اسے اقتباسات میں بند کیا جانا چاہیے جیسا کہ 'سالانہ تنخواہ'۔
ur
technical
moderate
By default, SQL shows all the data retrieved through query as output.
بائی ڈیفالٹ، SQL استفسار کے ذریعے حاصل کردہ تمام ڈیٹا کو آؤٹ پُٹ کے طور پر دکھاتا ہے۔
ur
technical
moderate
However, there can be duplicate values.
تاہم، ڈپلیکیٹ اقدار ہو سکتی ہیں۔
ur
technical
simple
The SELECT statement when combined with DISTINCT clause, returns records without repetition (distinct records).
جب DISTINCT شق کے ساتھ ملایا جاتا ہے تو SELECT بیان، تکرار کے بغیر ریکارڈ واپس کرتا ہے (مختلف ریکارڈ)۔
ur
technical
complex
To display unique department number for all the employees, we use DISTINCT as shown below:
تمام ملازمین کے لیے منفرد محکمہ نمبر دکھانے کے لیے، ہم DISTINCT استعمال کرتے ہیں جیسا کہ ذیل میں دکھایا گیا ہے:
ur
technical
moderate
The WHERE clause is used to retrieve data that meet some specified conditions.
WHERE شق ڈیٹا حاصل کرنے کے لیے استعمال کی جاتی ہے جو کچھ مخصوص شرائط کو پورا کرتی ہے۔
ur
technical
moderate
To display distinct salaries of the employees working in the department number D01, we write the following query in which the condition to select the employee whose department number is D01 is specified using the WHERE clause:
محکمہ نمبر D01 میں کام کرنے والے ملازمین کی مختلف تنخواہیں دکھانے کے لیے، ہم درج ذیل استفسار لکھتے ہیں جس میں ملازم کو منتخب کرنے کی شرط جس کا محکمہ نمبر D01 ہے، WHERE شق کا استعمال کرتے ہوئے بیان کیا گیا ہے:
ur
technical
complex
As the column DeptId is of string type, its values are enclosed in quotes ('D01').
چونکہ کالم DeptId سٹرنگ قسم کا ہے، اس کی اقدار کو اقتباسات ('D01') میں بند کیا گیا ہے۔
ur
technical
moderate
We can also use other relational operators (<, <=, >, >=, !=) to specify conditions.
ہم شرائط کی وضاحت کے لیے دوسرے رشتہ دار آپریٹرز (<, <=, >, >=, !=) بھی استعمال کر سکتے ہیں۔
ur
technical
moderate
The logical operators AND, OR, and NOT are used with WHERE clause to combine multiple conditions.
منطقی آپریٹرز AND, OR، اور NOT کو متعدد شرائط کو یکجا کرنے کے لیے WHERE شق کے ساتھ استعمال کیا جاتا ہے۔
ur
technical
moderate
Display all the employees who are earning more than 5000 and work in department with DeptId D04.
ان تمام ملازمین کو دکھائیں جو 5000 سے زیادہ کما رہے ہیں اور محکمہ میں DeptId D04 کے ساتھ کام کرتے ہیں۔
ur
technical
moderate
The following query displays records of all the employees except Aaliya.
درج ذیل استفسار عالیہ کے سوا تمام ملازمین کے ریکارڈ دکھاتا ہے۔
ur
technical
moderate
The following query displays name and department number of all those employees who are earning salary between 20000 and 50000 (both values inclusive).
درج ذیل استفسار ان تمام ملازمین کا نام اور محکمہ نمبر دکھاتا ہے جو 20000 اور 50000 کے درمیان تنخواہ کما رہے ہیں (دونوں اقدار شامل ہیں)۔
ur
technical
complex
What will happen if in the above query we write “Aaliya” as “AALIYA” or “aaliya” or “AaLIYA”?
اگر ہم مذکورہ بالا استفسار میں “Aaliya” کو “AALIYA” یا “aaliya” یا “AaLIYA” لکھیں تو کیا ہوگا؟
ur
technical
moderate
The BETWEEN operator defines the range of values in which the column value must fall into, to make the condition true.
BETWEEN آپریٹر اقدار کی حد کی وضاحت کرتا ہے جس میں کالم کی قدر کو گرنا چاہیے، شرط کو درست بنانے کے لیے۔
ur
technical
complex
The following query displays details of all the employees who are working either in DeptId D01, D02 or D04.
درج ذیل استفسار ان تمام ملازمین کی تفصیلات دکھاتا ہے جو یا تو DeptId D01, D02 یا D04 میں کام کر رہے ہیں۔
ur
technical
moderate
The Indian Constitution is a comprehensive document.
بھارتی آئین ایک جامع دستاویز ہے۔
ur
general
simple
It outlines the fundamental rights of citizens.
یہ شہریوں کے بنیادی حقوق کا خاکہ پیش کرتا ہے۔
ur
general
simple
The government must uphold these rights.
حکومت کو ان حقوق کا تحفظ کرنا چاہیے۔
ur
general
simple
The Constitution was adopted in 1950.
آئین 1950 میں اپنایا گیا تھا۔
ur
general
simple
It is the supreme law of the land.
یہ ملک کا سب سے بڑا قانون ہے۔
ur
general
simple
The judiciary interprets the Constitution.
عدلیہ آئین کی تشریح کرتی ہے۔
ur
general
moderate
Amendments can be made to the Constitution.
آئین میں ترمیم کی جا سکتی ہے۔
ur
general
moderate
The Preamble sets out the goals of the Constitution.
دیباچہ آئین کے مقاصد بیان کرتا ہے۔
ur
general
moderate
It ensures justice, liberty, and equality for all.
یہ سب کے لیے انصاف، آزادی اور مساوات کو یقینی بناتا ہے۔
ur
general
moderate
The Constitution establishes a federal system.
آئین ایک وفاقی نظام قائم کرتا ہے۔
ur
general
moderate
The Parliament makes laws for the country.
پارلیمنٹ ملک کے لیے قوانین بناتی ہے۔
ur
general
moderate
The President is the head of state.
صدر مملکت کا سربراہ ہے۔
ur
general
moderate
The Prime Minister leads the government.
وزیر اعظم حکومت کی قیادت کرتا ہے۔
ur
general
moderate
The Constitution protects minority rights.
آئین اقلیتوں کے حقوق کا تحفظ کرتا ہے۔
ur
general
moderate
It promotes secularism in India.
یہ ہندوستان میں سیکولرازم کو فروغ دیتا ہے۔
ur
general
moderate
The Constitution is a living document, constantly evolving.
آئین ایک زندہ دستاویز ہے، جو مسلسل ارتقا پذیر ہے۔
ur
general
complex
It reflects the aspirations of the Indian people.
یہ ہندوستانی عوام کی امنگوں کی عکاسی کرتا ہے۔
ur
general
complex
The principles of the Constitution are fundamental to Indian democracy.
آئین کے اصول ہندوستانی جمہوریت کے لیے بنیادی ہیں۔
ur
general
complex
The Constitution provides a framework for governance.
آئین حکومت کے لیے ایک فریم ورک فراہم کرتا ہے۔
ur
general
complex