RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers

-SS-03-2017 from the 2017 exam year is part of the Class 12th previous year papers archive on RBSE Solution. Many learners start here after finishing the textbook to see how questions were actually framed on the Rajasthan Board of Secondary Education (RBSE) paper.

Treat this question paper as a mock under gentle timing first, then as a marking exercise the second time. The introduction on this page is written only for this subject-and-year pair, not copied from other pages.

Bookmark the link if you coach juniors — the layout stays stable for search engines and classroom sharing.

Paper details

Quick reference for this previous year papers page — confirm board, class, and year & subject before you study.

Board RBSE
Class Class 12th
Exam year 2017
Subject -SS-03-2017
Resource type Previous Year Papers
Category RBSE Previous Year Question Papers
Website RBSE Solution

The table summarises this Previous Year Papers resource. Confirm RBSE, Class 12th, year 2017, and subject -SS-03-2017 before studying.

RBSE Solution organises previous year papers so each URL carries chapter-specific guidance — better for students and for search engines than one generic paragraph for the whole class.

Turning 2017 papers into insight

One -SS-03-2017 paper reveals style; several from the same year reveal pattern. After this page, open sibling subjects listed below to see whether marks cluster in certain units.

Keep rough work dated in your notebook. Examiners in Class 12th expect clear numbering even in practice sessions.

RBSE Class 12th 2017 -SS-03-2017

Scroll through the Previous Year Papers pages for -SS-03-2017 (2017).

RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 0
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 1
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 2
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 3
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 4
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 5
https://rbsesolution.com
RBSE Class 12th 2017 -SS-03-2017 Previous Year Papers 6
https://rbsesolution.com

Rajasthan Board Class 12th -SS-03-2017 2017 solved Previous Year Question Papers

उच्च माध्यमिक परीक्षा, 2017
SENIOR SECONDARY EXAMINATION, 2017

कम्प्यूटर विज्ञान
COMPUTER SCIENCE
ऐच्छिक (Optional)

समय : 3¼ घण्टे     पूर्णांक : 56

परीक्षार्थियों के लिए सामान्य निर्देश :
GENERAL INSTRUCTIONS TO THE EXAMINEES :

  1. परीक्षार्थी सर्वप्रथम अपने प्रश्न पत्र पर नामांक अनिवार्यतः लिखें।
    Candidate must write first his / her Roll No. on the question paper compulsorily.
  2. सभी प्रश्न करने अनिवार्य हैं।
    All the questions are compulsory.
  3. प्रत्येक प्रश्न का उत्तर दी गई उत्तर-पुस्तिका में ही लिखें।
    Write the answer to each question in the given answer-book only.
  4. जिन प्रश्नों में आन्तरिक खण्ड हैं, उन सभी के उत्तर एक साथ ही लिखें।
    For questions having more than one part the answers to those parts are to be written together in continuity.

प्रश्न पत्र को खोलने के लिए यहाँ फाड़ें
TEAR HERE TO OPEN THE QUESTION PAPER

SS-03—Compu. Sc. (Opt.) 807   [Turn Over

खण्ड - अ / Part - A

1) C++ में एकल लाइन कमैन्ट कैसे बन्द करते हैं?
How to close single line comment in C++?

उत्तर / Answer: C++ में एकल लाइन कमैन्ट को // से शुरू किया जाता है और यह लाइन के अंत में स्वतः बन्द हो जाता है। इसे बन्द करने के लिए किसी विशेष चिह्न की आवश्यकता नहीं होती।

In C++, a single line comment starts with // and automatically closes at the end of the line. No special closing symbol is needed.

2) फ्रेंड फंक्शन को घोषित करने के लिए कौनसा प्रीफिक्स लगाते हैं?
To declare friend function which prefix is used?

उत्तर / Answer: फ्रेंड फंक्शन को घोषित करने के लिए friend कीवर्ड (प्रीफिक्स) का उपयोग किया जाता है।

To declare a friend function, the friend keyword (prefix) is used.


SS—03—Compu. Se. (Opt.) 807  |  [4]

3) क्लास में कौनसी स्ट्रीम जो इनपुट और आऊटपुट दोनो का कार्य करती है? [ ]

Which stream is work for both input and output in the class?

उत्तर: फ़ाइल स्ट्रीम (File Stream) – C++ में fstream क्लास इनपुट और आउटपुट दोनों के लिए कार्य करती है।

