RBSE Class 12th 2026 COMPUTER-SCIENCE-SS-03 Previous Year Papers
COMPUTER-SCIENCE-SS-03 from the 2026 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 | 2026 |
| Subject | COMPUTER-SCIENCE-SS-03 |
| 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 2026, and subject COMPUTER-SCIENCE-SS-03 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 2026 papers into insight
One COMPUTER-SCIENCE-SS-03 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 2026 COMPUTER-SCIENCE-SS-03
Scroll through the Previous Year Papers pages for COMPUTER-SCIENCE-SS-03 (2026).
Rajasthan Board Class 12th COMPUTER-SCIENCE-SS-03 2026 solved Previous Year Question Papers
उच्च माध्यमिक परीक्षा, 2026
SENIOR SECONDARY EXAMINATION, 2026
कम्प्यूटर विज्ञान
COMPUTER SCIENCE
ऐच्छिक (Optional)
समय : 3 घण्टे [5 मिनट | पूर्णाक : 56
परीक्षार्थियों के लिए सामान्य निर्देश :
GENERAL INSTRUCTIONS TO THE EXAMINEES :
- परीक्षार्थी सर्वप्रथम अपने प्रश्न-पत्र पर नामांक अनिवार्यतः लिखें।
Candidate must write first his/her Roll No. on the question paper compulsorily. - सभी प्रश्न करने अनिवार्य हैं।
All the questions are compulsory. - प्रत्येक प्रश्न का उत्तर दी गई उत्तर-पुस्तिका में ही लिखें।
Write the answer to each question in the given answer-book only. - जिन प्रश्नों में आन्तरिक खण्ड हैं, सभी के उत्तर एक साथ ही लिखें।
For questions having more than one part, the answers to those parts are to be written together in continuity. - प्रश्न-पत्र के हिन्दी एवं अंग्रेजी रूपान्तर में किसी प्रकार की त्रुटि/अन्तर/विरोधाभास होने पर हिन्दी भाषा के प्रश्न को ही सही मानें।
If there is any error/difference/contradiction in Hindi and English version of the question paper, the question of Hindi version should be treated valid. - प्रश्न का उत्तर लिखने से पूर्व प्रश्न का क्रमांक अवश्य लिखें।
Write down the serial number of the question before attempting it.
[Turn Over
S-03-Comp.Sci.(Opt.)
खण्ड - अ / SECTION—A
1. बहुविकल्पी प्रश्न : [8×1=8]
Multiple Choice Questions:
i) जब स्टैक खाली हो और हम कोई तत्व हटाने का प्रयास करें, तो इसे कहते हैं।
When the stack is empty and we try to delete an element, it is called:
- अ) Stack deletion
- ब) Stack overflow
- स) Stack underflow
- द) None of these
Explanation: Stack underflow occurs when an attempt is made to pop an element from an empty stack.
ii) एक पायथन ऑब्जेक्ट है जो एक त्रुटि का प्रतिनिधित्व करता है।
________ is a Python object that represents an error.
- अ) Syntax
- ब) File
- स) Stack
- द) Exception
Explanation: In Python, an exception is an object that represents an error or unexpected event during program execution.
iii) 'फाइल में मानव पठनीय वर्ण होते हैं, जिन्हें किसी भी टेक्स्ट संपादक द्वारा खोला जा सकता है।
________ file consists of human readable characters, which can be opened by any text editor.
- अ) Binary file
- ब) Text file
- स) Audio file
- द) None of these
Explanation: A text file contains human-readable characters (ASCII/Unicode) and can be opened with any text editor, unlike binary or audio files.
Multiple Choice Questions (Page 4 of 11)
iv) पायथन कोड में, जब एक डिवीजन ऑपरेशन में हर (denominator) शून्य होता है तब कौन सा अपवाद उठाया जाता है?
In Python code, when the denominator in a division operation is zero then which exception is raised?
- A) Value error / मान त्रुटि
- B) Import error / आयात त्रुटि
- C) Zero division error / शून्य विभाजन त्रुटि
- D) Name error / नाम त्रुटि
Explanation: In Python, dividing any number by zero raises a ZeroDivisionError because division by zero is mathematically undefined.
v) फ़ाइल को लिखने के मोड में खोलता है:
Opens the file in write mode:
- A) <r>
- B) <rb>
- C) <a>
- D) <w>
Explanation: In Python file handling, the mode 'w' opens a file for writing. If the file exists, it truncates it; otherwise, it creates a new file.
vi) लास्ट-इन-फर्स्ट-आउट (LIFO) सिद्धांत का अनुसरण करता है:
Follows the Last-In-First-Out (LIFO) principle:
- A) Queue / क्यू
- B) File / फाइल
- C) Array / अरे
- D) Stack / स्टैक
Explanation: A stack is a linear data structure that follows the LIFO (Last-In-First-Out) principle, where the last element added is the first one to be removed.
vii) तत्वों का विलोपन पंक्ति के ______ से किया जाता है।
Deletion of elements is performed from ______ of the queue.
- A) Front / फ्रंट
- B) Bottom / बॉटम
- C) Top / टॉप
- D) All of the above / उपरोक्त सभी
Explanation: In a queue data structure, deletion (dequeue) is always performed from the front end, following the FIFO (First-In-First-Out) principle.
viii) निम्नलिखित में से कौन-सी छँटाई (सॉर्टिंग) तकनीक है ?
Which of the following is sorting technique ?
- A) Bubble sort
- B) Selection sort
- C) Insertion sort
- D) All of the above
Explanation: Bubble sort, Selection sort, and Insertion sort are all basic sorting techniques. Hence, all options are correct.
ix) एक डेटाबेस का एक संग्रह है | हर
A database is a collection of ________
- A) Line
- B) Array
- C) Table
- D) Error
Explanation: A database is organized as a collection of tables, where each table stores related data in rows and columns.
x) अधिकतम और न्यूनतम मूल्यों के बीच का अंतर है |
________ is the difference between the maximum and minimum values.
- A) Range
- B) Mean
- C) Median
- D) Mode
Explanation: Range is defined as the difference between the maximum and minimum values in a dataset.
xi) SQL फंक्शन MOD (21, 2) का आउटपुट क्या है ?
What is the output of SQL function MOD (21, 2)?
- A) 0
- B) 0.5
- C) 1
- D) 2
Explanation: MOD(21, 2) returns the remainder when 21 is divided by 2. Since 21 ÷ 2 = 10 remainder 1, the output is 1. (Note: The question text shows MOD (2], 2) which appears to be a typo; the intended function is MOD(21, 2).)
xii) का उपयोग नेटवर्क में प्रत्येक नोड को विशिष्ट रूप से पहचानने के लिए किया जा सकता है।
Can be used to uniquely identify each node in a network.
- A) Virus
- B) Coaxial cable
- C) Optical fibre
- D) IP address
Explanation: IP address (Internet Protocol address) is a unique numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication. It identifies and locates the host in the network.
xiii) एक प्रोटोकॉल है, जिसका उपयोग ईमेल सेवाओं के लिए किया जाता है।
_ is a protocol used for e-mail services.
- A) HTTP
- B) SMTP
- C) FTP
- D) PPP
Explanation: SMTP (Simple Mail Transfer Protocol) is the standard protocol used for sending and receiving email messages between servers. HTTP is for web pages, FTP for file transfer, and PPP for point-to-point connections.
xiv) कम्प्यूटर वायरस एक है।
Computer virus is a
- A) Software
- B) Hardware
- C) Wire
- D) All of the above
Explanation: A computer virus is a type of malicious software (malware) that replicates itself by modifying other programs and inserting its own code. It is not a hardware component or a wire.
xv) विशेषता के संख्यात्मक मानों का औसत है।
is the average of numeric values of an attribute.
- A) Median
- B) Mean
- C) Mode
- D) Range
Explanation: Mean is the arithmetic average of a set of numeric values, calculated by summing all values and dividing by the count. Median is the middle value, Mode is the most frequent value, and Range is the difference between highest and lowest values.
प्रश्न xvi (Question xvi)
फंक्शन, तारीख से वर्ष लौटाता है।
- अ) DAY (date)
- ब) DATE()
- क) NOW()
- हू) YEAR (date)
स्पष्टीकरण: YEAR(date) फंक्शन किसी तारीख से वर्ष (जैसे 2026) लौटाता है। DAY(date) दिन लौटाता है, DATE() वर्तमान तारीख लौटाता है, और NOW() वर्तमान तारीख और समय लौटाता है।
प्रश्न xvii (Question xvii)
RDBMS में ‘R’ का पूरा नाम क्या है?
- अ) रिलेशनल
- ब) रेंज
- क) रियर
- घ) रनटाइम
स्पष्टीकरण: RDBMS का पूरा नाम Relational Database Management System (रिलेशनल डेटाबेस मैनेजमेंट सिस्टम) है। इसमें 'R' का अर्थ Relational (रिलेशनल) है, जो तालिकाओं के बीच संबंधों को दर्शाता है।
प्रश्न xviii (Question xviii)
निम्नलिखित में से कौन-सी, दी गई सूची से एक तत्व खोजने की विधि है?
- अ) रैखिक खोज
- ब) द्विआधारी खोज
- क) हैशिंग द्वारा खोज
- द) उपरोक्त सभी
स्पष्टीकरण: रैखिक खोज (Linear Search), द्विआधारी खोज (Binary Search), और हैशिंग द्वारा खोज (Search by Hashing) तीनों ही किसी सूची में से तत्व खोजने की विधियाँ हैं। इसलिए सही उत्तर "उपरोक्त सभी" है।
2. रिक्त स्थानों की पूर्ति कीजिए : (Fill in the blanks)
-
पायथन कोड के सिंटैक्स में त्रुटि होने पर ______ अपवाद को उठाया जाता है।
exception is raised when there is an error in the syntax of the Python code.
उत्तर: SyntaxErrorजब पायथन कोड में सिंटैक्स की गलती होती है, तो SyntaxError अपवाद उठाया जाता है।
-
HTTPS में 'S' का मतलब होता है।
Meaning of ‘S’ in HTTPS is
उत्तर: SecureHTTPS का पूरा नाम HyperText Transfer Protocol Secure है, जहाँ 'S' Secure को दर्शाता है।
-
बैंडविड्थ की इकाई होती है।
The unit of bandwidth is
उत्तर: bps (bits per second)बैंडविड्थ को प्रति सेकंड बिट्स (bps) में मापा जाता है।
-
______ ऑपरेशन का उपयोग एक समय में दो तालिकाओं की चयनित पंक्तियों को संयोजित करने के लिए किया जाता है।
______ operation is used to combine the selected rows of two tables at a time.
उत्तर: JOINSQL में JOIN ऑपरेशन दो तालिकाओं की पंक्तियों को एक सामान्य कॉलम के आधार पर संयोजित करता है।
-
______ ऑपरेशन का उपयोग स्टैक के सबसे ऊपरी तत्व को हटाने के लिए किया जाता है।
______ operation is used to remove the top-most element of the stack.
उत्तर: POPस्टैक में POP ऑपरेशन शीर्ष तत्व को हटाता है और उसे लौटाता है।
-
WAN का पूरा नाम होता है।
Full form of WAN is
उत्तर: Wide Area NetworkWAN एक विस्तृत क्षेत्र नेटवर्क है जो बड़े भौगोलिक क्षेत्रों को जोड़ता है।
-
SQL तालिका बनाने के लिए ______ स्टेटमेंट का उपयोग किया जाता है।
______ statement is used to create table in SQL.
उत्तर: CREATE TABLESQL में नई तालिका बनाने के लिए CREATE TABLE स्टेटमेंट का उपयोग किया जाता है।
-
______ फंक्शन का उपयोग, पायथन में फाइल खोलने के लिए किया जाता है।
______ function is used in Python to open a file.
उत्तर: open()पायथन में फाइल को खोलने के लिए open() फंक्शन का उपयोग किया जाता है।
-
______ नोटेशन में ऑपरेटरों को ऑपरेंड से पहले रखा जाता है।
In ______ notation, operators are placed before the operands.
उत्तर: PrefixPrefix नोटेशन (जैसे +AB) में ऑपरेटर ऑपरेंड से पहले आता है।
-
डेटा जो व्यवस्थित है और एक अच्छी तरह से परिभाषित प्रारूप में दर्ज किया जा सकता है, उसे ______ डेटा कहा जाता है।
Data which is organised and can be recorded in a well defined format, is called ______ data.
उत्तर: Structuredव्यवस्थित और निश्चित प्रारूप वाले डेटा को संरचित डेटा (Structured Data) कहते हैं।
अति लघूत्तरात्मक प्रश्न / Very Short Answer Type Questions
-
विदेशी कुंजी क्या होती है? / What is foreign key?
विदेशी कुंजी एक तालिका में वह कॉलम या कॉलमों का समूह है जो किसी अन्य तालिका की प्राथमिक कुंजी को संदर्भित करता है। यह दो तालिकाओं के बीच संबंध स्थापित करने और डेटा अखंडता बनाए रखने में मदद करता है।
A foreign key is a column or set of columns in a table that refers to the primary key of another table. It helps establish a relationship between two tables and maintain data integrity.
-
अपवाद क्या है? / What is exception?
अपवाद (Exception) एक ऐसी असामान्य स्थिति या त्रुटि है जो प्रोग्राम के निष्पादन के दौरान उत्पन्न होती है और सामान्य प्रवाह को बाधित करती है। इसे प्रोग्राम में try-catch ब्लॉक का उपयोग करके संभाला जाता है।
An exception is an abnormal condition or error that occurs during program execution and disrupts the normal flow. It is handled using try-catch blocks in programming.
-
फाइल में, रीडलाइन() विधि का उपयोग लिखिए। / In file, write use of readline() method.
readline() विधि का उपयोग फाइल से एक पंक्ति पढ़ने के लिए किया जाता है। यह फाइल के वर्तमान स्थान से अगली पंक्ति को पढ़ता है और एक स्ट्रिंग के रूप में लौटाता है। यदि फाइल का अंत आ जाता है, तो यह एक खाली स्ट्रिंग लौटाता है।
The readline() method is used to read a single line from a file. It reads the next line from the current position in the file and returns it as a string. If the end of the file is reached, it returns an empty string.
-
स्टैक को परिभाषित कीजिए। / Define stack.
स्टैक एक रैखिक डेटा संरचना है जो LIFO (लास्ट-इन-फर्स्ट-आउट) सिद्धांत का पालन करती है। इसमें तत्वों का सम्मिलन और विलोपन केवल एक सिरे (टॉप) पर होता है।
A stack is a linear data structure that follows the LIFO (Last-In-First-Out) principle. Insertion and deletion of elements occur only at one end, called the top.
-
पंक्ति (Queue) द्वारा पालन किया जाने वाला फर्स्ट-इन-फर्स्ट-आउट सिद्धांत क्या है? / What is First-In-First-Out principle followed by queue?
FIFO (फर्स्ट-इन-फर्स्ट-आउट) सिद्धांत का अर्थ है कि जो तत्व सबसे पहले पंक्ति में जोड़ा जाता है, वही सबसे पहले हटाया जाता है। पंक्ति में, नए तत्व पीछे (rear) से जोड़े जाते हैं और सामने (front) से हटाए जाते हैं।
The FIFO (First-In-First-Out) principle means that the element added first to the queue is the first one to be removed. In a queue, new elements are added at the rear and removed from the front.
-
सॉर्टिंग को परिभाषित कीजिए। / Define sorting.
सॉर्टिंग डेटा को एक विशिष्ट क्रम (आरोही या अवरोही) में व्यवस्थित करने की प्रक्रिया है। यह डेटा को खोजने और प्रबंधित करने में सहायक होती है।
Sorting is the process of arranging data in a specific order (ascending or descending). It helps in searching and managing data efficiently.
-
बहुलक क्या है? / What is mode?
बहुलक (Mode) डेटा के एक समूह में वह मान है जो सबसे अधिक बार आता है। यह केंद्रीय प्रवृत्ति का एक माप है।
Mode is the value that appears most frequently in a data set. It is a measure of central tendency.
-
SQL का उपयोग लिखिए। / Write use of SQL.
SQL (स्ट्रक्चर्ड क्वेरी लैंग्वेज) का उपयोग डेटाबेस में डेटा को प्रबंधित करने, संग्रहीत करने, पुनर्प्राप्त करने, अद्यतन करने और हटाने के लिए किया जाता है। इसका उपयोग डेटाबेस तालिकाओं को बनाने और संशोधित करने में भी किया जाता है।
SQL (Structured Query Language) is used to manage, store, retrieve, update, and delete data in a database. It is also used to create and modify database tables.
-
राउटर क्या होता है? / What is Router?
राउटर एक नेटवर्किंग उपकरण है जो विभिन्न नेटवर्कों के बीच डेटा पैकेट को अग्रेषित करता है। यह डेटा के लिए सबसे अच्छा मार्ग निर्धारित करता है और नेटवर्कों को आपस में जोड़ता है।
A router is a networking device that forwards data packets between different networks. It determines the best path for data and connects networks together.
-
हैकिंग क्या है? / What is Hacking?
हैकिंग कंप्यूटर सिस्टम, नेटवर्क या डेटा तक अनधिकृत पहुंच प्राप्त करने का प्रयास है। यह सुरक्षा कमजोरियों का फायदा उठाकर किया जाता है और इसे नैतिक (एथिकल) या अनैतिक (अनएथिकल) उद्देश्यों के लिए किया जा सकता है।
Hacking is the attempt to gain unauthorized access to computer systems, networks, or data. It exploits security vulnerabilities and can be done for ethical or unethical purposes.
4. इन्फिक्स नोटेशन क्या होता है?
What is infix notation?
इन्फिक्स नोटेशन वह अंकन प्रणाली है जिसमें ऑपरेटर को ऑपरेंड के बीच में लिखा जाता है। उदाहरण के लिए, A + B में '+' ऑपरेटर A और B के बीच में है। यह मानव द्वारा पढ़ने और समझने में सबसे सामान्य रूप है।
Infix notation is a notation system where the operator is placed between the operands. For example, in A + B, the '+' operator is between A and B. It is the most common form for human reading and understanding.
5. 'अपवाद उठाना' क्या है?
What is “Raising exceptions”?
अपवाद उठाना (Raising exceptions) एक प्रोग्रामिंग अवधारणा है जिसमें जब कोई त्रुटि या असामान्य स्थिति होती है, तो प्रोग्राम जानबूझकर एक अपवाद (exception) उत्पन्न करता है। यह प्रोग्राम के सामान्य प्रवाह को बाधित करता है और त्रुटि को संभालने के लिए एक विशेष कोड ब्लॉक (जैसे try-except) में नियंत्रण स्थानांतरित करता है।
Raising exceptions is a programming concept where a program intentionally generates an exception when an error or abnormal condition occurs. It interrupts the normal flow of the program and transfers control to a special code block (like try-except) to handle the error.
6. <> फाइल ओपन मोड का उपयोग लिखिए।
Write the use of <> file open mode.
<> फाइल ओपन मोड का उपयोग फाइल को पढ़ने और लिखने दोनों के लिए किया जाता है, लेकिन यह मोड पुराने संस्करणों में उपयोग होता था। आधुनिक प्रोग्रामिंग में इसके स्थान पर 'r+' या 'w+' मोड का उपयोग किया जाता है। यह मोड फाइल को द्विआधारी (binary) मोड में खोलता है और पढ़ने तथा लिखने दोनों की अनुमति देता है।
The <> file open mode is used for both reading and writing a file, but it was used in older versions. In modern programming, 'r+' or 'w+' modes are used instead. This mode opens the file in binary mode and allows both reading and writing.
7. क्यू और स्टैक में कोई तीन असमानताएँ लिखिए।
Write any three differences between queue and stack.
| क्रमांक | स्टैक (Stack) | क्यू (Queue) |
|---|---|---|
| 1. | LIFO (Last In First Out) सिद्धांत पर काम करता है। | FIFO (First In First Out) सिद्धांत पर काम करता है। |
| 2. | इसमें डालने और निकालने की क्रिया एक ही सिरे (top) पर होती है। | इसमें डालने (rear) और निकालने (front) की क्रिया अलग-अलग सिरों पर होती है। |
| 3. | उपयोग: फंक्शन कॉल, रिकर्सन, अंडू/रीडू ऑपरेशन। | उपयोग: प्रिंटर स्पूलिंग, CPU शेड्यूलिंग, ब्रेडथ-फर्स्ट सर्च। |
8. सेलेक्शन (चयन) सॉर्ट क्या है?
What is selection sort?
सेलेक्शन सॉर्ट एक सरल सॉर्टिंग एल्गोरिदम है जो सूची को दो भागों में विभाजित करता है: सॉर्टेड और अनसॉर्टेड। यह बार-बार अनसॉर्टेड भाग से सबसे छोटा (या सबसे बड़ा) तत्व ढूंढता है और उसे सॉर्टेड भाग के अंत में रखता है। इसकी समय जटिलता O(n²) है।
Selection sort is a simple sorting algorithm that divides the list into two parts: sorted and unsorted. It repeatedly finds the smallest (or largest) element from the unsorted part and places it at the end of the sorted part. Its time complexity is O(n²).
9. द्विआधारी खोज की विशेषताएँ लिखिए।
Write features of binary search.
- द्विआधारी खोज केवल सॉर्टेड डेटा पर काम करती है।
- यह डेटा को बार-बार आधा करके खोजती है, जिससे समय जटिलता O(log n) होती है।
- यह एक विभाजन और जीत (divide and conquer) एल्गोरिदम है।
- इसमें डेटा को रैंडम एक्सेस (जैसे ऐरे) की आवश्यकता होती है।
- यह लीनियर सर्च की तुलना में बड़े डेटा सेट के लिए अधिक कुशल है।
Binary search works only on sorted data. It repeatedly halves the data to search, giving O(log n) time complexity. It is a divide and conquer algorithm and requires random access (like arrays). It is more efficient than linear search for large datasets.
10. असंरचित डेटा को परिभाषित कीजिए।
Define unstructured data.
असंरचित डेटा वह डेटा है जिसका कोई पूर्वनिर्धारित डेटा मॉडल या संगठन नहीं होता। इसे आसानी से पंक्तियों और स्तंभों में व्यवस्थित नहीं किया जा सकता। उदाहरण: टेक्स्ट फाइलें, इमेज, वीडियो, ऑडियो, सोशल मीडिया पोस्ट, ईमेल आदि।
Unstructured data is data that has no predefined data model or organization. It cannot be easily arranged in rows and columns. Examples: text files, images, videos, audio, social media posts, emails, etc.
11. फाइल सिस्टम की सीमाएँ (limitations) लिखिए।
Write limitations of file system.
- डेटा रिडंडेंसी (पुनरावृत्ति) - एक ही डेटा कई फाइलों में दोहराया जा सकता है।
- डेटा असंगति - विभिन्न फाइलों में डेटा के अलग-अलग संस्करण हो सकते हैं।
- डेटा एक्सेस में कठिनाई - विशिष्ट डेटा खोजना मुश्किल होता है।
- डेटा आइसोलेशन - डेटा विभिन्न फाइलों में बिखरा होता है, जिससे एकीकृत दृश्य प्राप्त करना कठिन है।
- एक साथ एक्सेस की समस्या - कई उपयोगकर्ताओं द्वारा एक साथ डेटा संशोधन से समस्याएँ हो सकती हैं।
- सुरक्षा की कमी - फाइल सिस्टम में डेटा सुरक्षा के सीमित उपाय होते हैं।
Limitations include data redundancy, data inconsistency, difficulty in data access, data isolation, concurrency issues, and lack of security measures.
2. SQL किन्हीं भी तीन string फंक्शन के बारे में लिखिए।
Write about any three string functions of SQL.
SQL के तीन महत्वपूर्ण string फंक्शन:
- LENGTH() / LEN() – यह किसी स्ट्रिंग की लंबाई (कैरेक्टर की संख्या) लौटाता है। उदाहरण: SELECT LENGTH('Rajasthan'); → 9
- UPPER() / LOWER() – यह स्ट्रिंग को क्रमशः अपरकेस या लोअरकेस में बदलता है। उदाहरण: SELECT UPPER('computer'); → COMPUTER
- SUBSTRING() / SUBSTR() – यह स्ट्रिंग का एक भाग (सबस्ट्रिंग) निकालता है। उदाहरण: SELECT SUBSTRING('Science', 2, 4); → cien
3. ब्लूटूथ क्या होता है?
What is bluetooth?
ब्लूटूथ एक वायरलेस संचार तकनीक है जो कम दूरी (लगभग 10 मीटर) पर डेटा ट्रांसफर करने के लिए उपयोग होती है। यह 2.4 GHz रेडियो फ्रीक्वेंसी पर काम करता है और मोबाइल, लैपटॉप, हेडफोन आदि उपकरणों को जोड़ने में सहायक है।
खण्ड - स (Long Answer Type Questions)
4. रैखिक खोज का वर्णन कीजिए।
Explain linear search.
रैखिक खोज (Linear Search) एक सरल खोज एल्गोरिथ्म है जो किसी सूची या ऐरे में तत्व को क्रमिक रूप से खोजता है।
चरण:
- सूची के पहले तत्व से शुरू करें।
- प्रत्येक तत्व की तुलना खोजे जा रहे मान (target) से करें।
- यदि मिल जाए, तो उसकी स्थिति (index) लौटाएं।
- यदि अंत तक नहीं मिलता, तो "नहीं मिला" का संकेत दें।
उदाहरण: ऐरे [5, 8, 2, 9, 1] में 9 खोजने पर: 5→8→2→9 (मिल गया, index 3)
समय जटिलता: O(n) (सबसे खराब स्थिति में)
अथवा
पोस्टफिक्स एक्सप्रेशन 782*4/+ के मूल्यांकन की चरण दर चरण प्रक्रिया को दर्शाइए।
Show the step by step process of evaluation of the postfix expression 782*4/+.
पोस्टफिक्स एक्सप्रेशन: 7 8 2 * 4 / +
मूल्यांकन चरण (स्टैक का उपयोग करके):
| चरण | प्रतीक | स्टैक | व्याख्या |
|---|---|---|---|
| 1 | 7 | 7 | 7 को स्टैक में पुश करें |
| 2 | 8 | 7, 8 | 8 को पुश करें |
| 3 | 2 | 7, 8, 2 | 2 को पुश करें |
| 4 | * | 7, 16 | 8 और 2 पॉप करें, 8*2=16, 16 पुश करें |
| 5 | 4 | 7, 16, 4 | 4 को पुश करें |
| 6 | / | 7, 4 | 16 और 4 पॉप करें, 16/4=4, 4 पुश करें |
| 7 | + | 11 | 7 और 4 पॉप करें, 7+4=11, 11 पुश करें |
अंतिम परिणाम: 11
5. वायरस क्या है? कम्प्यूटर को वायरस से बचाने के तरीके लिखिए।
What is virus? Write ways to protect computer from virus.
कम्प्यूटर वायरस एक प्रकार का मैलिशियस सॉफ्टवेयर (मैलवेयर) है जो खुद को अन्य प्रोग्रामों या फाइलों में कॉपी करता है और सिस्टम को नुकसान पहुंचाता है।
वायरस से बचाव के तरीके:
- एंटीवायरस सॉफ्टवेयर इंस्टॉल करें और नियमित रूप से अपडेट करें।
- अज्ञात ईमेल अटैचमेंट या लिंक न खोलें।
- अविश्वसनीय स्रोतों से सॉफ्टवेयर डाउनलोड न करें।
- फायरवॉल का उपयोग करें।
- नियमित रूप से डेटा का बैकअप लें।
- ऑपरेटिंग सिस्टम और सॉफ्टवेयर को अपडेट रखें।
अथवा
इंसर्शन (सम्मिलन) सॉर्ट का वर्णन कीजिए।
Explain insertion sort.
इंसर्शन सॉर्ट एक सरल सॉर्टिंग एल्गोरिथ्म है जो ताश के पत्तों को सॉर्ट करने की तरह काम करता है।
कार्य विधि:
- दूसरे तत्व से शुरू करें और इसे पिछले तत्वों से तुलना करें।
- यदि पिछला तत्व बड़ा है, तो उसे एक स्थान आगे खिसकाएं।
- सही स्थान मिलने पर तत्व को वहां डालें (insert) करें।
- सभी तत्वों के लिए यह प्रक्रिया दोहराएं।
उदाहरण: [5, 2, 9, 1] को सॉर्ट करना:
- चरण 1: 2 को 5 से तुलना → [2, 5, 9, 1]
- चरण 2: 9 सही जगह पर → [2, 5, 9, 1]
- चरण 3: 1 को तुलना करके शुरू में डालें → [1, 2, 5, 9]
समय जटिलता: O(n²) (सबसे खराब स्थिति में)
6. रिलेशनल डेटाबेस में किन्हीं दो कुंजियों का वर्णन कीजिए।
Explain any two keys in relational database.
रिलेशनल डेटाबेस में दो महत्वपूर्ण कुंजियाँ:
- प्राइमरी की (Primary Key) – यह एक या अधिक कॉलम का समूह है जो टेबल में प्रत्येक रिकॉर्ड को विशिष्ट रूप से पहचानता है। इसमें NULL मान नहीं हो सकते और यह अद्वितीय (unique) होता है। उदाहरण: Student टेबल में Roll_No प्राइमरी की हो सकता है।
- फॉरेन की (Foreign Key) – यह एक टेबल का कॉलम है जो दूसरी टेबल की प्राइमरी की को संदर्भित करता है। यह दो टेबलों के बीच संबंध स्थापित करता है। उदाहरण: Marks टेबल में Roll_No फॉरेन की हो सकता है जो Student टेबल के Roll_No को संदर्भित करता है।
अथवा
किन्हीं भी दो नेटवर्क प्रोटोकॉल का वर्णन कीजिए।
Explain any two network protocols.
दो महत्वपूर्ण नेटवर्क प्रोटोकॉल:
- TCP/IP (Transmission Control Protocol/Internet Protocol) – यह इंटरनेट का मुख्य प्रोटोकॉल है। TCP डेटा को विश्वसनीय रूप से भेजने और प्राप्त करने का काम करता है, जबकि IP डेटा पैकेट को सही गंतव्य तक पहुंचाने का काम करता है।
- HTTP (HyperText Transfer Protocol) – यह वेब ब्राउज़र और सर्वर के बीच डेटा (जैसे वेब पेज) ट्रांसफर करने का प्रोटोकॉल है। यह क्लाइंट-सर्वर मॉडल पर काम करता है और वेबसाइटों को देखने में सहायक है।