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

-SS-03-2013 from the 2013 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 2013
Subject -SS-03-2013
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 2013, and subject -SS-03-2013 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.

How to practise with this question paper

Stage one: read the -SS-03-2013 question paper from 2013 without a timer and highlight command words — explain, prove, calculate, discuss. Stage two: attempt selected questions closed-book. Stage three: compare with solutions or teacher feedback.

Previous Year Papers work best when you log mistakes by topic, not only by question number. That log becomes your revision index before pre-boards.

RBSE Class 12th 2013 -SS-03-2013

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

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

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

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

कम्प्यूटर विज्ञान
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.
  5. प्रश्न पत्र के हिन्दी व अंग्रेजी रूपान्तर में किसी प्रकार की त्रुटि / अन्तर / विरोधाभास होने पर हिन्दी भाषा के प्रश्न को सही मानें।
    If there is any error / difference / contradiction in Hindi & English versions of the question paper, the question of Hindi version should be treated valid.

No. of Questions — 30    SS—03—Compu. Sc. (Opt.)

No. of Printed Pages — 7


SS—03—Compu.Sc. (Opt.) [Ss-503] [ Turn over

खण्ड - अ / Part - A

  1. यूनिवर्सल गेट के प्रकार लिखिए।
    Write the types of Universal gate.

    यूनिवर्सल गेट दो प्रकार के होते हैं:

    1. NAND गेट – इसका उपयोग AND, OR, NOT, NOR, XOR, XNOR सभी गेट बनाने में किया जा सकता है।
    2. NOR गेट – इसका उपयोग भी AND, OR, NOT, NAND, XOR, XNOR सभी गेट बनाने में किया जा सकता है।
  2. डाटाबेस के तीन अनुप्रयोग लिखिए।
    Write three applications of Database.

    डाटाबेस के तीन प्रमुख अनुप्रयोग:

    1. बैंकिंग प्रणाली – ग्राहक खातों, लेन-देन और बैलेंस को संग्रहीत करने के लिए।
    2. शिक्षा संस्थान – छात्रों की जानकारी, परिणाम और उपस्थिति रिकॉर्ड करने के लिए।
    3. ई-कॉमर्स वेबसाइट – उत्पादों, ऑर्डर और ग्राहक डेटा को प्रबंधित करने के लिए।
  3. एसक्यूएल क्या है ? समझाइए।
    What is SQL ? Explain.

    SQL का पूरा नाम Structured Query Language (संरचित क्वेरी भाषा) है। यह एक मानक डेटाबेस भाषा है जिसका उपयोग रिलेशनल डेटाबेस में डेटा को बनाने, पढ़ने, अपडेट करने और हटाने (CRUD ऑपरेशन) के लिए किया जाता है। SQL के मुख्य भाग हैं: DDL (Data Definition Language), DML (Data Manipulation Language), DCL (Data Control Language) और TCL (Transaction Control Language)।

  4. फीफ़ो क्या है ?
    What is FIFO ?

    FIFO का पूरा नाम First In First Out (पहले आने वाला पहले जाने वाला) है। यह एक डेटा संरचना (क्यू) का सिद्धांत है जिसमें सबसे पहले जो तत्व डाला जाता है, वही सबसे पहले निकाला जाता है। उदाहरण: प्रिंटर स्पूलिंग, ऑपरेटिंग सिस्टम में प्रोसेस शेड्यूलिंग।

हाइब्रिड इन्हेरीटेंस को समझाइए।

Explain Hybrid Inheritance.

हाइब्रिड इन्हेरीटेंस (Hybrid Inheritance): यह इन्हेरीटेंस का एक संयोजन है जिसमें एक से अधिक प्रकार की इन्हेरीटेंस (जैसे सिंगल, मल्टीपल, मल्टीलेवल, हाइरार्किकल) का मिश्रण होता है। इसे वर्चुअल इन्हेरीटेंस के माध्यम से डायमंड प्रॉब्लम से बचा जाता है।

उदाहरण: क्लास A से B और C इन्हेरिट करते हैं, और D, B और C दोनों से इन्हेरिट करता है।

एसाइनमेंट आपरेटर के प्रयोग लिखिए।

Write the use of Assignment Operator.

एसाइनमेंट आपरेटर (=) के प्रयोग:

  1. किसी वेरिएबल में मान निर्दिष्ट (assign) करने के लिए।
  2. एक वेरिएबल के मान को दूसरे वेरिएबल में कॉपी करने के लिए।
  3. एक्सप्रेशन के परिणाम को वेरिएबल में स्टोर करने के लिए।

डेस्ट्रक्टर के दो उपयोग लिखिए।

Write two uses of Destructor.

डेस्ट्रक्टर के दो उपयोग:

  1. ऑब्जेक्ट के नष्ट होने पर डायनामिक रूप से आवंटित मेमोरी को मुक्त (free) करना।
  2. फाइल या डेटाबेस कनेक्शन जैसे संसाधनों को बंद करना और साफ-सफाई (cleanup) करना।

इन्टरस्पेस प्रोटोटाइप के भाग बताइए।

Mention the parts of Interspace prototype.

इन्टरस्पेस प्रोटोटाइप के भाग:

  1. यूज़र इंटरफ़ेस (User Interface): उपयोगकर्ता और सिस्टम के बीच संवाद का माध्यम।
  2. डेटा मैनेजमेंट (Data Management): डेटा को स्टोर, रिट्रीव और प्रोसेस करने का भाग।
  3. कम्युनिकेशन (Communication): विभिन्न मॉड्यूल या सिस्टम के बीच डेटा आदान-प्रदान।

वेब प्रोटोकॉल्स की मुख्य भूमिका क्या है ?

What is the major role of web protocols ?

वेब प्रोटोकॉल्स की मुख्य भूमिका: यह इंटरनेट पर डेटा संचार के लिए नियम और मानक निर्धारित करते हैं, जिससे विभिन्न उपकरण और सर्वर एक-दूसरे से सही ढंग से जुड़ सकें और डेटा का आदान-प्रदान कर सकें। उदाहरण: HTTP, FTP, TCP/IP।

ओपन सोर्स सॉफ्टवेयर स्वतंत्र सॉफ्टवेयर क्यों है ?

Why is Open Source Software a free software ?

ओपन सोर्स सॉफ्टवेयर (OSS) स्वतंत्र सॉफ्टवेयर इसलिए है क्योंकि इसका सोर्स कोड सार्वजनिक रूप से उपलब्ध होता है, और उपयोगकर्ता इसे बिना किसी लाइसेंस शुल्क के उपयोग, संशोधित और वितरित कर सकते हैं। यह स्वतंत्रता (freedom) प्रदान करता है, हालांकि "फ्री" का अर्थ मूल्य नहीं, बल्कि स्वतंत्रता है।

OSS तथा FOSS में क्या अंतर है ?

What is the difference between OSS and FOSS ?

OSS (Open Source Software) और FOSS (Free and Open Source Software) में अंतर:

  • OSS: केवल सोर्स कोड की उपलब्धता और संशोधन की अनुमति पर ध्यान केंद्रित करता है।
  • FOSS: इसमें OSS के सभी गुण होते हैं, साथ ही यह उपयोगकर्ता को सॉफ्टवेयर को चलाने, कॉपी करने, वितरित करने और अध्ययन करने की पूर्ण स्वतंत्रता (free software philosophy) पर जोर देता है।

URL के उदाहरण दीजिए।

Give examples of URL.

URL (Uniform Resource Locator) के उदाहरण:

  1. https://www.example.com
  2. https://en.wikipedia.org/wiki/Computer_science
  3. ftp://files.example.com/document.pdf
  4. https://www.google.com/search?q=RBSE+board

3. निम्न प्रोग्राम के खंड का आउटपुट ज्ञात करें :

Find output of the section of the following programme :

int a = 2, b = 5, c;
c = a < b;
cout << c;

Output: 1

Explanation: The expression a < b evaluates to true (since 2 is less than 5), which in C++ is represented as integer 1. This value is assigned to variable c and then printed.


खण्ड - ब
Part - B

4. NAND गेट को सत्य सारणी से समझाइए।

Explain NAND gate with Truth Table.

NAND gate is a universal logic gate. It is the combination of AND gate followed by a NOT gate. The output of NAND gate is LOW (0) only when all inputs are HIGH (1); otherwise, the output is HIGH (1).

Truth Table for 2-input NAND gate:

Input A Input B Output Y = (A·B)'
0 0 1
0 1 1
1 0 1
1 1 0

5. वेब सर्वर के चयन के मुख्य आधार क्या हैं ?

What are the main bases of selection of web server ?

The main bases for selecting a web server are:

  • Performance: Speed and ability to handle concurrent requests.
  • Security: Built-in security features and support for SSL/TLS.
  • Scalability: Ability to grow with increasing traffic.
  • Compatibility: Support for required programming languages (PHP, Python, etc.) and databases.
  • Cost: Licensing fees (open-source vs proprietary).
  • Ease of Configuration: User-friendly administration tools.
  • Support and Community: Availability of documentation and technical support.

6. डाटाबेस मैनेजमेंट सिस्टम के लाभ बताइए।

Write the advantages of Database Management System.

Advantages of DBMS:

  • Data Redundancy Control: Minimizes duplicate data.
  • Data Consistency: Ensures accuracy and uniformity across the database.
  • Data Security: Provides access control and user authentication.
  • Data Integrity: Maintains validity and constraints of data.
  • Concurrent Access: Multiple users can access data simultaneously without conflicts.
  • Backup and Recovery: Automated backup and restoration in case of failure.
  • Data Independence: Changes in data structure do not affect application programs.

7. MYSQL द्वारा उपयोग किये जाने वाले Indexes के प्रकार लिखिए।

Write the types of Indexes used by MYSQL.

MySQL supports the following types of indexes:

  • Primary Key Index: Unique index for primary key columns.
  • Unique Index: Ensures all values in a column are unique.
  • Full-Text Index: Used for full-text searches on text columns.
  • Spatial Index: For spatial data types (e.g., GIS).
  • Index (B-Tree): Default index type for general use.
  • Hash Index: Used in MEMORY storage engine for equality comparisons.

8. व्यूह में सुरक्षित मानों में से किसी मुख्य मान को खोजने की विधि संक्षेप में समझाइए।

Explain in brief the method of searching for any main value out of saved values in an array.

Linear Search: Sequentially check each element of the array until the desired value is found or the end is reached. Time complexity: O(n).

Binary Search: Works only on sorted arrays. Compare the target value with the middle element; if equal, search is successful. If target is smaller, search the left half; if larger, search the right half. Repeat until found or subarray becomes empty. Time complexity: O(log n).

For unsorted arrays, linear search is used. For sorted arrays, binary search is more efficient.

20. Explain 2D Array with a table.

A two-dimensional (2D) array is an array of arrays. It stores data in a tabular form (rows and columns). It can be visualized as a table.

Row\ColumnCol 0Col 1Col 2
Row 0102030
Row 1405060

In C++, a 2D array is declared as: int arr[2][3];

21. Print in one-dimension array for numbers from 1 to 10.

#include <iostream>
using namespace std;
int main() {
    int arr[10];
    for(int i=0; i<10; i++) {
        arr[i] = i+1;
    }
    cout << "Array elements: ";
    for(int i=0; i<10; i++) {
        cout << arr[i] << " ";
    }
    return 0;
}

Output: Array elements: 1 2 3 4 5 6 7 8 9 10

22. Explain Reusability.

Reusability is a key concept in Object-Oriented Programming (OOP). It means using existing code (classes, functions, modules) to build new software without rewriting it from scratch. In C++, reusability is achieved through:

  • Inheritance: A derived class inherits properties and methods from a base class.
  • Composition: Using objects of existing classes as members of a new class.
  • Function/Class templates: Writing generic code that works with different data types.

Benefits include reduced development time, fewer errors, and easier maintenance.

23. What is the working method of arithmetic operator?

Arithmetic operators perform mathematical operations on numeric operands. The working method:

  • Binary operators (+, -, *, /, %): Take two operands and return a result. Example: a + b adds a and b.
  • Unary operators (+, -): Take one operand. Example: -a negates a.
  • Increment/Decrement (++, --): Increase or decrease value by 1.

Operators follow precedence and associativity rules. For example, multiplication (*) has higher precedence than addition (+).

24. Write the concepts of inclusion of data in a file.

To include (append) data to an existing file in C++, the following concepts are used:

  • File stream classes: ofstream for output, ifstream for input, fstream for both.
  • Opening mode: Use ios::app (append mode) to add data at the end of the file without overwriting existing content.
  • Syntax: ofstream outfile("filename.txt", ios::app);
  • Writing data: Use the insertion operator << to write data to the file.
  • Closing file: Use close() method to release resources.
ofstream fout;
fout.open("data.txt", ios::app);
fout << "New data line" << endl;
fout.close();

25. What is Conditional (Ternary) Operator?

The conditional (ternary) operator is a shorthand for an if-else statement. It takes three operands and returns a value based on a condition.

Syntax: condition ? expression1 : expression2

Working: If the condition is true, expression1 is evaluated and returned; otherwise, expression2 is evaluated and returned.

Example: int max = (a > b) ? a : b; assigns the larger of a and b to max.

Part - C

26. Explain the theory of Duality.

Duality principle in Boolean algebra states that every algebraic expression remains valid if we interchange the operators AND (·) with OR (+) and replace 0 with 1 and 1 with 0.

Key points:

  • Dual of an expression is obtained by swapping + with · and 0 with 1.
  • If an expression is valid, its dual is also valid.
  • Example: Dual of A + 0 = A is A · 1 = A.
  • Duality helps simplify Boolean expressions and design logic circuits.

27. Write any four rules to change algebraic expression into C++ expression.

  1. Multiplication: Use * instead of implied multiplication. Example: ab becomes a * b.
  2. Division: Use / for division. Example: a ÷ b becomes a / b.
  3. Exponentiation: Use pow() function from cmath library. Example: becomes pow(x, 2).
  4. Parentheses: Use parentheses () to specify order of operations clearly. Example: a + b × c becomes a + (b * c).

27. चयन विधि को प्रोग्राम सहित समझाइए।

Explain the selection method with a programme.

चयन विधि (Selection Sort): यह एक सरल सॉर्टिंग एल्गोरिथ्म है जो सूची में से सबसे छोटा तत्व ढूंढकर उसे पहले स्थान पर रखता है, फिर दूसरा सबसे छोटा तत्व दूसरे स्थान पर, और इसी प्रकार आगे बढ़ता है।

प्रोग्राम (C++ में):

#include <iostream>
using namespace std;

void selectionSort(int arr[], int n) {
    for (int i = 0; i < n-1; i++) {
        int min_idx = i;
        for (int j = i+1; j < n; j++) {
            if (arr[j] < arr[min_idx])
                min_idx = j;
        }
        // स्वैप करें
        int temp = arr[min_idx];
        arr[min_idx] = arr[i];
        arr[i] = temp;
    }
}

int main() {
    int arr[] = {64, 25, 12, 22, 11};
    int n = sizeof(arr)/sizeof(arr[0]);
    selectionSort(arr, n);
    cout << "Sorted array: ";
    for (int i = 0; i < n; i++)
        cout << arr[i] << " ";
    return 0;
}

आउटपुट: 11 12 22 25 64

28. Linux की चार डायरेक्टरी कमाण्ड्स उदाहरण सहित समझाइए।

Explain four Directory Commands of Linux with an example.

  1. pwd (Print Working Directory): वर्तमान कार्यशील डायरेक्टरी दिखाता है।
    उदाहरण: $ pwd/home/user
  2. ls (List): डायरेक्टरी की सामग्री सूचीबद्ध करता है।
    उदाहरण: $ ls -l → फाइलों की विस्तृत सूची
  3. cd (Change Directory): डायरेक्टरी बदलने के लिए।
    उदाहरण: $ cd Documents → Documents फोल्डर में जाएं
  4. mkdir (Make Directory): नई डायरेक्टरी बनाता है।
    उदाहरण: $ mkdir myfolder → myfolder नामक डायरेक्टरी बनाएं

अथवा / OR

PHP (वाक्य विन्यास) सिन्टेक्स को प्रोग्राम सहित समझाइए।

Explain PHP (Syntax) with a programme.

PHP सिन्टेक्स: PHP कोड <?php ... ?> टैग के अंदर लिखा जाता है। प्रत्येक स्टेटमेंट सेमीकोलन (;) से समाप्त होता है।

प्रोग्राम:

<?php
$name = "Rajasthan Board";
echo "Welcome to " . $name . "!";
?>

आउटपुट: Welcome to Rajasthan Board!

29. C++ भाषा के विभिन्न एसेस मोडिफायर का वर्णन कीजिए।

Describe the different access modifiers in C++ language.

C++ में तीन प्रकार के एक्सेस मोडिफायर होते हैं:

  1. public: क्लास के बाहर से भी सदस्यों तक पहुंच संभव है।
  2. private: केवल उसी क्लास के सदस्य फंक्शन ही इन तक पहुंच सकते हैं।
  3. protected: private के समान, लेकिन व्युत्पन्न क्लास (derived class) भी इन तक पहुंच सकती है।

उदाहरण:

class Example {
public:
    int x;      // कहीं से भी पहुंच योग्य
private:
    int y;      // केवल इसी क्लास में
protected:
    int z;      // इस क्लास और व्युत्पन्न क्लास में
};

अथवा / OR

डायनेमिक कन्स्ट्रक्टर डिफाल्ट आग्यूमेन्ट लेते हुए क्लास लिखिए।

Write a class in which Dynamic Constructor takes default argument.

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

प्रोग्राम:

#include <iostream>
using namespace std;

class Student {
    int *marks;
public:
    // डायनेमिक कन्स्ट्रक्टर डिफाल्ट आर्गुमेंट के साथ
    Student(int m = 0) {
        marks = new int;
        *marks = m;
    }
    void display() {
        cout << "Marks: " << *marks << endl;
    }
    ~Student() {
        delete marks;  // मेमोरी मुक्त करें
    }
};

int main() {
    Student s1;        // डिफाल्ट आर्गुमेंट 0
    Student s2(85);    // आर्गुमेंट 85
    s1.display();
    s2.display();
    return 0;
}

आउटपुट:
Marks: 0
Marks: 85

30. ओवरलोडिंग आपरेटर के नियमों का वर्णन कीजिए।

Describe the rules of overloading operator.

Rules for Operator Overloading in C++:

  1. Only existing operators can be overloaded; new operators cannot be created.
  2. The overloaded operator must have at least one operand of a user-defined type (class or structure).
  3. We cannot change the basic meaning of an operator (e.g., + cannot be used for subtraction).
  4. Operator overloading cannot change the precedence and associativity of operators.
  5. Overloaded operators cannot have default arguments.
  6. Some operators cannot be overloaded: :: (scope resolution), . (member access), .* (pointer-to-member), ?: (ternary), sizeof, and typeid.
  7. When overloading binary operators using member functions, the left operand must be an object of the class.
  8. Unary operators overloaded as member functions take no explicit arguments; binary operators take one argument.
  9. Friend functions can be used for overloading when the left operand is not a class object (e.g., cout << obj).

Example: Overloading + for a Complex class adds real and imaginary parts.

अथवा / OR

बाइनरी फाइल आपरेशन को विस्तार से समझाइए।

Explain Binary file operation in detail.

Binary File Operations in C++:

Binary files store data in the same format as it is stored in memory, making them efficient for reading and writing complex data structures. Key operations include:

  1. Opening a Binary File: Use fstream or ifstream/ofstream with ios::binary flag. Example: fstream file("data.bin", ios::in | ios::out | ios::binary);
  2. Writing to Binary File: Use write() function. Syntax: file.write(reinterpret_cast<const char*>(&object), sizeof(object));
  3. Reading from Binary File: Use read() function. Syntax: file.read(reinterpret_cast<char*>(&object), sizeof(object));
  4. File Pointers: Use seekg() (for input) and seekp() (for output) to move to specific positions. tellg() and tellp() return current positions.
  5. Closing File: Use file.close(); to release resources.

Example: Writing and reading a structure:

struct Student {
    int roll;
    char name[50];
    float marks;
};

// Writing
Student s = {1, "Ram", 85.5};
ofstream out("student.bin", ios::binary);
out.write(reinterpret_cast<char*>(&s), sizeof(s));
out.close();

// Reading
Student s2;
ifstream in("student.bin", ios::binary);
in.read(reinterpret_cast<char*>(&s2), sizeof(s2));
in.close();
        

Advantages: Faster I/O, no formatting overhead, preserves exact data representation.