Explanation: In C++, the fstream class (derived from iostream) allows both reading from and writing to files, making it a bidirectional stream.

4) मल्टी लेवल इन्हेरीटेंस क्या है? [I]

What is a multilevel inheritance?

उत्तर: मल्टी लेवल इन्हेरीटेंस एक प्रकार का इन्हेरीटेंस है जिसमें एक क्लास दूसरी क्लास से प्राप्त होती है, और फिर उससे तीसरी क्लास प्राप्त होती है। यह एक श्रृंखला (chain) बनाता है।

Explanation: In multilevel inheritance, a derived class inherits from a base class, and another class inherits from that derived class, forming a hierarchy (e.g., Class A → Class B → Class C).

5) पंक्ति डाटा संरचना क्या है? [7]

What is a queue data structure?

उत्तर: पंक्ति (Queue) एक रैखिक डाटा संरचना है जो FIFO (First In First Out) सिद्धांत पर कार्य करती है। इसमें नया तत्व पीछे (rear) से जोड़ा जाता है और सामने (front) से हटाया जाता है।

Explanation: A queue follows the FIFO principle: elements are added at the rear and removed from the front, like a line of people waiting.

6) व्यूह कितने प्रकार के होते हैं नाम लिखिए | [ ]

Write the names of types of array.

उत्तर: व्यूह (Array) दो प्रकार के होते हैं:

  1. एक-आयामी व्यूह (One-dimensional array) – जिसमें तत्व एक पंक्ति में व्यवस्थित होते हैं।
  2. बहु-आयामी व्यूह (Multi-dimensional array) – जैसे द्वि-आयामी (2D) या त्रि-आयामी (3D) व्यूह, जिसमें तत्व पंक्तियों और स्तंभों में व्यवस्थित होते हैं।

Explanation: Arrays are classified as one-dimensional (linear) and multi-dimensional (e.g., 2D arrays with rows and columns).

7) व्यूह का इन्डेक्स एवं लम्बाई को दर्शाते हुए चित्र बनाइये | [l]

Draw the figure of an array to show index & length.

उत्तर: नीचे एक एक-आयामी व्यूह (array) का चित्र दिया गया है जो इन्डेक्स और लम्बाई (length) को दर्शाता है:

इन्डेक्स:  0    1    2    3    4
        +----+----+----+----+----+
        | 10 | 20 | 30 | 40 | 50 |
        +----+----+----+----+----+
लम्बाई (Length) = 5
  

Explanation: The array has indices starting from 0 to 4, and its length (number of elements) is 5.

8) टेबल को हटाने के लिए कौनसा कमाण्ड प्रयोग करते हैं? [ ]

Which command is used to delete a table?

उत्तर: DROP TABLE कमाण्ड का प्रयोग किया जाता है।

Explanation: In SQL, the DROP TABLE command permanently removes a table and its data from the database.

9) SQL क्या है? [I]

What is a SQL?

उत्तर: SQL (Structured Query Language) एक डेटाबेस भाषा है जिसका उपयोग रिलेशनल डेटाबेस में डेटा को संग्रहीत, प्रबंधित और क्वेरी करने के लिए किया जाता है।

Explanation: SQL is a standard programming language for managing and manipulating relational databases, including operations like SELECT, INSERT, UPDATE, and DELETE.

0) आधारभूत बूलियन ऑपरेटर के नाम लिखिए।

Write the names of basic boolean operators.

उत्तर: आधारभूत बूलियन ऑपरेटर AND, OR और NOT हैं।

Answer: The basic boolean operators are AND, OR, and NOT.

1) NOR गेट क्या है?

What is a NOR gate?

उत्तर: NOR गेट एक डिजिटल लॉजिक गेट है जो OR गेट और NOT गेट का संयोजन है। इसका आउटपुट तभी 1 (हाई) होता है जब सभी इनपुट 0 (लो) हों, अन्यथा आउटपुट 0 होता है।

Answer: A NOR gate is a digital logic gate that is a combination of an OR gate and a NOT gate. Its output is 1 (high) only when all inputs are 0 (low), otherwise the output is 0.

2) हाफ डुप्लेक्स डाटा ट्रांस्फर मोड क्या है?

What is a half duplex data transfer mode?

