85 DBMS & SQL (Computer Science) questions asked in Bihar STET previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
Q1Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
In the array representation of a binary tree, if the node at index "i" is not null, its left child will be at index:एक बाइनरी ट्री के सरणी प्रतिनिधित्व में, यदि सूचकांक में नोड "i" शून्य नहीं है, तो इसका बायाँ बच्चा सूचकांक में होगा:
A2i2i
B2i + 12i + 1
C2i - 12i - 1
Di + 1i + 1
Show answerHide answer
Correct answer: (B)2i + 12i + 1
Explanation
With 0-based array storage, the node at index i has its left child at 2i + 1 and its right child at 2i + 2. With 1-based storage the left child would be at 2i.0-आधारित array भंडारण में सूचकांक i वाले नोड का बायाँ child 2i + 1 पर और दायाँ child 2i + 2 पर होता है। 1-आधारित भंडारण में बायाँ child 2i पर होता।
Q2Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
The file organization method that uses a table to map logical file addresses to physical block addresses is known as:फ़ाइल संगठन विधि जो भौतिक ब्लॉक पते के लिए तार्किक फ़ाइल पते को मैप करने के लिए एक तालिका का उपयोग करती है: के रूप में जाना जाता है:
Indexed allocation keeps an index block (table) for each file listing the physical block addresses of its logical blocks. This allows direct access without contiguous storage.Indexed allocation हर फ़ाइल के लिए एक index block (तालिका) रखता है जिसमें उसके तार्किक ब्लॉकों के भौतिक ब्लॉक पते सूचीबद्ध होते हैं। इससे सन्निहित (contiguous) भंडारण के बिना सीधी पहुँच मिलती है।
Q3Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
Rows of a relation are known as the _______.एक संबंध की पंक्तियों को _______ के रूप में जाना जाता है।
ADegreeडिग्री
BTuplesट्यूपल्स
CEntityइकाई
DAll of theseये सभी
Show answerHide answer
Correct answer: (B)Tuplesट्यूपल्स
Explanation
In the relational model, rows are called tuples, columns are attributes, and the number of attributes is the degree.Relational मॉडल में पंक्तियों को tuples, स्तंभों को attributes कहते हैं, और attributes की संख्या degree होती है।
Q4Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
Which one of the following commands is used to restore the database to the last committed state?डेटाबेस को अंतिम प्रतिबद्ध स्थिति में पुनर्स्थापित करने के लिए निम्नलिखित में से किस एक कमांड का उपयोग किया जाता है?
ASavepointसेवपॉइंट
BRollbackरोलबैक
CCommitप्रतिबद्ध
DBoth "Savepoint" & "Rollback""सेवपॉइंट" और "रोलबैक" दोनों
Show answerHide answer
Correct answer: (B)Rollbackरोलबैक
Explanation
ROLLBACK undoes all changes of the current transaction and returns the database to the state of the last COMMIT. SAVEPOINT only marks a point inside a transaction to roll back to.ROLLBACK मौजूदा transaction के सभी बदलाव पलट देता है और डेटाबेस को अंतिम COMMIT वाली स्थिति में लौटा देता है। SAVEPOINT केवल transaction के भीतर एक बिंदु चिह्नित करता है जहाँ तक rollback किया जा सके।
Q5Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?SQL डेटाबेस के संबंध को हटाने (या हटाने) के लिए निम्नलिखित में से किस आदेश का उपयोग किया जाता है?
ADeleteमिटाना
BDropगिराना
CRemoveहटाना
DAll of theseये सभी
Show answerHide answer
Correct answer: (B)Dropगिराना
Explanation
DROP TABLE removes the whole relation, both its structure and its data. DELETE removes only rows and keeps the table.DROP TABLE पूरी relation को हटा देता है, उसकी संरचना और डेटा दोनों। DELETE केवल पंक्तियाँ हटाता है और table रखता है।
Q6Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
Database Management System is a type of _________softwareडेटाबेस प्रबंधन प्रणाली एक प्रकार की _________software
AIt is a kind of application softwareयह एक प्रकार का एप्लिकेशन सॉफ्टवेयर है
BIt is a kind of general softwareयह एक प्रकार का सामान्य सॉफ्टवेयर है
CIt is a type of system softwareयह एक प्रकार का सिस्टम सॉफ्टवेयर है
DNone of theseइनमें से कोई नहीं
Show answerHide answer
Correct answer: (C)It is a type of system softwareयह एक प्रकार का सिस्टम सॉफ्टवेयर है
Explanation
A DBMS is classified here as system software because it manages data storage, access and security for other applications, much like an operating system manages hardware resources.DBMS को यहाँ system software के रूप में वर्गीकृत किया गया है क्योंकि वह दूसरे अनुप्रयोगों के लिए डेटा संग्रहण, पहुँच और सुरक्षा का प्रबंधन करता है, जैसे ऑपरेटिंग सिस्टम हार्डवेयर संसाधनों का प्रबंधन करता है।
Q7Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
How can you prevent SQL injection vulnerabilities in your PHP code?आप अपने PHP कोड में SQL इंजेक्शन कमजोरियों को कैसे रोक सकते हैं?
ABy using short and simple SQL queriesलघु और सरल SQL क्वेरीज़ का उपयोग करके
BBy not using user input in queriesक्वेरीज़ में उपयोगकर्ता इनपुट का उपयोग न करके
CBy removing error handling from the codeकोड से त्रुटि हैंडलिंग को हटाकर
DBy disabling database privilegesडेटाबेस विशेषाधिकारों को अक्षम करके
Show answerHide answer
Correct answer: (B)By not using user input in queriesक्वेरीज़ में उपयोगकर्ता इनपुट का उपयोग न करके
Explanation
SQL injection happens when raw user input is joined into a query string. The fix is not to put user input directly into queries: use prepared statements or parameterised queries (PDO or mysqli) so input is treated as data, not code.SQL injection तब होता है जब कच्चे उपयोगकर्ता इनपुट को query स्ट्रिंग में जोड़ दिया जाता है। समाधान यह है कि उपयोगकर्ता इनपुट को सीधे queries में न रखें: prepared statements या parameterised queries (PDO या mysqli) का उपयोग करें ताकि इनपुट डेटा माना जाए, कोड नहीं।
Q8Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
During E-commerce transaction we should ensure-------------ई - कॉमर्स लेनदेन के दौरान हमें - - - - - - - - - - - - - सुनिश्चित करना चाहिए
AIntegrityअखंडता
BConfidentialityगोपनीयता
CSecurityसुरक्षा
DAll of theseये सभी
Show answerHide answer
Correct answer: (D)All of theseये सभी
Explanation
A secure e-commerce transaction needs integrity (data not altered), confidentiality (data kept private) and overall security, including authentication. So all three must be ensured.सुरक्षित ई-कॉमर्स लेन-देन के लिए integrity (डेटा में बदलाव न हो), confidentiality (डेटा निजी रहे) और authentication सहित समग्र सुरक्षा चाहिए। इसलिए तीनों सुनिश्चित होने चाहिए।
Q9Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
Index sequential search is an improvement over sequential search that uses:अनुक्रमित अनुक्रमिक खोज अनुक्रमिक खोज पर एक सुधार है जो उपयोग करता है:
ALinked lists for efficient searchingकुशल खोज के लिए लिंक की गई सूचियाँ
BArrays for efficient searchingकुशल खोज के लिए सरणियाँ
CHashing for efficient searchingकुशल खोज के लिए हैशिंग
DBinary search trees for efficient searchingकुशल खोज के लिए द्विआधारी खोज पेड़
Show answerHide answer
Correct answer: (A)Linked lists for efficient searchingकुशल खोज के लिए लिंक की गई सूचियाँ
Explanation
Indexed sequential search keeps a separate index whose entries point to groups of records. The index is searched first, then only the linked group is scanned sequentially, which makes it faster than a plain sequential search.Indexed sequential search एक अलग index रखता है जिसकी प्रविष्टियाँ रिकॉर्डों के समूहों की ओर इशारा करती हैं। पहले index में खोजा जाता है, फिर केवल जुड़े समूह को क्रमवार स्कैन किया जाता है, इसलिए यह साधारण sequential search से तेज़ है।
Q10Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
The term "NTFS" refers to which one of the following?"NTFS" शब्द निम्नलिखित में से किसको संदर्भित करता है?
ANew Technology File Systemनई प्रौद्योगिकी फ़ाइल सिस्टम
BNew Tree File Systemनया ट्री फ़ाइल सिस्टम
CNew Table type File Systemनई तालिका प्रकार फ़ाइल सिस्टम
DBoth "New Technology File System" and "New Table type File System""नई प्रौद्योगिकी फ़ाइल सिस्टम" और "नई तालिका प्रकार फ़ाइल सिस्टम" दोनों
Show answerHide answer
Correct answer: (A)New Technology File Systemनई प्रौद्योगिकी फ़ाइल सिस्टम
Explanation
NTFS stands for New Technology File System, the file system Microsoft introduced with Windows NT.NTFS का पूरा नाम New Technology File System है, वह फ़ाइल सिस्टम जिसे Microsoft ने Windows NT के साथ पेश किया।
Q11Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
In the relational table, which of the following can also be represented by the term "attribute"?संबंधपरक तालिका में, निम्नलिखित में से किसे "विशेषता" शब्द द्वारा भी दर्शाया जा सकता है?
AEntityइकाई
BRowपंक्ति
CColumnकॉलम
DBoth "Row" & "Column""पंक्ति" और "कॉलम" दोनों
Show answerHide answer
Correct answer: (C)Columnकॉलम
Explanation
In a relational table an attribute is a column (field). A row is a tuple, or record.Relational table में attribute एक कॉलम (field) होता है। पंक्ति (row) को tuple या record कहते हैं।
Q12Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
The term "FAT" is stands for_____"FAT" शब्द का अर्थ क्या है for_____?
FAT stands for File Allocation Table, the table the FAT file system uses to track which disk clusters belong to each file.FAT का पूरा नाम File Allocation Table है, वह तालिका जिसका उपयोग FAT फ़ाइल सिस्टम यह पता रखने के लिए करता है कि कौन-से डिस्क cluster किस फ़ाइल के हैं।
Q13Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
____ are organized collections of data that make them easy to access and manage.____ डेटा के संगठित संग्रह हैं जो उन्हें एक्सेस और प्रबंधित करना आसान बनाते हैं।
ADatatypeडेटाटाइप
BDatabaseडेटाबेस
CDataडेटा
DSystemप्रणाली
Show answerHide answer
Correct answer: (B)Databaseडेटाबेस
Explanation
A database is an organized collection of related data, stored so that it can be accessed, managed and updated easily, usually through a DBMS.Database संबंधित डेटा का व्यवस्थित संग्रह है, जिसे इस तरह रखा जाता है कि उसे आसानी से एक्सेस, प्रबंधित और अपडेट किया जा सके, आमतौर पर DBMS के माध्यम से।
Q14Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
What is the purpose of the "INSERT INTO" statement in SQL?SQL में "Into सम्मिलित करें" कथन का उद्देश्य क्या है?
ATo retrieve data from a tableकिसी तालिका से डेटा पुनर्प्राप्त करने के लिए
BTo update data in a tableकिसी तालिका में डेटा अद्यतन करने के लिए
CTo insert new data into a tableतालिका में नया डेटा सम्मिलित करने के लिए
DTo delete data from a tableकिसी तालिका से डेटा हटाने के लिए
Show answerHide answer
Correct answer: (C)To insert new data into a tableतालिका में नया डेटा सम्मिलित करने के लिए
Explanation
INSERT INTO adds new rows to a table, for example INSERT INTO t VALUES (...). SELECT retrieves rows, UPDATE modifies them and DELETE removes them.INSERT INTO किसी table में नई पंक्तियाँ जोड़ता है, जैसे INSERT INTO t VALUES (...)। SELECT पंक्तियाँ निकालता है, UPDATE उन्हें बदलता है और DELETE उन्हें हटाता है।
Q15Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
Which of the following is not a part of quin-tuple (five tuple) finite automata?निम्नलिखित में से कौन सा क्विन-ट्यूपल (पांच टपल) परिमित ऑटोमेटा का हिस्सा नहीं है?
AInput alphabetइनपुट वर्णमाला
BOutput Alphabetआउटपुट वर्णमाला
CInitial Stateप्रारंभिक अवस्था
DTransition functionसंक्रमण फ़ंक्शन
Show answerHide answer
Correct answer: (B)Output Alphabetआउटपुट वर्णमाला
Explanation
A finite automaton is a 5-tuple (Q, Σ, δ, q0, F). There is no output alphabet; that belongs to Mealy and Moore machines.Finite automaton एक 5-tuple (Q, Σ, δ, q0, F) है। इसमें कोई आउटपुट वर्णमाला नहीं होती; वह Mealy और Moore मशीनों में होती है।
Q16Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
A DFA canbe represented in the following formatएक DFA निम्न प्रारूप में प्रतिनिधित्व कर सकता है
ATransition graphसंक्रमण ग्राफ
BTransition Tableसंक्रमण तालिका
CC codeC कोड
DAll of theseये सभी
Show answerHide answer
Correct answer: (D)All of theseये सभी
Explanation
A DFA can be described by a transition graph (state diagram), a transition table, or even as a program (for example C code with a switch on state). So all of these are valid.DFA को transition graph (state diagram), transition table, या यहाँ तक कि प्रोग्राम (जैसे state पर switch वाला C कोड) के रूप में बताया जा सकता है। इसलिए ये सभी मान्य हैं।
Q17Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
What is Antonymy relation?एंटोनिमी रिलेशन क्या है?
AA is part of BA, B का हिस्सा है
BB has A as a part of itselfB के पास A स्वयं का एक हिस्सा है
CA denotes opposite of BA, B के विपरीत को दर्शाता है
DA is superordinate of BA, B का अधिष्ठापी है
Show answerHide answer
Correct answer: (C)A denotes opposite of BA, B के विपरीत को दर्शाता है
Explanation
Antonymy is the relation between words of opposite meaning, so A denotes the opposite of B (for example hot and cold).Antonymy विपरीत अर्थ वाले शब्दों के बीच का संबंध है, इसलिए A, B का विपरीत दर्शाता है (जैसे गर्म और ठंडा)।
Q18Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
Which of the following refers to the number of attributes in a relation?निम्नलिखित में से क्या एक संबंध में विशेषताओं की संख्या को संदर्भित करता है?
ARowपंक्ति
BDegreeडिग्री
CColumnकॉलम
DAll of theseये सभी
Show answerHide answer
Correct answer: (A)Rowपंक्ति
Explanation
Official answer key: (a) Row
Correct answer should be: (b) Degree
The number of attributes in a relation is its Degree; the number of rows is its cardinality.
Scoring follows the official key.आधिकारिक उत्तर कुंजी: (a) Row
सही उत्तर होना चाहिए: (b) Degree
किसी relation में attributes की संख्या उसकी Degree होती है; पंक्तियों (rows) की संख्या उसकी cardinality होती है।
स्कोरिंग आधिकारिक कुंजी के अनुसार है।
For a 2-D array represented in row-major order, the index formula to access the element at row "i" and column "j" using the base address "B" is:
AIndex = B + (i * n + j)
BIndex = B + (j * n + i)
CIndex = B + (i + j)
DIndex = B + (i * m + j)
Show answerHide answer
Correct answer: (A) Index = B + (i * n + j)
Explanation
In row-major order the rows are stored one after another, so element (i, j) is at B + (i × n + j) for n columns (times the element size, taken as 1 here).
Secure e-commerce transactions need integrity (data not altered), confidentiality (data not disclosed) and overall security such as authentication, so all apply.
Q25Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Turing machine can be represented using:ट्यूरिंग मशीन का उपयोग करके प्रतिनिधित्व किया जा सकता है:
ATransition tableसंक्रमण तालिका
BTransition diagramसंक्रमण आरेख
CInstantaneous descriptionतात्कालिक विवरण
DAll of theseइन सब
Show answerHide answer
Correct answer: (D)All of theseइन सब
Explanation
A Turing machine can be described by a transition table, by a transition diagram (state graph), or by instantaneous descriptions that show the tape, head position and state at each step. So all of these work.Turing मशीन को transition table, transition diagram (अवस्था ग्राफ़), या instantaneous description से बताया जा सकता है, जो हर चरण में टेप, हेड की स्थिति और अवस्था दिखाती है। इसलिए ये सभी काम करते हैं।
Q26Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
To which of the following the term "DBA" referred?
AData Bank Administrator
BDatabase Administrator
CData Administrator
DNone of the above
Show answerHide answer
Correct answer: (A) Data Bank Administrator
Explanation
Note: the answer key gives (A), but DBA is the standard abbreviation for Database Administrator (B), the person who manages a database's schema, security, backup and performance.
Q27Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
The SQL keyword……………….is used with wildcards.SQL कीवर्ड……………….वाइल्डकार्ड के साथ प्रयोग किया जाता है।
ALIKEपसंद(LIKE)
BINमें(IN)
CNOT INअंदर नही(NOT IN)
DDISTINCTविशिष्ट(DISTINCT)
Show answerHide answer
Correct answer: (A)LIKEपसंद(LIKE)
Explanation
LIKE is used with the wildcards % (any number of characters) and _ (a single character) for pattern matching, for example WHERE name LIKE 'A%'.LIKE पैटर्न मिलान के लिए वाइल्डकार्ड % (कितने भी अक्षर) और _ (एक अक्षर) के साथ उपयोग होता है, जैसे WHERE name LIKE 'A%'।
Q28Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
What is the purpose of SQL injection attacks?SQL इंजेक्शन हमलों का उद्देश्य क्या है?
ATo increase the performance of database queriesडेटाबेस क्वेरीज़ का प्रदर्शन बढ़ाने के लिए
BTo bypass authentication systemsप्रमाणीकरण प्रणालियों को बायपास करना
CTo improve database securityडेटाबेस सुरक्षा में सुधार करने के लिए
DTo enhance data encryptionडेटा एन्क्रिप्शन बढ़ाने के लिए
Show answerHide answer
Correct answer: (B)To bypass authentication systemsप्रमाणीकरण प्रणालियों को बायपास करना
Explanation
SQL injection inserts malicious SQL into input fields so that it runs as part of a query. Attackers use it to bypass login checks or to read and modify data without authorisation.SQL injection इनपुट फ़ील्ड में हानिकारक SQL डालता है ताकि वह क्वेरी के हिस्से के रूप में चल जाए। हमलावर इससे लॉगिन जाँच दरकिनार करते हैं या बिना अधिकार डेटा पढ़ते और बदलते हैं।
Q29Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Identify the correct output of the following code snippet :
game="olympic2024"
print (game. index ("C") )निम्नलिखित कोड स्निपेट (Code Snippet) का सही आउटपुट (Out put) बताइये :
game="olympic2024"
Print (game. Index ("C") )
A00
B66
C-1-1
DvalueErrorvalueError
Show answerHide answer
Correct answer: (D)valueErrorvalueError
Explanation
str.index() raises ValueError when the substring is not found. "olympic2024" contains a lowercase "c" but no uppercase "C", so the code raises ValueError. find() would return -1 instead.str.index() सबस्ट्रिंग न मिलने पर ValueError उठाता है। "olympic2024" में छोटा "c" है पर बड़ा "C" नहीं, इसलिए कोड ValueError उठाता है। find() इसके बजाय -1 लौटाता।
Q30Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
While creating a table, which constraint does not allow insertion of duplicate values in
the table ?तालिका (table) तैयार करते समय कौन सा अवरोध (constraint) तालिका में प्रतिरूप मूल्यों
(duplicate values ) की प्रविष्टि (insertion) नहीं करने देता ?
AUNIQUEUNIQUE
BDISTINCTDISTINCT
CNOT NULLNOT NULL
DHAVINGHAVING
Show answerHide answer
Correct answer: (A)UNIQUEUNIQUE
Explanation
The UNIQUE constraint rejects duplicate values in a column. DISTINCT only removes duplicates from query results, NOT NULL forbids nulls, and HAVING filters groups.UNIQUE constraint किसी कॉलम में दोहराए मान अस्वीकार करता है। DISTINCT केवल क्वेरी परिणाम से दोहराव हटाता है, NOT NULL null मना करता है, और HAVING समूहों को फ़िल्टर करता है।
Q31Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which SQL clause is used to retrieve specific rows from a table?तालिका से विशिष्ट पंक्तियों को पुनर्प्राप्त करने के लिए किस SQL खंड का उपयोग किया जाता है?
ASEARCHखोज
BFETCHFETCH
CSELECTचुनना
DFINDखोज
Show answerHide answer
Correct answer: (A)SEARCHखोज
Explanation
Note: the answer key gives (A), but SQL has no SEARCH clause. Rows are retrieved with SELECT (C), with WHERE restricting the result to specific rows.नोट: आधिकारिक उत्तर कुंजी (A) देती है, लेकिन SQL में SEARCH क्लॉज़ नहीं है। पंक्तियाँ SELECT (C) से प्राप्त होती हैं, और WHERE परिणाम को विशिष्ट पंक्तियों तक सीमित करता है।
Q32Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
In a relational database, what is a primary key?एक संबंधपरक डेटाबेस में, एक प्राथमिक कुंजी क्या है?
AA key used for opening encrypted dataएन्क्रिप्टेड डेटा खोलने के लिए उपयोग की जाने वाली
BA unique identifier for a record in a table @कुंजी तालिका में रिकॉर्ड के लिए एक अद्वितीय पहचानकर्ता
CA foreign key from another tableदूसरी तालिका से एक विदेशी कुंजी
DAn index for sorting dataडेटा सॉर्ट करने के लिए एक अनुक्रमणिका
Show answerHide answer
Correct answer: (B)A unique identifier for a record in a table @कुंजी तालिका में रिकॉर्ड के लिए एक अद्वितीय पहचानकर्ता
Explanation
A primary key is a column, or set of columns, whose values are unique and not null, so it uniquely identifies each record in a table.Primary key एक कॉलम या कॉलमों का समूह है जिसके मान अद्वितीय और non-null होते हैं, इसलिए वह तालिका के हर रिकॉर्ड की अद्वितीय पहचान करता है।
Q33Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which command is used to remove a relation from an SQL?SQL से संबंध निकालने के लिए किस आदेश का उपयोग किया जाता है?
ADrop tableड्रॉप टेबल
BDeleteहटाएँ
CPurgeशुद्ध करें
DRemoveनिकालें
Show answerHide answer
Correct answer: (A)Drop tableड्रॉप टेबल
Explanation
DROP TABLE removes the whole relation, both its structure and its data, from the database. DELETE only removes rows and keeps the table.DROP TABLE पूरी relation, यानी उसकी संरचना और डेटा दोनों, डेटाबेस से हटा देता है। DELETE केवल पंक्तियाँ हटाता है और तालिका रखता है।
Q34Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which of the following is not an attribute of the tag ?
Aface
Bheight
Csize
Dcolour
Show answerHide answer
Correct answer: (B) height
Explanation
The question refers to the HTML <font> tag, whose attributes are face, size and color. height is not one of its attributes.
Q35Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which of the following expression in SQL would calculate the square root of 16?SQL में निम्नलिखित में से कौन सा व्यंजक 16 का वर्गमूल गणना करेगा?
APOWER (16,2)POWER (16,2)
BPOWER (16, 0.5)POWER (16, 0.5)
CPOWER (16, 1)POWER (16, 1)
DMOD (16)MOD (16)
Show answerHide answer
Correct answer: (B)POWER (16, 0.5)POWER (16, 0.5)
Explanation
POWER(16, 0.5) raises 16 to the power ½, which is its square root, 4. POWER(16,2) is 256, and MOD needs two arguments.POWER(16, 0.5) 16 को ½ घात पर उठाता है, जो उसका वर्गमूल 4 है। POWER(16,2) 256 है, और MOD को दो आर्गुमेंट चाहिए।
Q36Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
A relation in a relational database is also known as:रिलेशनल डेटाबेस में एक संबंध को --------------नाम से भी जाना जाता है।
AA data typeएक डेटा प्रकार
BAn attributeएक विशेषता
CA schemaएक स्कीमा
DA tableएक तालिका
Show answerHide answer
Correct answer: (D)A tableएक तालिका
Explanation
In the relational model a relation is a table: its tuples are the rows and its attributes are the columns.रिलेशनल मॉडल में relation एक तालिका है: उसके tuple पंक्तियाँ और attribute स्तंभ हैं।
Q37Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
A Database Management System is a type of _________software.डेटाबेस प्रबंधन प्रणाली एक प्रकार की _________software है।
AIt is a type of system softwareयह एक प्रकार का सिस्टम सॉफ्टवेयर है
BIt is a kind of application softwareयह एक प्रकार का एप्लिकेशन सॉफ्टवेयर है
CIt is a kind of general softwareयह एक प्रकार का सामान्य सॉफ्टवेयर है
DBoth A and CA और C दोनों
Show answerHide answer
Correct answer: (A)It is a type of system softwareयह एक प्रकार का सिस्टम सॉफ्टवेयर है
Explanation
The key classes a DBMS (such as Oracle or MySQL) as system software, because it is a software system that manages data storage and access for other application programs.कुंजी DBMS (जैसे Oracle या MySQL) को सिस्टम सॉफ़्टवेयर मानती है, क्योंकि वह ऐसा सॉफ़्टवेयर सिस्टम है जो अन्य एप्लिकेशन प्रोग्रामों के लिए डेटा भंडारण और पहुँच प्रबंधित करता है।
Q38Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which of the following is known as a set of entities of the same type that share same
properties, or attributes?
ARelation set
BTuples
CEntity set
DEntity Relation model
Show answerHide answer
Correct answer: (C) Entity set
Explanation
An entity set is a collection of entities of the same type that share the same attributes, for example all students in a STUDENT entity set.
Q39Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
PDA can be represented with the help ofपीडीए की मदद से प्रतिनिधित्व किया जा सकता है
AInstantaneous descriptionतात्कालिक विवरण
BTransition diagramसंक्रमण आरेख
CTransition tableसंक्रमण तालिका
DAll of theseइन सब
Show answerHide answer
Correct answer: (D)All of theseइन सब
Explanation
A PDA can be described by instantaneous descriptions (state, remaining input, stack contents), by transition diagrams, or by transition tables. So all of these work.PDA को instantaneous description (अवस्था, शेष इनपुट, स्टैक सामग्री), transition diagram या transition table से बताया जा सकता है। इसलिए ये सभी काम करते हैं।
Q40Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which of the following is a DML command in SQL ?SQL में निम्नलिखित में से कौन सी डीएमएल कमाण्ड (DML command ) है ?
AUPDATEUPDATE
BCREATECREATE
CALTERALTER
DDROPDROP
Show answerHide answer
Correct answer: (A)UPDATEUPDATE
Explanation
UPDATE modifies existing rows, so it is a Data Manipulation Language command. CREATE, ALTER and DROP change the structure of database objects, so they are DDL commands.UPDATE मौजूदा पंक्तियाँ बदलता है, इसलिए यह Data Manipulation Language कमांड है। CREATE, ALTER और DROP डेटाबेस ऑब्जेक्ट की संरचना बदलते हैं, इसलिए वे DDL कमांड हैं।
Q41Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
What does SQL stand for?SQL का पूर्ण रूप क्या है?
AStructured Query LanguageStructured Query Language
BSimple Query LanguageSimple Query Language
CSystematic Query LogicSystematic Query Logic
DStandard Query LevelStandard Query Level
Show answerHide answer
Correct answer: (A)Structured Query LanguageStructured Query Language
Explanation
SQL stands for Structured Query Language. It is the standard language for defining, querying and manipulating data in relational databases.SQL का अर्थ Structured Query Language है। यह रिलेशनल डेटाबेस में डेटा परिभाषित करने, क्वेरी करने और संशोधित करने की मानक भाषा है।
Q42Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
What is an entity in DTD?DTD में एक इकाई क्या है?
AA reference to an external resourceकिसी बाह्य संसाधन का संदर्भ
BA mathematical equationएक गणितीय समीकरण
CA special XML tagएक विशेष XML टैग
DA function in JavaScriptजावास्क्रिप्ट में एक फ़ंक्शन
Show answerHide answer
Correct answer: (A)A reference to an external resourceकिसी बाह्य संसाधन का संदर्भ
Explanation
In a DTD, an entity is a named shortcut declared with <!ENTITY>. It refers to text or to an external resource (such as a file) that is substituted wherever the entity is referenced.DTD में entity <!ENTITY> से घोषित एक नामित शॉर्टकट है। वह टेक्स्ट या बाहरी संसाधन (जैसे फाइल) की ओर संकेत करता है, जो entity का संदर्भ आने पर वहाँ प्रतिस्थापित हो जाता है।
Q43Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
In general, a file is basically a collection of all related______.सामान्य तौर पर, एक फ़ाइल मूल रूप से सभी related______ का एक संग्रह है।
ARows & Columnsपंक्तियाँ और स्तंभ
BDatabaseडेटाबेस
CFieldsफ़ील्ड
DRecordsरिकॉर्ड
Show answerHide answer
Correct answer: (D)Recordsरिकॉर्ड
Explanation
A file is a collection of related records, and each record is in turn made up of fields.फाइल संबंधित रिकॉर्डों का संग्रह है, और हर रिकॉर्ड बदले में फ़ील्ड से बना होता है।
Q44Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Select the correct option to fill in the blank : A ___________ is an online platform or
website where individuals or businesses regularly publish articles/journals, known as
posts, on various topics.रिक्त स्थान भरने के लिए सही विकल्प चुनें: ____________ एक ऑनलाइन प्लेटफ़ॉर्म या वेबसाइट है
जहाँ व्यक्ति या व्यवसाय नियमित रूप से विभिन्न विषयों पर लेख/पत्रिकाएँ, जिन्हें पोस्ट कहा जाता है,
प्रकाशित करते हैं।
ABrowerब्राउज़र
BBlogब्लॉग
CNews Groupसमाचार समूह
DWeb Serverवेब सर्वर
Show answerHide answer
Correct answer: (B)Blogब्लॉग
Explanation
A blog (weblog) is a website where an individual or business regularly publishes articles, called posts. Posts are usually shown in reverse chronological order.ब्लॉग (weblog) ऐसी वेबसाइट है जहाँ कोई व्यक्ति या व्यवसाय नियमित रूप से लेख, जिन्हें पोस्ट कहते हैं, प्रकाशित करता है। पोस्ट आमतौर पर उलटे कालक्रम में दिखाई जाती हैं।
Q45Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
This is a Assertion and Reason type questions. This question consists of two
statements, namely, Assertion (A) and Reason (R). Select the most suitable option
considering the Assertion and Reason.Assertion (A) : SMS is an acronym for Smart
Message Service.Reason (R) : SMS is the most common technology for delivering
short, concise and important messages quickly.यह अभिकथन एवं कारण प्रकार का प्रश्न है। इस प्रश्न में दो कथन हैं, अर्थात् अभिकथन (A) और कारण
(R)। अभिकथन और कारण पर विचार करते हुए सबसे उपयुक्त विकल्प का चयन कीजिए।अभिकथन
(A) :एसएमएस (SMS), स्मार्ट मैसेज सर्विस (Smart Message Service) का प्रर्थमाक्षर/ आदिवार्णि
(acronym)शब्द है । कारण (R) : संक्षिप्त स्पस्ट और महत्वपूर्ण संदेशों को शीघ्रता से पहुँचाने के लिए
SMS सबसे आम तकनीक है।
ABoth Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).अभिकथन (A) और कारण (R) दोनों सत्य हैं और कारण (R), अभिकथन (A) की सही व्याख्या है।
BBoth Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).अभिकथन (A) और कारण (R) दोनों सत्य हैं, लेकिन कारण (R), अभिकथन (A) की सही व्याख्या नहीं
है।
CAssertion (A) is true, but Reason (R) is false.अभिकथन (A) सत्य है, परन्तु कारण (R) असत्य है।
DAssertion (A) is false, but Reason (R) is true.अभिकथन (A) असत्य है, परन्तु कारण (R) सत्य है।
Show answerHide answer
Correct answer: (D)Assertion (A) is false, but Reason (R) is true.अभिकथन (A) असत्य है, परन्तु कारण (R) सत्य है।
Explanation
The assertion is false because SMS stands for Short Message Service, not Smart Message Service. The reason is true: SMS is widely used to deliver short messages quickly.अभिकथन असत्य है क्योंकि SMS का अर्थ Short Message Service है, Smart Message Service नहीं। कारण सत्य है: SMS छोटे संदेश जल्दी भेजने के लिए व्यापक रूप से उपयोग होता है।
Q46Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
This is a Assertion and Reason type questions. This question consists of two
statements, namely, Assertion (A) and Reason (R). Select the most suitable option
considering the Assertion and Reason. Assertion (A) : CSS is an attribute of the table
tag and is used to style tables on a web page. Reason (R) : CSS is used to apply styles,
such as fonts, colors, and spacing in an HTML document.यह अभिकथन और तर्क प्रकार का प्रश्न हैं। प्रत्येक प्रश्न में दो कथन हैं, अर्थात् अभिकथन (A) और तर्क
(R) । अभिकथन और तर्क पर विचार करते हुए सबसे उपयुक्त विकल्प का चयन कीजिएा
अभिकथन (A) : CSS, table टैग का एक एट्रीब्यूट (attribute) है और वेब पेज पर Tables को स्टाइल
करने के लिए उपयोग किया जाता है।
तर्क (R) : CSS का उपयोग एचटीएमएल (HTML) दस्तावेज़ में फ़ॉन्ट, रंग, और स्पेस जैसी स्टाइल्स को
लगाने के लिए किया जाता है।
ABoth Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).अभिकथन (A) और तर्क (R) दोनों सही हैं और अभिकथन (A) का सही स्पष्टीकरण तर्क (R) है।
BBoth Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).अभिकथन (A) और तर्क (R) दोनों सही हैं परंतु अभिकथन (A) का सही स्पष्टीकरण तर्क (R) नहीं है।
CAssertion (A) is true, but Reason (R) is false.अभिकथन (A) सही है, परंतु तर्क (R) ग़लत है।
DAssertion (A) is false, but Reason (R) is true.अभिकथन (A) ग़लत है, परंतु तर्क (R) सही है।
Show answerHide answer
Correct answer: (D)Assertion (A) is false, but Reason (R) is true.अभिकथन (A) ग़लत है, परंतु तर्क (R) सही है।
Explanation
CSS is not an attribute of the table tag (the attribute is style), so the assertion is false. The reason is true: CSS applies fonts, colours and spacing to HTML documents.CSS table टैग का एट्रीब्यूट नहीं है (एट्रीब्यूट style है), इसलिए अभिकथन असत्य है। कारण सत्य है: CSS HTML दस्तावेज़ों पर फ़ॉन्ट, रंग और स्पेसिंग लगाता है।
Q47Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
How are cookies typically stored on a client's device?कुकीज़ आमतौर पर ग्राहक के डिवाइस पर कैसे संग्रहीत की जाती हैं?
AIn a plain text fileएक सादा पाठ फ़ाइल में
BIn a databaseकिसी डेटाबेस में
CIn an encrypted formatएन्क्रिप्टेड स्वरूप में
DIn the browser's cacheब्राउज़र के कैश में
Show answerHide answer
Correct answer: (D)In the browser's cacheब्राउज़र के कैश में
Explanation
Cookies are small data files that the web browser stores and manages on the client, in its own storage or cache area. They are sent back to the server with each request.Cookie छोटी डेटा फाइलें हैं जिन्हें वेब ब्राउज़र क्लाइंट पर अपने स्टोरेज या cache क्षेत्र में रखता और प्रबंधित करता है। वे हर अनुरोध के साथ सर्वर को वापस भेजी जाती हैं।
Q48Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which statement is used to retrieve data from a database in SQL?SQL में डेटाबेस से डेटा पुनर्प्राप्त करने के लिए किस कथन का उपयोग किया जाता है?
ASELECTSELECT
BUPDATEUPDATE
CDELETEDELETE
DINSERTINSERT
Show answerHide answer
Correct answer: (A)SELECTSELECT
Explanation
SELECT retrieves (queries) data from tables. UPDATE, DELETE and INSERT change data rather than read it.SELECT तालिकाओं से डेटा पुनर्प्राप्त (क्वेरी) करता है। UPDATE, DELETE और INSERT डेटा पढ़ते नहीं, बदलते हैं।
Q49Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Questions given below is of Assertion and Reason type question. This question
consists of two statements, namely, Assertion (A) and Reason (R). Select the most
suitable option considering the Assertion and Reason. Assertion (A) : It becomes
difficult to update and maintain a website’s design using CSS. Reason (R) : CSS allows
web developers to separate the presentation layer (styles and layout) from the content
layer (HTML).नीचे दिए गए प्रश्न अभिकथन और कारण प्रकार के हैं। इस प्रश्न में दो कथन हैं, अर्थात् अभिकथन (A) और
कारण (R)। अभिकथन और कारण पर विचार करते हुए सबसे उपयुक्त विकल्प का चयन कीजिए।
अभिकथन (A): CSS का उपयोग करके वेबसाइट के डिज़ाइन को अपडेट और बनाए रखना मुश्किल हो
जाता है। कारण (R): CSS वेब डेवलपर्स को प्रस्तुति परत (शैलियाँ और लेआउट) को सामग्री परत
(HTML) से अलग करने की अनुमति देता है।
ABoth Assertion (A) and Reason (R) are true and Reason (R) is the correct explanation of Assertion (A).अभिकथन (A) और कारण (R) दोनों सत्य हैं और कारण (R), अभिकथन (A) की सही व्याख्या है।
BBoth Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion (A).अभिकथन (A) और कारण (R) दोनों सत्य हैं, लेकिन कारण (R) अभिकथन (A) का सही स्पष्टीकरण
नहीं है।
CAssertion (A) is true, but Reason (R) is false.(C) अभिकथन (A) सत्य है, लेकिन कारण (R) असत्य है।
DAssertion (A) is false, but Reason (R) is true.अभिकथन (A) असत्य है, लेकिन कारण (R) सत्य है।
Show answerHide answer
Correct answer: (D)Assertion (A) is false, but Reason (R) is true.अभिकथन (A) असत्य है, लेकिन कारण (R) सत्य है।
Explanation
CSS makes a site easier to maintain, because changing one stylesheet updates every page, so the assertion is false. The reason is true: CSS separates presentation from HTML content.CSS साइट का रखरखाव आसान बनाता है, क्योंकि एक stylesheet बदलने से हर पेज अद्यतन होता है, इसलिए अभिकथन असत्य है। कारण सत्य है: CSS प्रस्तुति को HTML सामग्री से अलग करता है।
Q50Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
Aggregate functions can be used with………….clause. They can not be used with………
clause.
AWHERE, HAVING
BHAVING, WHERE
CGROUP BY, HAVING
DSELECT, HAVING
Show answerHide answer
Correct answer: (B) HAVING, WHERE
Explanation
Aggregate functions such as SUM or COUNT can be used in the HAVING clause, which filters groups after grouping, but not in WHERE, which filters individual rows before any aggregation happens.
How to use these Bihar STET Computer Science questions
Every question here was asked in a real Bihar STET paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full Bihar STET papers as timed tests to check your speed under exam conditions.