Computer Science Previous Year Questions (page 13)
723 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.
Q601Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
____________attribute is used to specify the location of an image file.____________विशेषता का उपयोग किसी छवि फ़ाइल का स्थान निर्दिष्ट करने के लिए किया जाता है।
Aaltalt
Bsrcsrc
Calignalign
Dnamename
Show answerHide answer
Correct answer: (B)srcsrc
Explanation
In the <img> tag, the src attribute gives the path or URL of the image file. alt gives alternative text.<img> टैग में src एट्रीब्यूट इमेज फाइल का पथ या URL देता है। alt वैकल्पिक टेक्स्ट देता है।
Q602Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
If NFA of 5 states excluding the initial state is converted into DFA, maximum possible
number of states for the DFA is?यदि प्रारंभिक अवस्था को छोड़कर 5 अवस्थाओं के NFA को DFA में परिवर्तित किया जाता है, तो DFA के
लिए अधिकतम संभव अवस्थाओं की संख्या क्या है?
A6464
B3232
C128128
D187187
Show answerHide answer
Correct answer: (A)6464
Explanation
An NFA with 5 states plus the initial state has 6 states. The subset construction can produce up to 2⁶ = 64 DFA states.5 अवस्थाओं के साथ प्रारंभिक अवस्था जोड़ने पर NFA में 6 अवस्थाएँ हैं। Subset construction से अधिकतम 2⁶ = 64 DFA अवस्थाएँ बन सकती हैं।
Q603Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which of the following is the correct identifier ?निम्नलिखित में से कौन सा आइडेंटिफाइअर (identifier) सही है ?
Aglobalglobal
BBreakBreak
Cdefdef
Dwithwith
Show answerHide answer
Correct answer: (B)BreakBreak
Explanation
Python is case-sensitive: "Break" is a valid identifier, while break is a keyword. global, def and with are all reserved keywords and cannot be identifiers.Python case-sensitive है: "Break" वैध identifier है, जबकि break कीवर्ड है। global, def और with सब आरक्षित कीवर्ड हैं और identifier नहीं हो सकते।
Q604Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the time complexity of the Divide and Conquer algorithm for finding the
maximum and minimum elements in an array of size "n"?आकार "एन" की एक सरणी में अधिकतम और न्यूनतम तत्वों को खोजने के लिए विभाजन और विजय
एल्गोरिथ्म की समय जटिलता क्या है?
AO(n)ओ (एन)
BO(log n)ओ (लॉग एन)
CO(n log n)ओ (एन लॉग एन)
DO(n^2)ओ (एन^2)
Show answerHide answer
Correct answer: (A)O(n)ओ (एन)
Explanation
The divide-and-conquer max-min algorithm makes about 3n/2 - 2 comparisons (T(n) = 2T(n/2) + 2), which is O(n).Divide-and-conquer max-min एल्गोरिदम लगभग 3n/2 - 2 तुलनाएँ करता है (T(n) = 2T(n/2) + 2), जो O(n) है।
Q605Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which of the following protocol is used for secure remote login ?निम्नलिखित में से किस प्रोटोकॉल का उपयोग सुरक्षित रिमोट लॉगिन (Remote Login) के लिए किया
जाता है ?
AFTPFTP
BHTTPSHTTPS
CTELNETTELNET
DHTTPHTTP
Show answerHide answer
Correct answer: (C)TELNETTELNET
Explanation
Note: the answer key gives (C), but Telnet sends everything, passwords included, as plain text and is not secure. SSH is the protocol for secure remote login, and it is not among the options.नोट: आधिकारिक उत्तर कुंजी (C) देती है, लेकिन Telnet पासवर्ड समेत सब कुछ सादे टेक्स्ट में भेजता है और सुरक्षित नहीं है। सुरक्षित रिमोट लॉगिन का प्रोटोकॉल SSH है, जो विकल्पों में नहीं है।
Q606Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which property of dynamic programming is particularly useful for solving Optimal
Binary Search Tree problems?
AOptimal substructure
BGreedy choice property
CDivide and Conquer
DLinear programming
Show answerHide answer
Correct answer: (A) Optimal substructure
Explanation
Optimal BST is solved by dynamic programming because it has optimal substructure: the best tree contains optimal subtrees for its left and right key ranges (and the subproblems overlap).
Q607Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which among the following are the limiting factors of IoT?निम्नलिखित में से कौन से IoT के सीमित कारक हैं?
ALow powerकम शक्ति
BLow processing powerकम प्रसंस्करण शक्ति
CLow memoryकम स्मृति
DAll of the aboveऊपर के सभी
Show answerHide answer
Correct answer: (D)All of the aboveऊपर के सभी
Explanation
IoT devices are usually constrained by limited battery/power, low processing power and little memory, so all three are limiting factors.IoT डिवाइस आमतौर पर सीमित बैटरी/पावर, कम प्रोसेसिंग क्षमता और कम मेमोरी से बँधे होते हैं, इसलिए तीनों सीमित करने वाले कारक हैं।
Q608Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
In the context of dynamic programming for solving multistage graph problems, what is
memoization used for?मल्टीस्टेज ग्राफ समस्याओं को हल करने के लिए गतिशील प्रोग्रामिंग के संदर्भ में, मेमोइजेशन का
उपयोग किस लिए किया जाता है?
ADividing the graph into stagesग्राफ को चरणों में विभाजित करना
BSorting the vertices in the graphग्राफ में कोने को छाँटना
CStoring solutions to overlapping subproblemsउपप्रकारों को ओवरलैप करने के लिए समाधान का भंडारण
DFinding the shortest pathसबसे छोटा पथ खोजना
Show answerHide answer
Correct answer: (C)Storing solutions to overlapping subproblemsउपप्रकारों को ओवरलैप करने के लिए समाधान का भंडारण
Explanation
Memoization stores the results of overlapping subproblems (for example the best cost from each vertex to the sink) so they are reused, not recomputed, in multistage graph DP.Memoization ओवरलैपिंग उप-समस्याओं के परिणाम (जैसे हर वर्टेक्स से sink तक की सर्वोत्तम लागत) संग्रहीत करती है ताकि multistage graph DP में उन्हें दोबारा गणना करने के बजाय दोबारा उपयोग किया जाए।
Q609Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
The default value of the transaction identifier in a Modbus TCP packet is?एक मोडबस टीसीपी पैकेट में लेनदेन पहचानकर्ता का डिफ़ॉल्ट मान है?
A00
B11
C22
D33
Show answerHide answer
Correct answer: (B)11
Explanation
In Modbus TCP the client sets the 2-byte Transaction Identifier in the MBAP header so it can match each response to its request; the server echoes it back. The key takes 1 as the default value.Modbus TCP में क्लाइंट MBAP हेडर में 2-बाइट का Transaction Identifier तय करता है ताकि हर प्रतिक्रिया को उसके अनुरोध से मिला सके; सर्वर उसे वापस दोहराता है। कुंजी में डिफ़ॉल्ट मान 1 है।
Q610Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
In the Divide and Conquer algorithm for finding the maximum and minimum elements,
how are the results from the left and right subarrays combined?अधिकतम और न्यूनतम तत्वों को खोजने के लिए डिवाइड और विजय एल्गोरिथ्म में, बाएं और दाएं
सबरेज़ से परिणाम कैसे संयुक्त हैं?
ABy taking the average of the maximum and minimum valuesअधिकतम और न्यूनतम मानों का औसत ले जाकर
BBy comparing the maximum of the left and right subarrays and the minimum of the left and right subarraysबाएं और दाएं सबरेज़ की अधिकतम और बाएं और दाएं सबरे के न्यूनतम की तुलना करके
CBy adding the maximum of the left subarray to the minimum of the right subarrayदाएं सबर्रे के न्यूनतम को कम से कम लेफ्ट सबर्रे के लिए लेफ्ट सबरे को जोड़कर
DBy multiplying the maximum of the left subarray with the minimum of the right subarrayदाएं सबरे के न्यूनतम के साथ बाएं सबरे को गुणा करके।
Show answerHide answer
Correct answer: (B)By comparing the maximum of the left and right subarrays and the minimum of the left and right subarraysबाएं और दाएं सबरेज़ की अधिकतम और बाएं और दाएं सबरे के न्यूनतम की तुलना करके
Explanation
Each half returns its own max and min; the overall max is the larger of the two maxima and the overall min is the smaller of the two minima, costing 2 comparisons per combine.हर आधा हिस्सा अपना max और min लौटाता है; कुल max दोनों max में बड़ा और कुल min दोनों min में छोटा होता है, और हर मेल पर 2 तुलनाएँ लगती हैं।
Q611Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
The class of CFG is not closed under----
AConcatenation
BIntersection
CUnion
DRepeated Concatenation.
Show answerHide answer
Correct answer: (D) Repeated Concatenation.
Explanation
Note: the answer key gives (D), but context-free languages are closed under union, concatenation and Kleene star (repeated concatenation). They are not closed under intersection (B), for example aⁿbⁿcᵐ ∩ aᵐbⁿcⁿ = aⁿbⁿcⁿ.
Q612Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which implementation of a stack requires a fixed amount of memory allocated for a
fixed number of elements?स्टैक के किस कार्यान्वयन के लिए निश्चित संख्या में तत्वों के लिए आवंटित मेमोरी की एक निश्चित राशि
की आवश्यकता होती है?
An array-based stack reserves a fixed block of memory for a set maximum number of elements, so it can overflow. A linked-list stack grows dynamically.Array-आधारित स्टैक अधिकतम तत्वों की तय संख्या के लिए मेमोरी का निश्चित ब्लॉक आरक्षित करता है, इसलिए वह overflow हो सकता है। Linked-list स्टैक गतिशील रूप से बढ़ता है।
Q613Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
The data structure used to represent the allocation status of main memory is known as:मुख्य मेमोरी के आवंटन स्थिति का प्रतिनिधित्व करने के लिए उपयोग की जाने वाली डेटा संरचना के रूप
में जाना जाता है:
APage tableपृष्ठ तालिका
BFile allocation tableफ़ाइल आवंटन तालिका
CMemory mapमेमोरी मैप
DMemory management unitमेमोरी मैनेजमेंट यूनिट
Show answerHide answer
Correct answer: (C)Memory mapमेमोरी मैप
Explanation
A memory map (or allocation map/table) records which parts of main memory are allocated and which are free. A page table maps virtual pages to frames, and a FAT tracks disk blocks.Memory map (या allocation map/table) दर्ज करता है कि मुख्य मेमोरी के कौन से हिस्से आवंटित हैं और कौन से खाली। Page table वर्चुअल पेजों को फ्रेम से जोड़ती है, और FAT डिस्क ब्लॉक का हिसाब रखती है।
Q614Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What does the DOM represent in web development?
ADatabase of Objects and Models
BDocument Oriented Middleware
CData Object Model
DDocument Object Model
Show answerHide answer
Correct answer: (D) Document Object Model
Explanation
DOM stands for Document Object Model, a tree of objects representing an HTML/XML document that scripts like JavaScript can read and change.
Q615Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
The complement of a language will only be defined when and only when the __________
over the language is defined.किसी भाषा के पूरक को केवल तभी परिभाषित किया जाएगा जब और केवल तभी जब भाषा पर
__________ को परिभाषित किया जाता है।
AAlphabetवर्णमाला
BWordशब्द
CStringस्ट्रिंग्स
DGrammarव्याकरण
Show answerHide answer
Correct answer: (A)Alphabetवर्णमाला
Explanation
The complement of L is Σ* - L, so it can be defined only once the alphabet Σ is fixed.L का पूरक Σ* - L है, इसलिए इसे तभी परिभाषित किया जा सकता है जब वर्णमाला Σ तय हो।
Q616Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which addressing mode involves specifying a value within the instruction itself, rather
than referencing a memory location?किस एड्रेसिंग मोड में मेमोरी स्थान को संदर्भित करने के बजाय, निर्देश के भीतर एक मान निर्दिष्ट करना
शामिल है?
In immediate addressing the operand value is part of the instruction itself (for example MVI A, 05H), so no memory access is needed to fetch it.Immediate addressing में ऑपरेंड का मान निर्देश का ही हिस्सा होता है (जैसे MVI A, 05H), इसलिए उसे पाने के लिए मेमोरी तक पहुँचने की ज़रूरत नहीं पड़ती।
Q617Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
In Excess-3 Code, why is the code considered self-complementing?अतिरिक्त -3 कोड में, कोड को आत्म-पूरक क्यों माना जाता है?
ABecause it can be converted to ASCII directlyक्योंकि
इसे सीधे ASCII में परिवर्तित किया जा सकता है
BBecause the 9's complement of each digit can be obtained by inverting its bitsक्योंकि
प्रत्येक अंक के 9 के पूरक को इसके बिट्स
CBecause it is used for financial calculationsक्योंकि
इसका उपयोग वित्तीय गणना के लिए किया जाता है
DBecause it is a form of Gray codeक्योंकि
यह ग्रे कोड का एक रूप है
Show answerHide answer
Correct answer: (B)Because the 9's complement of each digit can be obtained by inverting its bitsक्योंकि
प्रत्येक अंक के 9 के पूरक को इसके बिट्स
Explanation
Excess-3 is self-complementing: inverting all bits of a digit's code gives the code of its 9's complement (for example 2 = 0101, inverted 1010 = 7).Excess-3 स्व-पूरक (self-complementing) है: किसी अंक के कोड के सभी बिट उलटने से उसके 9's complement का कोड मिलता है (जैसे 2 = 0101, उलटने पर 1010 = 7)।
Q618Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which attribute of the tag is used to set the background color of a web page ?वेब पेज के पृष्ठभूमि (background) का रंग सेट करने के लिए टैग के कौन-से एट्रीब्यूट (attribute) का
उपयोग किया जाता है ?
Atexttext
Bbgcolorbgcolor
Cbackgroundbackground
Dcolorcolor
Show answerHide answer
Correct answer: (B)bgcolorbgcolor
Explanation
The question refers to the <body> tag, where the bgcolor attribute sets the page's background colour, for example <body bgcolor="yellow">. background sets a background image.प्रश्न <body> टैग की बात करता है, जिसमें bgcolor एट्रीब्यूट पेज का पृष्ठभूमि रंग तय करता है, जैसे <body bgcolor="yellow">। background पृष्ठभूमि इमेज तय करता है।
Q619Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
The Internet of Things (IoT), access to real-time data, and the introduction of cyber-
physical systems mark the big changes for this era.इंटरनेट ऑफ थिंग्स (IoT), वास्तविक समय डेटा तक पहुंच, और साइबर-भौतिक प्रणालियों की शुरूआत
इस युग के बड़े बदलावों को चिह्नित करती है।
AIndustrial Revolutionऔद्योगिक क्रांति
B3rd Industrial Revolutionतीसरी औद्योगिक क्रांति
CIndustry 4.0उद्योग 4.0
DManufacturing automationविनिर्माण स्वचालन
Show answerHide answer
Correct answer: (C)Industry 4.0उद्योग 4.0
Explanation
Industry 4.0, the fourth industrial revolution, is defined by IoT, real-time data, cyber-physical systems, automation and smart factories.Industry 4.0, यानी चौथी औद्योगिक क्रांति, IoT, रियल-टाइम डेटा, साइबर-फिजिकल सिस्टम, स्वचालन और स्मार्ट फैक्टरियों से परिभाषित होती है।
Q620Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which of the following provides the ability to query information from the database and
insert tuples into, delete tuples from, and modify tuples in the database?निम्नलिखित में से कौन डेटाबेस से जानकारी को क्वेरी करने और डेटाबेस में ट्यूपल डालने, ट्यूपल्स को
हटाने और संशोधित करने की क्षमता प्रदान करता है?
DML (Data Manipulation Language) is used to query the database and insert, delete and modify tuples. DDL defines the schema.DML (Data Manipulation Language) डेटाबेस से क्वेरी करने और tuple डालने, हटाने व बदलने के लिए है। DDL स्कीमा परिभाषित करती है।
Q621Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which ZigBee device is used to transfer data between ZigBee devices?Zigbee डिवाइस के बीच डेटा को स्थानांतरित करने के लिए किस Zigbee डिवाइस का उपयोग किया
जाता है?
AZigbee Coordinator deviceज़िगबी समन्वयक उपकरण
BZigbee Routerज़िगबी राउटर
CZigbee start devceज़िगबी प्रारंभ डिवाइस
DZigbee end devceज़िगबी अंत डिवाइस
Show answerHide answer
Correct answer: (B)Zigbee Routerज़िगबी राउटर
Explanation
A ZigBee router relays and forwards data between devices, extending the mesh network. The coordinator starts and manages the network, and end devices only talk to their parent.ZigBee router उपकरणों के बीच डेटा आगे भेजता है और mesh नेटवर्क का विस्तार करता है। Coordinator नेटवर्क शुरू और प्रबंधित करता है, और end device केवल अपने parent से बात करते हैं।
Q622Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
Which of the following is the base case for a recursive factorial function?पुनरावर्ती फैक्टरियल फ़ंक्शन के लिए निम्नलिखित में से कौन सा आधार मामला है?
An == 0n == 0
Bn == 1n == 1
Cn < 0n < 0
Dn > 0n > 0
Show answerHide answer
Correct answer: (B)n == 1n == 1
Explanation
The key takes n == 1 as the base case, returning 1 and ending the recursion. Many implementations use n == 0 (or n <= 1) instead, since 0! = 1 as well.कुंजी n == 1 को base case मानती है, जो 1 लौटाकर रिकर्शन समाप्त करता है। कई कार्यान्वयन n == 0 (या n <= 1) लेते हैं, क्योंकि 0! = 1 भी है।
Q623Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What does I stands for in CIACIA में I का क्या अर्थ है--------------------
AIndianIndian
BIndividualIndividual
CIncomeIncome
DIntegrityIntegrity
Show answerHide answer
Correct answer: (D)IntegrityIntegrity
Explanation
In the CIA triad of information security, I stands for Integrity: data must stay accurate and unaltered by unauthorised changes. C is Confidentiality and A is Availability.सूचना सुरक्षा के CIA triad में I का अर्थ Integrity है: डेटा सटीक रहे और अनधिकृत परिवर्तनों से न बदले। C का अर्थ Confidentiality और A का Availability है।
What is the simplified expression for the Boolean function F(A, B, C, D) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14) using the K-map method?K - मानचित्र विधि का उपयोग करते हुए बूलियन फलन F(A, B, C, D) = Σ(0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14) के लिए सरलीकृत व्यंजक क्या है?
Note: the answer key gives (A), but none of the options is right. The only missing minterms are 3, 7, 11 and 15, i.e. every cell where C = 1 and D = 1, so the K-map simplifies to F = C' + D'. Option A lists just five minterms and does not equal F.नोट: आधिकारिक उत्तर कुंजी (A) देती है, लेकिन कोई भी विकल्प सही नहीं है। केवल मिनटर्म 3, 7, 11 और 15 छूटे हैं, यानी हर वह सेल जहाँ C = 1 और D = 1 है, इसलिए K-map सरल होकर F = C' + D' बनता है। विकल्प A में सिर्फ पाँच मिनटर्म हैं और वह F के बराबर नहीं है।
In a PLA, what components are used to implement the combinational logic functions?PLA में, संयोजन तर्क फलनों को लागू करने के लिए किन घटकों का उपयोग किया जाता है?
AAND gates and OR gatesAND गेट और OR गेट
BNAND gates and XOR gatesNAND गेट और XOR गेट
CNOR gates and XNOR gatesNOR गेट और XNOR गेट
DNOT gates and multiplexersNOT गेट और बहुसंकेतक
Show answerHide answer
Correct answer: (A)AND gates and OR gatesAND गेट और OR गेट
Explanation
A PLA (Programmable Logic Array) has a programmable AND array that forms product terms, feeding a programmable OR array that sums them, so any SOP function can be built.PLA (Programmable Logic Array) में एक प्रोग्रामेबल AND array होता है जो product terms बनाता है, और वह एक प्रोग्रामेबल OR array में जाता है जो उन्हें जोड़ता है, इसलिए कोई भी SOP फलन बनाया जा सकता है।
Which type of register is primarily used to temporarily hold data during arithmetic and logical operations in a microprocessor?माइक्रोप्रोसेसर में अंकगणितीय और तार्किक संक्रिया के दौरान डेटा को अस्थायी रूप से रखने के लिए मुख्य रूप से किस प्रकार की पंजी (रजिस्टर) का उपयोग किया जाता है?
The accumulator holds one operand and the result of ALU arithmetic and logic operations, so intermediate data stays inside the CPU instead of going back to memory each time.एक्यूमुलेटर एक ऑपरेंड और ALU की अंकगणितीय व तार्किक संक्रियाओं का परिणाम रखता है, इसलिए बीच का डेटा हर बार मेमोरी में जाने के बजाय CPU के अंदर ही रहता है।
Which logic family uses both depletion and enhancement mode MOSFETs for its operation?कौन-सा तर्क परिवार अपनी संक्रिया के लिए अवक्षय और वृद्धि विधा MOSFET दोनों का उपयोग करता है?
ATTLTTL
BECLECL
CPMOSPMOS
DCMOSCMOS
Show answerHide answer
Correct answer: (D)CMOSCMOS
Explanation
CMOS circuits combine enhancement-mode MOSFETs of both types (n-channel and p-channel) in complementary pairs. Older NMOS logic used depletion-mode loads, and the key treats CMOS as the family mixing these MOSFET types. TTL and ECL are bipolar.CMOS सर्किट दोनों प्रकार (n-channel और p-channel) के enhancement-mode MOSFET को complementary जोड़ियों में मिलाते हैं। पुराने NMOS लॉजिक में depletion-mode लोड होते थे, और कुंजी CMOS को इन MOSFET प्रकारों को मिलाने वाली फैमिली मानती है। TTL और ECL बाइपोलर हैं।
What is the primary difference between ROM and RAM?ROM और RAM के बीच प्राथमिक अंतर क्या है?
AROM is faster than RAMROM, RAM से तेज़ है।
BROM is volatile, while RAM is non-volatileROM अस्थायी है, जबकि RAM स्थायी है।
CROM is used for data storage, while RAM is used for program executionROM का उपयोग डेटा संग्रहण के लिए किया जाता है, जबकि RAM का उपयोग प्रोग्राम निष्पादन के लिए किया जाता है।
DROM stores permanent data that cannot be changed, while RAM stores temporary data that can be read and writtenROM स्थायी डेटा संग्रहीत करता है जिसे बदला नहीं जा सकता है, जबकि RAM अस्थायी डेटा संग्रहीत करता है जिसे पढ़ा और लिखा जा सकता है।
Show answerHide answer
Correct answer: (D)ROM stores permanent data that cannot be changed, while RAM stores temporary data that can be read and writtenROM स्थायी डेटा संग्रहीत करता है जिसे बदला नहीं जा सकता है, जबकि RAM अस्थायी डेटा संग्रहीत करता है जिसे पढ़ा और लिखा जा सकता है।
Explanation
ROM is non-volatile and holds permanent data (firmware) that normally cannot be changed. RAM is volatile read/write memory for temporary data. Option B reverses volatility.ROM नॉन-वोलेटाइल होती है और स्थायी डेटा (फर्मवेयर) रखती है जो सामान्यतः बदला नहीं जा सकता। RAM वोलेटाइल रीड/राइट मेमोरी है जो अस्थायी डेटा के लिए होती है। विकल्प B में वोलेटिलिटी उलट दी गई है।
Given a Boolean function F(A, B, C) = Σ(0, 1, 2, 3, 5), what is the expression in SOP form?एक बूलियन फलन F(A, B, C) = Σ(0, 1, 2, 3, 5) दिया गया है, SOP रूप में व्यंजक क्या है?
AA'B' + AB' + AB + ACA'B' + AB' + AB + AC
BA + B + CA + B + C
CAB' + C'AB' + C'
DA'B'C'A'B'C'
Show answerHide answer
Correct answer: (A)A'B' + AB' + AB + ACA'B' + AB' + AB + AC
Explanation
Note: the answer key gives (A), but no option is correct. Minterms 0-3 give A', and minterm 5 (101) adds AB'C, so F = A' + B'C. Option A reduces to A + B', which also covers minterms 4, 6 and 7.नोट: आधिकारिक उत्तर कुंजी (B) देती है, लेकिन कोई विकल्प सही नहीं है। मिनटर्म 0-3 से A' मिलता है, और मिनटर्म 5 (101) AB'C जोड़ता है, इसलिए F = A' + B'C। विकल्प A सरल होकर A + B' बनता है, जो मिनटर्म 4, 6 और 7 को भी कवर करता है।
If the sum of two positive binary numbers is 11010 and there is a carry-out from the MSB, what should be done to obtain the correct result?यदि दो धनात्मक द्विआधारी संख्याओं का योग 11010 है और MSB से कोई हाँसिल लगती है, तो सही परिणाम प्राप्त करने के लिए क्या किया जाना चाहिए?
ADiscard the carryहाँसिल को छोड़ देना चाहिए।
BAdd the carry to the least significant bit (LSB)हाँसिल को न्यूनतम महत्वपूर्ण बिट (LSB) में जोड़ना चाहिए।
CAdd the carry to the most significant bit (MSB)हाँसिल को उच्चतम महत्वपूर्ण बिट (MSB) में जोड़ना चाहिए।
DSubtract the carry from the MSBहाँसिल को MSB से घटाना चाहिए।
Show answerHide answer
Correct answer: (B)Add the carry to the least significant bit (LSB)हाँसिल को न्यूनतम महत्वपूर्ण बिट (LSB) में जोड़ना चाहिए।
Explanation
This is the end-around carry rule of 1's complement addition: when the addition produces a carry out of the MSB, that carry is added back to the LSB to get the correct result.यह 1's complement जोड़ का end-around carry नियम है: जब जोड़ से MSB से बाहर carry निकलता है, तो सही परिणाम पाने के लिए उस carry को LSB में वापस जोड़ दिया जाता है।
In binary multiplication using the simple method, what is the first step after aligning the digits and preparing for multiplication?सरल विधि का उपयोग करके द्विआधारी गुणन में, अंकों को संरेखित करने और गुणन की तैयारी के बाद पहला चरण क्या होता है?
AMultiply the least significant bit (LSB) by the multiplierगुणक द्वारा न्यूनतम महत्वपूर्ण बिट (LSB) को गुणा करना
BMultiply the most significant bit (MSB) by the multiplierगुणक द्वारा उच्चतम महत्वपूर्ण बिट (MSB) को गुणा करना
CMultiply the least significant bit (LSB) by the multiplicandगुणज द्वारा न्यूनतम महत्वपूर्ण बिट (LSB) को गुणा करना
DMultiply the most significant bit (MSB) by the multiplicandगुणज द्वारा उच्चतम महत्वपूर्ण बिट (MSB) को गुणा करना
Show answerHide answer
Correct answer: (A)Multiply the least significant bit (LSB) by the multiplierगुणक द्वारा न्यूनतम महत्वपूर्ण बिट (LSB) को गुणा करना
Explanation
In the shift-and-add method, you begin by multiplying the multiplicand by the least significant bit of the multiplier to get the first partial product. Then you shift and repeat for each higher bit.shift-and-add विधि में सबसे पहले multiplicand को multiplier के सबसे कम महत्व वाले बिट (LSB) से गुणा करके पहला आंशिक गुणनफल (partial product) मिलता है। फिर हर ऊँचे बिट के लिए shift करके यही दोहराया जाता है।
What is the relationship between the distance between parity bits and their error detection and correction capability in Hamming Code?हैमिंग कोड में समता बिट्स के बीच की दूरी और उनकी त्रुटि का पता लगाने और सुधार क्षमता के बीच क्या संबंध है?
ACloser parity bits provide higher error correction capabilityनिकट समता बिट्स उच्च त्रुटि सुधार क्षमता प्रदान करते हैं।
BCloser parity bits provide lower error correction capabilityनिकट समता बिट्स निम्न त्रुटि सुधार क्षमता प्रदान करते हैं।
CDistance between parity bits has no impact on error correction capabilityसमता बिट्स के बीच की दूरी का त्रुटि सुधार क्षमता पर कोई प्रभाव नहीं पड़ता है।
DThe position of parity bits is irrelevant in Hamming Codeहैमिंग कोड में समता बिट्स की स्थिति अप्रासंगिक है।
Show answerHide answer
Correct answer: (B)Closer parity bits provide lower error correction capabilityनिकट समता बिट्स निम्न त्रुटि सुधार क्षमता प्रदान करते हैं।
Explanation
In Hamming code, parity bits sit at positions 1, 2, 4, 8... and each one covers a particular group of bits. The key's idea is that packing parity bits closer gives each one a smaller, overlapping coverage, so the code corrects errors less effectively.Hamming code में parity बिट स्थान 1, 2, 4, 8... पर होते हैं और हर एक बिट्स के एक खास समूह को कवर करता है। कुंजी का विचार है कि parity बिट पास-पास रखने से हर एक का कवरेज छोटा और ओवरलैपिंग हो जाता है, इसलिए कोड त्रुटियों को कम प्रभावी ढंग से सुधारता है।
To convert a Gray Code to its binary equivalent, which technique is commonly used?ग्रे कोड को उसके द्विआधारी समकक्ष में परिवर्तित करने के लिए, आमतौर पर किस तकनीक का उपयोग किया जाता है?
ASubtraction methodघटाव विधि
BAddition methodजोड़ विधि
CExclusive OR (XOR) operationएक्सक्लूसिव OR (XOR) संक्रिया
DDivision methodविभाजन विधि
Show answerHide answer
Correct answer: (C)Exclusive OR (XOR) operationएक्सक्लूसिव OR (XOR) संक्रिया
Explanation
Gray to binary: the MSB is copied, then each next binary bit = previous binary bit XOR the current Gray bit. So the method is the Exclusive-OR operation.Gray से binary: MSB वैसा ही कॉपी होता है, फिर अगला हर binary बिट = पिछला binary बिट XOR वर्तमान Gray बिट। इसलिए विधि Exclusive-OR संक्रिया है।
Which component of an ideal microcomputer is responsible for temporarily holding data and instructions during processing?प्रसंस्करण के दौरान डेटा और निर्देशों को अस्थायी रूप से रखने के लिए एक आदर्श माइक्रो कंप्यूटर का कौन-सा घटक जिम्मेदार होता है?
ACPUसीपीयू (CPU)
BALUएएलयू (ALU)
CMemoryमेमोरी
DOutput devicesआउटपुट उपकरण
Show answerHide answer
Correct answer: (C)Memoryमेमोरी
Explanation
Memory (RAM) temporarily stores the program instructions and data the CPU is working on. The CPU and ALU process data but are not the main storage.मेमोरी (RAM) उन प्रोग्राम निर्देशों और डेटा को अस्थायी रूप से रखती है जिन पर CPU काम कर रहा होता है। CPU और ALU डेटा को प्रोसेस करते हैं, लेकिन मुख्य स्टोरेज नहीं हैं।
How is the width of the data bus typically measured in a microcomputer system?माइक्रो कंप्यूटर सिस्टम में डेटा बस की चौड़ाई आमतौर पर कैसे मापी जाती है?
AIn kilobytes (KB)किलोबाइट (KB) में
BIn megahertz (MHz)मेगाहर्ट्ज़ (MHz) में
CIn bitsबिट्स में
DIn address linesएड्रेस लाइन्स में
Show answerHide answer
Correct answer: (C)In bitsबिट्स में
Explanation
Data bus width is the number of bits sent in parallel at one time (8, 16, 32 or 64 bits). MHz measures clock speed, not width.डेटा बस की चौड़ाई उन बिट्स की संख्या है जो एक समय में समानांतर भेजे जाते हैं (8, 16, 32 या 64 बिट)। MHz क्लॉक स्पीड मापता है, चौड़ाई नहीं।
Microcontrollers find application in various fields. What is a typical application of microcontrollers in the automotive industry?माइक्रोकंट्रोलर के विभिन्न क्षेत्रों में अनुप्रयोग होते हैं। ऑटोमोटिव उद्योग में माइक्रोकंट्रोलर का विशिष्ट अनुप्रयोग क्या है?
AOperating systems for computersकंप्यूटर के लिए ऑपरेटिंग सिस्टम
BEntertainment systems in airplanesहवाई जहाजों में मनोरंजन प्रणालियाँ
CEngine control in carsकारों में इंजन नियंत्रण
DWeather forecasting systemsमौसम पूर्वानुमान प्रणाली
Show answerHide answer
Correct answer: (C)Engine control in carsकारों में इंजन नियंत्रण
Explanation
Cars use embedded microcontrollers in the engine control unit (ECU) to manage fuel injection, ignition timing and emissions in real time.कारों में इंजन कंट्रोल यूनिट (ECU) में एम्बेडेड माइक्रोकंट्रोलर होते हैं जो रियल-टाइम में फ्यूल इंजेक्शन, इग्निशन टाइमिंग और उत्सर्जन को नियंत्रित करते हैं।
Which data structure often results in a time-space tradeoff by using extra memory to speed up operations?संचालन को गति देने के लिए अतिरिक्त मेमोरी का उपयोग करके किस डेटा संरचना के परिणामस्वरूप अक्सर समय-स्थान समझौता होता है?
AArraysसरणियाँ
BLinked listsलिंक्ड सूचियाँ
CHash tablesहैश टेबल
DStacksढेर (स्टैक्स)
Show answerHide answer
Correct answer: (C)Hash tablesहैश टेबल
Explanation
A hash table spends extra memory (a large table of buckets) to get average O(1) search, insert and delete. This is a classic time-space tradeoff.हैश टेबल औसत O(1) खोज, इन्सर्ट और डिलीट पाने के लिए अतिरिक्त मेमोरी (बकेट की बड़ी तालिका) खर्च करती है। यह time-space tradeoff का क्लासिक उदाहरण है।
Which term refers to the strategy of optimizing an algorithm's use of resources, often by making sacrifices in one aspect for improvements in another?कौन-सा पद किसी एल्गोरिदम के संसाधनों के उपयोग को अनुकूलित करने की रणनीति को संदर्भित करता है, अक्सर एक पहलू में दूसरे में सुधार के लिए त्याग करके?
A tradeoff means giving up some of one resource (for example memory) to gain in another (for example speed). Greedy, divide-and-conquer and DP are algorithm design paradigms, not this strategy.Tradeoff का अर्थ है एक संसाधन (जैसे मेमोरी) का कुछ हिस्सा छोड़कर दूसरे (जैसे गति) में लाभ पाना। Greedy, divide-and-conquer और DP एल्गोरिथ्म डिज़ाइन के प्रतिमान हैं, यह रणनीति नहीं।
Conditional asymptotic notation allows for a more nuanced analysis of algorithm behavior under specific conditions. This is particularly useful when:सशर्त स्पर्शोन्मुख संकेतन विशिष्ट परिस्थितियों में एल्गोरिथम व्यवहार के अधिक सूक्ष्म विश्लेषण की अनुमति देता है। यह विशेष रूप से तब उपयोगी होता है जब:
AAnalyzing algorithms with constant time complexityनियत समय जटिलता के साथ एल्गोरिदम का विश्लेषण करना है।
BThe input size is fixedइनपुट का आकार निश्चित होता है।
CThe input data is randomइनपुट डेटा यादृच्छिक होता है।
DAlgorithm behavior varies based on certain input characteristicsएल्गोरिदम व्यवहार कुछ इनपुट विशेषताओं के आधार पर भिन्न होता है।
Show answerHide answer
Correct answer: (D)Algorithm behavior varies based on certain input characteristicsएल्गोरिदम व्यवहार कुछ इनपुट विशेषताओं के आधार पर भिन्न होता है।
Explanation
Conditional asymptotic notation gives a bound that holds only under a condition on n or the input (for example n a power of 2). It helps when an algorithm's behaviour depends on such input characteristics.Conditional asymptotic notation ऐसी सीमा देता है जो केवल n या इनपुट पर किसी शर्त (जैसे n का 2 की घात होना) में लागू होती है। यह तब उपयोगी है जब एल्गोरिथ्म का व्यवहार ऐसे इनपुट गुणों पर निर्भर करता है।
.If an algorithm's behavior is bounded by "o(f(n)) if g(n)", what notation does it become when the condition is removed?यदि किसी एल्गोरिदम का व्यवहार "o(f(n)) if g(n)" से परिबद्ध है, तो शर्त हटा दिए जाने पर यह कौन-सा संकेतन बन जाता है?
Ao(f(n))o(f(n))
Bo(g(n))o(g(n))
Co(f(n) + g(n))o(f(n) + g(n))
Do(f(n) * g(n))o(f(n) * g(n))
Show answerHide answer
Correct answer: (A)o(f(n))o(f(n))
Explanation
Once the condition is dropped and the bound still holds generally, the conditional statement "o(f(n)) if g(n)" just becomes o(f(n)). The bound function stays f(n).जब शर्त हटा दी जाती है और सीमा फिर भी सामान्य रूप से सही रहती है, तो सशर्त कथन "o(f(n)) if g(n)" केवल o(f(n)) बन जाता है। सीमा फलन f(n) ही रहता है।
The recurrence equation T(n) = T(n/2) + 1 represents the time complexity of which algorithmic paradigm?पुनरावृत्ति समीकरण T(n) = T(n/2) + 1 किस एल्गोरिथम प्रतिमान की समय जटिलता को दर्शाता है?
ADivide and Conquerडिवाइड एंड कॉन्कर
BGreedy Algorithmsलुब्ध एल्गोरिथम
CDynamic Programmingगतिक प्रोग्रामिंग
DBrute Forceब्रूट फाॅर्स
Show answerHide answer
Correct answer: (A)Divide and Conquerडिवाइड एंड कॉन्कर
Explanation
T(n) = T(n/2) + 1 halves the problem at each step, as in binary search, a divide-and-conquer algorithm. It solves to O(log n).T(n) = T(n/2) + 1 हर चरण में समस्या को आधा कर देता है, जैसे binary search में, जो एक divide-and-conquer एल्गोरिथ्म है। इसका हल O(log n) है।
Divide and Conquer is an algorithmic paradigm that solves problems by:डिवाइड और कॉन्कर एक एल्गोरिथम प्रतिमान है, जो निम्न द्वारा प्रश्नों को हल करता है:
AIteratively solving subproblemsउप-समस्याओं को पुनरावर्ती रूप से हल करना
BRecursively solving subproblemsउपसमस्याओं को पुनरावर्ती रूप से हल करना
CUsing heuristics to find solutionsहल ज्ञात करने के लिए अनुमान का उपयोग करना
DGreedily combining solutionsलुब्ध रूप से हलों का संयोजन
Show answerHide answer
Correct answer: (B)Recursively solving subproblemsउपसमस्याओं को पुनरावर्ती रूप से हल करना
Explanation
Divide and conquer splits a problem into smaller subproblems of the same type, solves them recursively, and then combines their solutions (for example merge sort or quick sort).Divide and conquer किसी समस्या को उसी प्रकार की छोटी उप-समस्याओं में बाँटता है, उन्हें रिकर्सिवली हल करता है और फिर उनके हल जोड़ता है (जैसे merge sort या quick sort)।
A threaded binary tree is a binary tree in which:सूत्रित द्विआधारी वृक्ष एक द्विआधारी वृक्ष होता है, जिसमें:
AEach node has two childrenप्रत्येक नोड में दो संतति होते हैं।
BEach node has at most one childप्रत्येक नोड में अधिकतम एक संतति होती है।
CEach node is connected to its parentप्रत्येक नोड अपने जनक से जुड़ा होता है।
DEach node has a thread connecting it to its predecessor or successorप्रत्येक नोड में एक धागा होता है जो उसे उसके पूर्ववर्ती या उत्तराधिकारी से जोड़ता है।
Show answerHide answer
Correct answer: (D)Each node has a thread connecting it to its predecessor or successorप्रत्येक नोड में एक धागा होता है जो उसे उसके पूर्ववर्ती या उत्तराधिकारी से जोड़ता है।
Explanation
In a threaded binary tree, NULL child pointers are replaced by "threads" to the node's inorder predecessor or successor. This makes traversal possible without a stack or recursion.threaded binary tree में NULL चाइल्ड पॉइंटर को नोड के inorder predecessor या successor की ओर "threads" से बदल दिया जाता है। इससे स्टैक या रिकर्शन के बिना ट्रैवर्सल संभव होता है।
Which traversal algorithm is typically implemented using a stack data structure?कौन-सा पथक्रमण एल्गोरिदम आमतौर पर स्टैक डेटा संरचना का उपयोग करके कार्यान्वित किया जाता है?
ADFSDFS
BBFSBFS
CBoth DFS and BFSDFS और BFS दोनों
DNeither DFS nor BFSन तो DFS और न ही BFS
Show answerHide answer
Correct answer: (A)DFSDFS
Explanation
DFS goes deep before backtracking, so it uses a stack (explicitly or through recursion). BFS uses a queue.DFS लौटने (backtrack) से पहले गहराई तक जाता है, इसलिए यह स्टैक (सीधे या रिकर्शन से) का उपयोग करता है। BFS क्यू (queue) का उपयोग करता है।
In a directed graph, an edge that points from vertex A to vertex B is denoted as:एक निर्देशित ग्राफ़ में, एक किनारा जो शीर्ष A से शीर्ष B की ओर इंगित करता है, उसे निम्न प्रकार से दर्शाया जाता है:
A(A, B)(A, B)
B[A, B][A, B]
C<A, B><A, B>
D{A, B}{A, B}
Show answerHide answer
Correct answer: (A)(A, B)(A, B)
Explanation
A directed edge is an ordered pair, written (A, B), meaning from A to B. Order matters, unlike an undirected edge {A, B}.निर्देशित (directed) एज एक क्रमित जोड़ी है, जिसे (A, B) लिखा जाता है, यानी A से B की ओर। अनिर्देशित एज {A, B} के विपरीत, यहाँ क्रम मायने रखता है।
Separate chaining involves storing collided elements in separate data structures, typically in:अलग-अलग चेनिंग में संघट्टित अवयवों को अलग-अलग डेटा संरचनाओं में संग्रहीत करना आमतौर पर निम्न में शामिल होता है:
ALinked listsलिंक की गई सूचियाँ
BArraysसरणियाँ
CStacksस्टैक्स
DQueuesपंक्तियाँ
Show answerHide answer
Correct answer: (A)Linked listsलिंक की गई सूचियाँ
Explanation
In separate chaining, each hash table slot points to a linked list that holds all keys hashing to that slot.separate chaining में हर हैश टेबल स्लॉट एक लिंक्ड लिस्ट की ओर इशारा करता है जो उस स्लॉट पर हैश होने वाली सभी कुंजियाँ रखती है।
Which collision resolution technique involves placing collided elements in the next available empty slot in the hash table?किस संघट्ट समाधान तकनीक में संघट्ट किये गए अवयवों को हैश तालिका में अगले उपलब्ध खाली स्थान में रखना शामिल है?
ALinear probingरैखिक जांच
BQuadratic probingद्विघात जांच
CSeparate chainingपृथक श्रृंखला
DDouble hashingद्वि-हैशिंग
Show answerHide answer
Correct answer: (A)Linear probingरैखिक जांच
Explanation
Linear probing: on a collision, check the next slots one by one (h+1, h+2, ...) and put the key in the first empty one. Quadratic probing jumps by squares, and double hashing uses a second hash function.Linear probing: टकराव (collision) होने पर अगले स्लॉट एक-एक करके जाँचें (h+1, h+2, ...) और कुंजी को पहले खाली स्लॉट में रखें। Quadratic probing वर्गों के अंतराल से कूदता है, और double hashing दूसरे हैश फलन का उपयोग करता है।
In the Tower of Hanoi problem with "n" disks, how many moves are required to solve the problem?"n" डिस्क के साथ हनोई टॉवर समस्या में, समस्या को हल करने के लिए कितनी चालों की आवश्यकता है?
Ann
B2n2n
C2^n - 12^n - 1
D2^n2^n
Show answerHide answer
Correct answer: (C)2^n - 12^n - 1
Explanation
T(n) = 2T(n-1) + 1 with T(1) = 1 gives 2^n - 1 moves. For example, 3 disks need 7 moves.T(1) = 1 के साथ T(n) = 2T(n-1) + 1 का हल 2^n - 1 चालें है। उदाहरण के लिए 3 डिस्क के लिए 7 चालें चाहिए।
The process of removing recursion involves replacing recursive function calls with:पुनरावर्तन को हटाने की प्रक्रिया में पुनरावर्ती फलन कॉल को प्रतिस्थापित करना शामिल है:
AMore recursive function callsअधिक पुनरावर्ती फलन कॉल
DNon-recursive function callsगैर-पुनरावर्ती फलन कॉल
Show answerHide answer
Correct answer: (B)Loopsलूप्स
Explanation
Recursion is removed by turning the recursive calls into iteration (loops), often using an explicit stack to keep the state the call stack used to hold.रिकर्शन को हटाने के लिए रिकर्सिव कॉल को इटरेशन (लूप) में बदला जाता है, अक्सर एक स्पष्ट स्टैक का उपयोग करके, जो उस स्थिति को रखता है जिसे कॉल स्टैक रखता था।
A formal model of protection in an operating system provides:ऑपरेटिंग सिस्टम में सुरक्षा का एक औपचारिक मॉडल प्रदान करता है:
AA mathematical framework for analyzing resource allocationसंसाधन आवंटन का विश्लेषण करने के लिए एक गणितीय रूपरेखा
BGuidelines for designing user interfacesयूजर इंटरफेस डिजाइन करने के लिए दिशानिर्देश
CMethods for optimizing memory managementमेमोरी प्रबंधन को अनुकूलित करने के तरीके
DTechniques for improving CPU utilizationसीपीयू उपयोग में सुधार के लिए तकनीकें
Show answerHide answer
Correct answer: (A)A mathematical framework for analyzing resource allocationसंसाधन आवंटन का विश्लेषण करने के लिए एक गणितीय रूपरेखा
Explanation
A formal protection model, such as the access matrix or the Take-Grant model, is a mathematical framework for deciding which subjects can access which objects and resources, so access and allocation can be analysed precisely.औपचारिक सुरक्षा मॉडल, जैसे access matrix या Take-Grant मॉडल, एक गणितीय ढाँचा है जो तय करता है कि कौन से subjects किन objects और संसाधनों तक पहुँच सकते हैं, ताकि पहुँच और आवंटन का सटीक विश्लेषण हो सके।
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.