उत्तर: हाफ डुप्लेक्स डाटा ट्रांस्फर मोड में डेटा दोनों दिशाओं में ट्रांसफर हो सकता है, लेकिन एक समय में केवल एक दिशा में। यह एक समय में केवल एक डिवाइस को डेटा भेजने या प्राप्त करने की अनुमति देता है।

Answer: In half duplex data transfer mode, data can be transferred in both directions, but only in one direction at a time. It allows only one device to send or receive data at a time.

3) HTML का पूरा नाम क्या है?

What is the full name of HTML?

उत्तर: HTML का पूरा नाम हाइपरटेक्स्ट मार्कअप लैंग्वेज (HyperText Markup Language) है।

Answer: The full name of HTML is HyperText Markup Language.


खण्ड - ब (Part - B)

4) FOR लूप को सिन्टेक्स सहित समझाइये।

Explain the FOR loop with syntax.

उत्तर: FOR लूप एक नियंत्रण संरचना है जो एक निश्चित संख्या में कोड के ब्लॉक को दोहराता है। इसका सामान्य सिंटैक्स (C++/Java में) इस प्रकार है:

for (initialization; condition; increment/decrement) {
    // statements to be executed
}

उदाहरण: for (int i = 0; i < 5; i++) { cout << i; } यह लूप 0 से 4 तक प्रिंट करेगा।

Answer: A FOR loop is a control structure that repeats a block of code a fixed number of times. Its general syntax (in C++/Java) is:

for (initialization; condition; increment/decrement) {
    // statements to be executed
}

Example: for (int i = 0; i < 5; i++) { cout << i; } This loop will print 0 to 4.

5) डायनामिक कन्सट्रक्टर किसे कहते हैं?

What is a dynamic constructor?

उत्तर: डायनामिक कन्सट्रक्टर वह कन्सट्रक्टर है जो रन टाइम पर मेमोरी आवंटित करता है। इसमें new ऑपरेटर का उपयोग करके ऑब्जेक्ट के लिए डायनामिक रूप से मेमोरी आवंटित की जाती है।

Answer: A dynamic constructor is a constructor that allocates memory at runtime. It uses the new operator to dynamically allocate memory for an object.

6) कोई दो ऑपरेटर के नाम लिखिए जिन्हें ओवरलोड नहीं कर सकते?

Write the names of any two operators which cannot be overloaded.

उत्तर: दो ऑपरेटर जिन्हें ओवरलोड नहीं किया जा सकता:

  • स्कोप रिज़ॉल्यूशन ऑपरेटर (::)
  • टर्नरी ऑपरेटर (?:)

Answer: Two operators that cannot be overloaded:

  • Scope resolution operator (::)
  • Ternary operator (?:)

प्रश्न 7

दो विमीय ऐरे (2D Array) का सिंटेक्स उदाहरण सहित लिखिए।

सिंटेक्स: data_type array_name[rows][columns];

उदाहरण: int marks[3][4]; — यह 3 पंक्तियों और 4 स्तंभों वाला एक पूर्णांक ऐरे है।

प्रश्न 8

डाटाबेस मैनेजमेन्ट सिस्टम के क्या लाभ हैं?

  • डेटा रिडंडेंसी (अनावश्यकता) को कम करता है।
  • डेटा सुरक्षा और एकीकरण प्रदान करता है।
  • डेटा तक आसान पहुँच और प्रबंधन।
  • डेटा की संगति और अखंडता बनाए रखता है।

प्रश्न 9

चार डाटाबेस एप्लिकेशनों की सूची दीजिए।

  1. बैंकिंग प्रणाली (खाता प्रबंधन)
  2. शिक्षा संस्थान (छात्र रिकॉर्ड)
  3. ई-कॉमर्स (उत्पाद और ऑर्डर डेटा)
  4. स्वास्थ्य सेवा (रोगी रिकॉर्ड)

प्रश्न 20

AND गेट को Truth Table सहित समझाइये।

AND गेट: यह एक लॉजिक गेट है जो तभी आउटपुट 1 देता है जब सभी इनपुट 1 हों।

इनपुट A इनपुट B आउटपुट (A AND B)
0 0 0
0 1 0
1 0 0
1 1 1

प्रश्न 21

बूलीयन एलजेबरा में वितरण का नियम क्या है?

वितरण नियम (Distribution Law):

  • A · (B + C) = (A · B) + (A · C)
  • A + (B · C) = (A + B) · (A + C)

