en
string
translation
string
target_lang
string
domain
string
complexity
string
This entire list of methods is known as call stack.
طریقہ کار کی اس پوری فہرست کو کال اسٹیک کے نام سے جانا جاتا ہے۔
ur
technical
moderate
When a suitable handler is found in the call stack, it is executed by the runtime process.
جب کال اسٹیک میں ایک مناسب ہینڈلر مل جاتا ہے، تو اسے رن ٹائم عمل کے ذریعے انجام دیا جاتا ہے۔
ur
technical
moderate
This process of executing a suitable handler is known as catching the exception.
مناسب ہینڈلر کو انجام دینے کے اس عمل کو استثنیٰ کو پکڑنا کہا جاتا ہے۔
ur
technical
moderate
If the runtime system is not able to find an appropriate exception after searching all the methods in the call stack, then the program execution stops.
اگر رن ٹائم سسٹم کال اسٹیک میں موجود تمام طریقوں کو تلاش کرنے کے بعد کوئی مناسب استثنیٰ تلاش کرنے کے قابل نہیں ہے، تو پروگرام کا عمل درآمد رک جاتا ہے۔
ur
technical
complex
The flowchart in Figure 1.8 describes the exception handling process.
شکل 1.8 میں فلو چارٹ استثنیٰ ہینڈلنگ کے عمل کو بیان کرتا ہے۔
ur
technical
moderate
An exception is said to be caught when a code that is designed to handle a particular exception is executed.
کہا جاتا ہے کہ ایک استثنیٰ کو پکڑا گیا ہے جب ایک ایسا کوڈ جو کسی خاص استثنیٰ کو سنبھالنے کے لیے ڈیزائن کیا گیا ہے، پر عمل کیا جاتا ہے۔
ur
technical
complex
Exceptions, if any, are caught in the try block and handled in the except block.
استثنیٰ، اگر کوئی ہیں، تو ٹرائی بلاک میں پکڑے جاتے ہیں اور ایکسیپٹ بلاک میں ہینڈل کیے جاتے ہیں۔
ur
technical
moderate
While writing or debugging a program, a user might doubt an exception to occur in a particular part of the code.
پروگرام لکھتے یا ڈیبگ کرتے وقت، صارف کو کوڈ کے کسی خاص حصے میں استثنیٰ ہونے کا شبہ ہو سکتا ہے۔
ur
technical
complex
Such suspicious lines of codes are put inside a try block.
کوڈ کی ایسی مشکوک لائنوں کو ٹرائی بلاک کے اندر رکھا جاتا ہے۔
ur
technical
moderate
Every try block is followed by an except block.
ہر ٹرائی بلاک کے بعد ایک ایکسیپٹ بلاک ہوتا ہے۔
ur
technical
simple
The search algorithm has to compare each element in the list.
تلاش کے الگورتھم کو فہرست کے ہر عنصر کا موازنہ کرنا ہوگا۔
ur
technical
moderate
Linear search takes multiple comparisons to find a key.
لکیری تلاش کلید تلاش کرنے کے لیے متعدد موازنہ لیتی ہے۔
ur
technical
moderate
If the key is not present, the algorithm compares all elements.
اگر کلید موجود نہیں ہے تو، الگورتھم تمام عناصر کا موازنہ کرتا ہے۔
ur
technical
moderate
The program returns the position of the element or indicates it's not found.
پروگرام عنصر کی پوزیشن واپس کرتا ہے یا اشارہ کرتا ہے کہ یہ نہیں ملا۔
ur
technical
moderate
Binary search is more efficient for sorted lists.
ترتیب شدہ فہرستوں کے لیے بائنری تلاش زیادہ موثر ہے۔
ur
technical
moderate
We can search in the second half of the dictionary.
ہم لغت کے دوسرے نصف میں تلاش کر سکتے ہیں۔
ur
general
simple
Binary search uses the order of elements to quickly find a key.
بائنری تلاش کلید کو تیزی سے تلاش کرنے کے لیے عناصر کے آرڈر کا استعمال کرتا ہے۔
ur
technical
moderate
The middle element is compared with the key in binary search.
بائنری تلاش میں درمیانی عنصر کا کلید سے موازنہ کیا جاتا ہے۔
ur
technical
moderate
If the middle element matches the key, the search is successful.
اگر درمیانی عنصر کلید سے مماثل ہے، تو تلاش کامیاب ہے۔
ur
technical
moderate
Unsuccessful comparisons reduce the search area.
ناکام موازنہ تلاش کے علاقے کو کم کرتے ہیں۔
ur
technical
moderate
The list needs to be sorted for binary search.
بائنری تلاش کے لیے فہرست کو ترتیب دینے کی ضرورت ہے۔
ur
technical
moderate
The mid value is calculated using floor division.
درمیانی قیمت کا حساب فلور ڈویژن کا استعمال کرتے ہوئے کیا جاتا ہے۔
ur
technical
moderate
Binary search is more efficient than linear search.
بائنری تلاش لکیری تلاش سے زیادہ موثر ہے۔
ur
technical
moderate
Hashing can find a key in one step.
ہیشنگ ایک قدم میں کلید تلاش کر سکتی ہے۔
ur
technical
moderate
A hash function generates an index value.
ہیش فنکشن ایک انڈیکس ویلیو تیار کرتا ہے۔
ur
technical
moderate
The remainder method is a simple hash function.
باقی ماندہ طریقہ ایک سادہ ہیش فنکشن ہے۔
ur
technical
moderate
Collision occurs when two elements have the same hash value.
تصادم اس وقت ہوتا ہے جب دو عناصر کی ہیش ویلیو ایک جیسی ہو۔
ur
technical
moderate
Collision resolution is needed in hashing.
ہیشنگ میں تصادم کے حل کی ضرورت ہے۔
ur
technical
moderate
A perfect hash function avoids collisions.
ایک کامل ہیش فنکشن تصادم سے بچتا ہے۔
ur
technical
moderate
Searching means locating a specific element.
تلاش کا مطلب ہے ایک مخصوص عنصر کا پتہ لگانا۔
ur
general
simple
Sorting is an important area of study in computer science.
کمپیوٹر سائنس میں چھانٹنا مطالعہ کا ایک اہم شعبہ ہے۔
ur
technical
moderate
In this chapter, we will learn about three sorting methods.
اس باب میں، ہم چھانٹنے کے تین طریقوں کے بارے میں سیکھیں گے۔
ur
technical
moderate
Bubble sort is discussed in section 5.2.
بلبلہ چھانٹنا سیکشن 5.2 میں زیر بحث ہے۔
ur
technical
simple
Swapping two elements means changing their positions with each other.
دو عناصر کو تبدیل کرنے کا مطلب ہے کہ ان کی پوزیشنوں کو ایک دوسرے کے ساتھ تبدیل کرنا۔
ur
technical
moderate
For a list with n elements, the bubble sort makes a total of n – 1 passes to sort the list.
n عناصر کی فہرست کے لیے، بلبلہ چھانٹنا فہرست کو ترتیب دینے کے لیے کل n – 1 پاس بناتا ہے۔
ur
technical
complex
In each pass, the required pairs of adjacent elements of the list will be compared.
ہر پاس میں، فہرست کے ملحقہ عناصر کے مطلوبہ جوڑوں کا موازنہ کیا جائے گا۔
ur
technical
moderate
This can be considered as the largest element being ‘bubbled up’.
اسے سب سے بڑے عنصر کو 'بلبلہ' کے طور پر سمجھا جا سکتا ہے۔
ur
technical
moderate
Hence the name Bubble sort.
اس لیے اس کا نام بلبلہ چھانٹنا ہے۔
ur
technical
simple
Figure 5.1 demonstrates the working of the bubble sort method.
شکل 5.1 بلبلہ چھانٹنے کے طریقہ کار کو ظاہر کرتی ہے۔
ur
technical
simple
Let us consider a list having 6 elements as numList = [8, 7, 13, 1, -9, 4].
آئیے 6 عناصر کی ایک فہرست پر غور کریں جیسا کہ numList = [8, 7, 13, 1, -9, 4].
ur
technical
moderate
Can you identify other examples where sorting plays an important role in computers?
کیا آپ دیگر مثالیں بتا سکتے ہیں جہاں کمپیوٹرز میں چھانٹنا ایک اہم کردار ادا کرتا ہے؟
ur
technical
moderate
If there is no swapping in any pass, it means the list is already sorted.
اگر کسی بھی پاس میں کوئی تبادلہ نہیں ہوتا ہے، تو اس کا مطلب ہے کہ فہرست پہلے ہی ترتیب دی گئی ہے۔
ur
technical
moderate
Can you think of making any improvement in the Algorithm 5.1?
کیا آپ الگورتھم 5.1 میں کوئی بہتری لانے کے بارے میں سوچ سکتے ہیں؟
ur
technical
moderate
Algorithm 5.1 shows the steps followed for the bubble sort.
الگورتھم 5.1 بلبلہ چھانٹنے کے لیے کیے جانے والے مراحل کو ظاہر کرتا ہے۔
ur
technical
simple
The sorted list is : -9 1 4 7 8 13
ترتیب شدہ فہرست یہ ہے: -9 1 4 7 8 13
ur
technical
simple
Selection sort is another sorting technique.
سلیکشن چھانٹنا ایک اور چھانٹنے کی تکنیک ہے۔
ur
technical
simple
The list is considered to be divided into two lists.
فہرست کو دو فہرستوں میں تقسیم کیا جاتا ہے۔
ur
technical
moderate
Initially, the left list is empty, and the right list contains all the elements.
ابتدائی طور پر، بائیں فہرست خالی ہے، اور دائیں فہرست میں تمام عناصر شامل ہیں۔
ur
technical
moderate
In the first pass, all the elements in the unsorted list are traversed.
پہلے پاس میں، غیر ترتیب شدہ فہرست کے تمام عناصر کو عبور کیا جاتا ہے۔
ur
technical
moderate
Insertion sort is another sorting algorithm.
داخل کرنے کی چھانٹنا ایک اور چھانٹنے کا الگورتھم ہے۔
ur
technical
simple
Statistical techniques are essential for data analysis.
شماریاتی تکنیکیں ڈیٹا کے تجزیہ کے لیے ضروری ہیں۔
ur
technical
moderate
Python is a popular programming tool with libraries for data processing.
پائیتھون ایک مقبول پروگرامنگ ٹول ہے جس میں ڈیٹا پروسیسنگ کے لیے لائبریریاں ہیں۔
ur
technical
moderate
Data refers to unorganized facts that can be processed to generate meaningful results.
ڈیٹا سے مراد غیر منظم حقائق ہیں جن پر کارروائی کرکے بامعنی نتائج پیدا کیے جا سکتے ہیں۔
ur
technical
moderate
Hard disks and SSDs are common storage devices.
ہارڈ ڈسک اور ایس ایس ڈی عام اسٹوریج ڈیوائسز ہیں۔
ur
technical
simple
Identify the data needed to declare exam results.
امتحانی نتائج کا اعلان کرنے کے لیے درکار ڈیٹا کی شناخت کریں۔
ur
technical
moderate
A school wants to identify scholarship beneficiaries.
ایک اسکول وظیفہ حاصل کرنے والوں کی شناخت کرنا چاہتا ہے۔
ur
general
moderate
Describe data processing steps to prepare the list of beneficiaries.
مستفید ہونے والوں کی فہرست تیار کرنے کے لیے ڈیٹا پروسیسنگ کے مراحل بیان کریں۔
ur
technical
complex
A bank wants to know its popularity among residents.
ایک بینک رہائشیوں میں اپنی مقبولیت جاننا چاہتا ہے۔
ur
general
moderate
Data processing involves input, storage, processing, and output.
ڈیٹا پروسیسنگ میں ڈیٹا کا ان پٹ، اسٹوریج، پروسیسنگ اور آؤٹ پٹ شامل ہے۔
ur
technical
moderate
Summarizing data using statistical techniques reveals data characteristics.
شماریاتی تکنیکوں کا استعمال کرتے ہوئے ڈیٹا کو خلاصہ کرنے سے ڈیٹا کی خصوصیات ظاہر ہوتی ہیں۔
ur
technical
moderate
Mean, median, and mode are statistical techniques.
اوسط، میڈین اور موڈ شماریاتی تکنیکیں ہیں۔
ur
technical
simple
The mean is the average of given values.
اوسط دی گئی اقدار کا اوسط ہے۔
ur
technical
simple
Identify the type of data being collected in the following scenarios.
مندرجہ ذیل منظرناموں میں جمع کیے جانے والے ڈیٹا کی قسم کی شناخت کریں۔
ur
technical
moderate
Consider the temperature of 7 days.
7 دنوں کا درجہ حرارت دیکھیں۔
ur
technical
simple
Find the average temperature.
اوسط درجہ حرارت معلوم کریں۔
ur
technical
simple
A teacher wants to analyze results.
ایک استاد نتائج کا تجزیہ کرنا چاہتا ہے۔
ur
general
moderate
Which statistical technique should be used?
کون سی شماریاتی تکنیک استعمال کی جانی چاہیے؟
ur
technical
moderate
The school is celebrating its annual day.
اسکول اپنا سالانہ دن منا رہا ہے۔
ur
general
simple
Differentiate between structured and unstructured data.
منظم اور غیر منظم ڈیٹا میں فرق کریں۔
ur
technical
moderate
The principal wants to analyze food items.
پرنسپل کھانے کی اشیاء کا تجزیہ کرنا چاہتا ہے۔
ur
general
moderate
Each tuple (row) in a relation (table) corresponds to data of a real world entity.
ایک رشتہ (ٹیبل) میں ہر ٹپل (قطار) ایک حقیقی دنیا کی ہستی کے ڈیٹا سے مطابقت رکھتا ہے۔
ur
technical
moderate
In the GUARDIAN relation, each row represents the facts about the guardian.
گارڈین رشتے میں، ہر قطار گارڈین کے بارے میں حقائق کی نمائندگی کرتی ہے۔
ur
technical
moderate
A database that is modeled on relational data model concept is called Relational Database.
ایک ڈیٹا بیس جو رشتہ دار ڈیٹا ماڈل کے تصور پر مبنی ہے اسے رشتہ دار ڈیٹا بیس کہا جاتا ہے۔
ur
technical
moderate
Let us now understand the commonly used terminologies in relational data model.
آئیے اب رشتہ دار ڈیٹا ماڈل میں عام طور پر استعمال ہونے والی اصطلاحات کو سمجھتے ہیں۔
ur
technical
moderate
ATTRIBUTE: Characteristic or parameters for which data are to be stored in a relation.
ایٹریبیوٹ: خصوصیت یا پیرامیٹرز جن کے لیے ڈیٹا کو ایک رشتے میں محفوظ کیا جانا ہے۔
ur
technical
moderate
Simply stated, the columns of a relation are the attributes which are also referred as fields.
آسان الفاظ میں، ایک رشتے کے کالم وہ ایٹریبیوٹس ہیں جنہیں فیلڈز بھی کہا جاتا ہے۔
ur
technical
moderate
For example, GUID, GName, GPhone and GAddress are attributes of relation GUARDIAN.
مثال کے طور پر، GUID، GName، GPhone اور GAddress گارڈین رشتے کی خصوصیات ہیں۔
ur
technical
simple
TUPLE: Each row of data in a relation (table) is called a tuple.
ٹپل: ایک رشتے (ٹیبل) میں ڈیٹا کی ہر قطار کو ٹپل کہا جاتا ہے۔
ur
technical
simple
In a table with n columns, a tuple is a relationship between the n related values.
n کالموں والی ایک ٹیبل میں، ایک ٹپل n متعلقہ اقدار کے درمیان ایک رشتہ ہے۔
ur
technical
moderate
DOMAIN: It is a set of values from which an attribute can take a value in each row.
ڈومین: یہ اقدار کا ایک مجموعہ ہے جس سے ایک ایٹریبیوٹ ہر قطار میں ایک قدر لے سکتا ہے۔
ur
technical
moderate
Usually, a data type is used to specify domain for an attribute.
عام طور پر، ایک ڈیٹا ٹائپ ایک ایٹریبیوٹ کے لیے ڈومین کی وضاحت کرنے کے لیے استعمال ہوتی ہے۔
ur
technical
moderate
For example, in STUDENT relation, the attribute RollNumber takes integer values.
مثال کے طور پر، اسٹوڈنٹ رشتے میں، ایٹریبیوٹ رول نمبر عددی اقدار لیتا ہے۔
ur
technical
simple
Similarly, the set of character strings constitutes the domain of the attribute SName.
اسی طرح، کریکٹر اسٹرنگز کا سیٹ ایٹریبیوٹ SName کے ڈومین کو تشکیل دیتا ہے۔
ur
technical
moderate
DEGREE: The number of attributes in a relation is called the Degree of the relation.
ڈگری: ایک رشتے میں ایٹریبیوٹس کی تعداد کو رشتے کی ڈگری کہا جاتا ہے۔
ur
technical
moderate
For example, relation GUARDIAN with four attributes is a relation of degree 4.
مثال کے طور پر، چار ایٹریبیوٹس کے ساتھ گارڈین رشتہ ڈگری 4 کا رشتہ ہے۔
ur
technical
simple
CARDINALITY: The number of tuples in a relation is called the Cardinality of the relation.
کارڈینلٹی: ایک رشتے میں ٹپلز کی تعداد کو رشتے کی کارڈینلٹی کہا جاتا ہے۔
ur
technical
moderate
For example, the cardinality of relation GUARDIAN is 5 as there are 5 tuples in the table.
مثال کے طور پر، گارڈین رشتے کی کارڈینلٹی 5 ہے کیونکہ ٹیبل میں 5 ٹپلز ہیں۔
ur
technical
simple
In relational data model, following three properties are observed with respect to a relation.
رشتہ دار ڈیٹا ماڈل میں، ایک رشتے کے حوالے سے مندرجہ ذیل تین خصوصیات کا مشاہدہ کیا جاتا ہے۔
ur
technical
moderate
Each attribute in a relation has a unique name.
ایک رشتے میں ہر ایٹریبیوٹ کا ایک منفرد نام ہوتا ہے۔
ur
technical
simple
Sequence of attributes in a relation is immaterial.
ایک رشتے میں ایٹریبیوٹس کی ترتیب غیر اہم ہے۔
ur
technical
simple
Estimate the number of key comparisons required in binary search and linear search if we need to find the details of a person in a sorted database having 230 (1,073,741,824) records when details of the person being searched lies at the middle position in the database.
اگر ہمیں کسی ترتیب شدہ ڈیٹا بیس میں موجود 230 (1,073,741,824) ریکارڈز میں سے کسی شخص کی تفصیلات تلاش کرنے کی ضرورت ہو تو بائنری سرچ اور لکیری سرچ میں درکار کلیدی موازنہ کی تعداد کا اندازہ لگائیں، جب کہ تلاش کی جانے والی شخص کی تفصیلات ڈیٹا بیس میں درمیانی پوزیشن پر موجود ہوں۔
ur
technical
complex
Use the hash function: h(element)= element%11 to store the collection of numbers: [44, 121, 55, 33, 110, 77, 22, 66] in a hash table.
ہیش فنکشن استعمال کریں: h(عنصر) = عنصر%11 ہیش ٹیبل میں نمبروں کے مجموعے کو ذخیرہ کرنے کے لیے: [44, 121, 55, 33, 110, 77, 22, 66]۔
ur
technical
moderate
Write a Python program by considering a mapping of list of countries and their capital cities such as: CountryCapital= {'India':'New Delhi','UK': 'London','France':'Paris', 'Switzerland': 'Berne', 'Australia': 'Canberra'}
ملکوں کی فہرست اور ان کے دارالحکومتوں کی نقشہ بندی پر غور کرتے ہوئے ایک پائتھن پروگرام لکھیں، جیسے: CountryCapital= {'India':'New Delhi','UK': 'London','France':'Paris', 'Switzerland': 'Berne', 'Australia': 'Canberra'}
ur
technical
complex
Data are indeed crucial for decision making.
درحقیقت، ڈیٹا فیصلہ سازی کے لیے بہت اہم ہیں۔
ur
general
simple
In the previous examples, one cannot make decisions by looking at the data itself.
پچھلی مثالوں میں، کوئی بھی ڈیٹا کو دیکھ کر فیصلے نہیں کر سکتا۔
ur
general
moderate
The college processes and analyses this data and the results are given in the placement brochure of the college through summarisation as well as visuals for easy understanding.
کالج اس ڈیٹا پر کارروائی کرتا ہے اور اس کا تجزیہ کرتا ہے اور نتائج کو خلاصہ اور بصریوں کے ذریعے کالج کے پلیسمنٹ بروشر میں آسانی سے سمجھنے کے لیے دیا جاتا ہے۔
ur
general
complex
In general, data is a collection of characters, numbers, and other symbols that represents values of some situations or variables.
عام طور پر، ڈیٹا حروف، اعداد اور دیگر علامتوں کا مجموعہ ہے جو کچھ حالات یا متغیرات کی قدروں کی نمائندگی کرتا ہے۔
ur
technical
moderate
Human beings rely on data for making decisions.
انسان فیصلے کرنے کے لیے ڈیٹا پر انحصار کرتے ہیں۔
ur
general
simple
Besides, large amount of data when processed with the help of a computer, show us the possibilities or hidden traits which are otherwise not visible to humans.
اس کے علاوہ، کمپیوٹر کی مدد سے پروسیس کیے جانے والے ڈیٹا کی بڑی مقدار ہمیں ان امکانات یا پوشیدہ خصوصیات کو دکھاتی ہے جو بصورت دیگر انسانوں کو نظر نہیں آتیں۔
ur
general
moderate
The meteorological offices continuously keep on monitoring satellite data for any upcoming cyclone or heavy rain.
محکمہ موسمیات کسی بھی آنے والے طوفان یا شدید بارش کے لیے مسلسل سیٹلائٹ ڈیٹا کی نگرانی کرتا ہے۔
ur
news
moderate