यह नियम बताता है कि AND और OR ऑपरेशन एक-दूसरे पर वितरित हो सकते हैं।

प्रश्न 22

को-एक्सियल केबल की संरचना समझाइये।

को-एक्सियल केबल की संरचना:

  1. आंतरिक चालक (Inner Conductor): तांबे का तार जो सिग्नल ले जाता है।
  2. डाइइलेक्ट्रिक इन्सुलेशन (Dielectric Insulation): प्लास्टिक या फोम की परत जो चालक को अलग करती है।
  3. बाहरी चालक (Outer Conductor): धातु की जाली या फॉइल जो शील्डिंग प्रदान करती है।
  4. बाहरी जैकेट (Outer Jacket): रबर या प्लास्टिक की सुरक्षात्मक परत।

प्रश्न 23

HTML में क्रम वाली तथा बिना क्रम वाली लिस्ट को समझाइये।

क्रम वाली सूची (Ordered List): <ol> टैग से बनाई जाती है। इसमें आइटम क्रमांकित होते हैं (1, 2, 3...)।

उदाहरण:

<ol>
  <li>पहला आइटम</li>
  <li>दूसरा आइटम</li>
</ol>

बिना क्रम वाली सूची (Unordered List): <ul> टैग से बनाई जाती है। इसमें आइटम बुलेट पॉइंट (•) से दिखाए जाते हैं।

उदाहरण:

<ul>
  <li>पहला आइटम</li>
  <li>दूसरा आइटम</li>
</ul>

24) प्रोप्राइटरी सॉफ्टवेयर क्या है? उदाहरण सहित समझाइये।

What is proprietary software? Explain with example.

प्रोप्राइटरी सॉफ्टवेयर वह सॉफ्टवेयर है जिसका स्वामित्व किसी व्यक्ति या कंपनी के पास होता है और इसके स्रोत कोड को सार्वजनिक रूप से उपलब्ध नहीं कराया जाता। उपयोगकर्ता को इसका उपयोग करने के लिए लाइसेंस खरीदना पड़ता है और इसे संशोधित या पुनर्वितरित नहीं किया जा सकता।

उदाहरण: Microsoft Windows, Adobe Photoshop, Microsoft Office.


खण्ड - स

Part - C

25) C++ में फ्लोट एवं इन्टीजर मान को स्वैप करने के लिए फंक्शन लिखिए।

Write a function for float and integer value swapping in C++.

#include <iostream>
using namespace std;

// Function to swap two integers
void swapInt(int &a, int &b) {
    int temp = a;
    a = b;
    b = temp;
}

// Function to swap two floats
void swapFloat(float &x, float &y) {
    float temp = x;
    x = y;
    y = temp;
}

int main() {
    int i1 = 10, i2 = 20;
    float f1 = 3.5, f2 = 7.2;
    
    cout << "Before swapping: i1=" << i1 << ", i2=" << i2 << endl;
    swapInt(i1, i2);
    cout << "After swapping: i1=" << i1 << ", i2=" << i2 << endl;
    
    cout << "Before swapping: f1=" << f1 << ", f2=" << f2 << endl;
    swapFloat(f1, f2);
    cout << "After swapping: f1=" << f1 << ", f2=" << f2 << endl;
    
    return 0;
}

व्याख्या: यहाँ दो अलग-अलग फंक्शन बनाए गए हैं - एक int और एक float प्रकार के मानों को स्वैप करने के लिए। दोनों फंक्शन रेफरेंस पैरामीटर का उपयोग करते हैं ताकि मूल मान बदल जाएं।

26) कन्सट्रक्टर फंक्शन की विशेषताएं लिखिए।

Write features of constructors function.

  1. स्वचालित आह्वान: कन्सट्रक्टर ऑब्जेक्ट बनाते समय स्वचालित रूप से कॉल होता है।
  2. क्लास का नाम: कन्सट्रक्टर का नाम क्लास के नाम के समान होता है।
  3. कोई रिटर्न टाइप नहीं: कन्सट्रक्टर का कोई रिटर्न टाइप नहीं होता (void भी नहीं)।
  4. ओवरलोडिंग: कन्सट्रक्टर को ओवरलोड किया जा सकता है (एक से अधिक कन्सट्रक्टर हो सकते हैं)।
  5. डिफॉल्ट कन्सट्रक्टर: यदि कोई कन्सट्रक्टर परिभाषित नहीं किया जाता, तो कंपाइलर एक डिफॉल्ट कन्सट्रक्टर प्रदान करता है।
  6. इनिशियलाइजेशन: कन्सट्रक्टर का उपयोग ऑब्जेक्ट के डेटा मेंबर्स को इनिशियलाइज करने के लिए किया जाता है।
  7. पैरामीटराइज्ड कन्सट्रक्टर: कन्सट्रक्टर पैरामीटर ले सकता है।
  8. कॉपी कन्सट्रक्टर: एक विशेष कन्सट्रक्टर जो एक ऑब्जेक्ट को दूसरे ऑब्जेक्ट से कॉपी करता है।

27) स्टैक पर टिप्पणी लिखिए।

Write short note on stack.

स्टैक एक रैखिक डेटा संरचना है जो LIFO (Last In First Out) सिद्धांत पर काम करती है। इसका अर्थ है कि जो तत्व सबसे अंत में जोड़ा जाता है, वह सबसे पहले हटाया जाता है।

मुख्य संक्रियाएं:

  • push(x): स्टैक के शीर्ष पर एक तत्व जोड़ना।
  • pop(): स्टैक के शीर्ष से तत्व हटाना।
  • top()/peek(): शीर्ष तत्व को देखना (हटाए बिना)।
  • isEmpty(): जांचना कि स्टैक खाली है या नहीं।

उपयोग: फंक्शन कॉल्स को ट्रैक करना, एक्सप्रेशन मूल्यांकन, बैकट्रैकिंग एल्गोरिदम, ब्राउज़र का बैक बटन आदि।

28) ऑब्जेक्ट ओरियन्टेड भाषा में आवश्यक अवधारणाएं समझाइये।

Explain necessary concepts in object oriented language.

  1. क्लास (Class): एक ब्लूप्रिंट या टेम्पलेट जो ऑब्जेक्ट के गुणों और व्यवहार को परिभाषित करता है।
  2. ऑब्जेक्ट (Object): क्लास का एक इंस्टेंस जो वास्तविक दुनिया की इकाई का प्रतिनिधित्व करता है।
  3. एनकैप्सुलेशन (Encapsulation): डेटा और मेथड्स को एक इकाई में बांधना और बाहरी पहुंच से बचाना।
  4. इनहेरिटेंस (Inheritance): एक क्लास दूसरी क्लास के गुणों और मेथड्स को प्राप्त कर सकती है।
  5. पॉलीमॉर्फिज्म (Polymorphism): एक ही नाम के फंक्शन या ऑपरेटर अलग-अलग संदर्भों में अलग-अलग व्यवहार कर सकते हैं।
  6. एब्स्ट्रैक्शन (Abstraction): जटिल विवरणों को छिपाकर केवल आवश्यक सुविधाएं प्रदान करना।

अथवा / OR

28) C++ में आधार एवं ऊंचाई का उपयोग कर त्रिभुज का क्षेत्रफल ज्ञात करने हेतु प्रोग्राम लिखिए।

Write a program in C++ to calculate the area of triangle using height & length.

#include <iostream>
using namespace std;

int main() {
    float base, height, area;
    
    cout << "त्रिभुज का आधार (base) दर्ज करें: ";
    cin >> base;
    cout << "त्रिभुज की ऊंचाई (height) दर्ज करें: ";
    cin >> height;
    
    // क्षेत्रफल = (1/2) * आधार * ऊंचाई
    area = 0.5 * base * height;
    
    cout << "त्रिभुज का क्षेत्रफल = " << area << " वर्ग इकाई" << endl;
    
    return 0;
}

व्याख्या: यह प्रोग्राम उपयोगकर्ता से त्रिभुज का आधार और ऊंचाई इनपुट लेता है, फिर सूत्र क्षेत्रफल = 0.5 × आधार × ऊंचाई का उपयोग करके क्षेत्रफल की गणना करता है और परिणाम प्रदर्शित करता है।

29) असाइनमैन्ट ऑपरेटर ओवरलोडिंग पर टिप्पणी लिखिए।

Write short note on assignment operator overloading.

असाइनमैन्ट ऑपरेटर ओवरलोडिंग C++ में एक विशेषता है जो हमें '=' ऑपरेटर को यूज़र-डिफाइंड डेटा टाइप्स (जैसे क्लास) के लिए पुनर्परिभाषित करने की अनुमति देती है।

मुख्य बिंदु:

  • इसे एक मेंबर फंक्शन के रूप में ओवरलोड किया जाता है।
  • डिफॉल्ट असाइनमैन्ट ऑपरेटर शैलो कॉपी (shallow copy) करता है, जबकि ओवरलोडेड वर्जन डीप कॉपी (deep copy) कर सकता है।
  • इसका उपयोग तब आवश्यक होता है जब क्लास में डायनामिक मेमोरी एलोकेशन हो।
  • सिंटैक्स: ClassName& operator=(const ClassName& other);
  • यह आमतौर पर *this को रिटर्न करता है ताकि चेनिंग (a=b=c) संभव हो।

अथवा / OR

29) C++ में विभिन्न प्रकार के इन्हेरीटेन्स का वर्णन कीजिए।

Describe various types of inheritance in C++.

  1. सिंगल इनहेरिटेंस (Single Inheritance): एक डिराइव्ड क्लास केवल एक बेस क्लास से इनहेरिट करती है।
  2. मल्टीपल इनहेरिटेंस (Multiple Inheritance): एक डिराइव्ड क्लास एक से अधिक बेस क्लास से इनहेरिट करती है।
  3. मल्टीलेवल इनहेरिटेंस (Multilevel Inheritance): एक क्लास दूसरी क्लास से इनहेरिट करती है, जो स्वयं किसी अन्य क्लास से इनहेरिट करती है (श्रृंखला)।
  4. हाइरार्किकल इनहेरिटेंस (Hierarchical Inheritance): एक बेस क्लास से कई डिराइव्ड क्लास इनहेरिट करती हैं।
  5. हाइब्रिड इनहेरिटेंस (Hybrid Inheritance): दो या अधिक प्रकार के इनहेरिटेंस का संयोजन।

उदाहरण: सिंगल: A→B; मल्टीपल: A,B→C; मल्टीलेवल: A→B→C; हाइरार्किकल: A→B, A→C; हाइब्रिड: A→B, A→C, B,C→D

30) व्यूह में से अवयव को खोजने की विधियों पर टिप्पणी लिखिए।

Write short notes on methods of searching an element in an array.

Searching Methods in an Array

1. Linear Search (Sequential Search): In this method, each element of the array is compared with the target element one by one from the beginning until a match is found or the end of the array is reached. It works on both sorted and unsorted arrays. Time complexity: O(n) in worst case.

2. Binary Search: This method works only on sorted arrays. It repeatedly divides the search interval in half. If the target value is less than the middle element, search in the left half; otherwise, search in the right half. Time complexity: O(log n).

3. Interpolation Search: An improved variant of binary search for uniformly distributed sorted arrays. It estimates the position of the target using a formula based on the values at the ends of the array. Time complexity: O(log log n) on average.

4. Hashing: Uses a hash function to map keys to indices in a hash table, allowing near O(1) average time search. Requires extra memory for the hash table.


अथवा / OR

व्यूह में से अवयवों को छांटने की विधियों पर टिप्पणी लिखिए।

Write short notes on methods of sorting elements in an array.

Sorting Methods in an Array

1. Bubble Sort: Repeatedly steps through the array, compares adjacent elements, and swaps them if they are in the wrong order. The largest element "bubbles" to its correct position in each pass. Time complexity: O(n²).

2. Selection Sort: Divides the array into sorted and unsorted parts. In each pass, it finds the minimum element from the unsorted part and swaps it with the first element of the unsorted part. Time complexity: O(n²).

3. Insertion Sort: Builds the final sorted array one element at a time by repeatedly inserting the next element into its correct position among the previously sorted elements. Efficient for small or nearly sorted arrays. Time complexity: O(n²) worst case, O(n) best case.

4. Quick Sort: A divide-and-conquer algorithm that selects a pivot element, partitions the array around the pivot (elements smaller on left, larger on right), and recursively sorts the subarrays. Average time complexity: O(n log n).

5. Merge Sort: A divide-and-conquer algorithm that divides the array into two halves, recursively sorts them, and then merges the sorted halves. Time complexity: O(n log n) in all cases. Requires extra space for merging.

6. Heap Sort: Builds a max-heap from the array, then repeatedly extracts the maximum element (root) and places it at the end of the array, reducing the heap size. Time complexity: O(n log n).