53 OOP (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)
Which software design approach is based on creating modular, functional components?कौन सा सॉफ्टवेयर डिजाइन दृष्टिकोण मॉड्यूलर, कार्यात्मक घटक बनाने पर आधारित है?
Function-oriented design breaks the system into functions or modules that each perform a well-defined task, using top-down decomposition. Object-oriented design is based on objects and classes instead.Function-oriented design सिस्टम को functions या modules में तोड़ता है जिनमें से हर एक कोई सुपरिभाषित कार्य करता है, top-down decomposition का उपयोग करते हुए। Object-oriented design इसकी जगह objects और classes पर आधारित है।
Q2Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
What is polymorphism in OOP?ओओपी में बहुरूपता क्या है?
AUsing abstract classes onlyकेवल अमूर्त कक्षाओं का उपयोग करना
BThe ability of objects to take on multiple formsवस्तुओं की कई रूपों को लेने की क्षमता
CA type of inheritanceवंशानुक्रम का एक प्रकार
DA method with no implementationबिना किसी कार्यान्वयन के एक विधि
Show answerHide answer
Correct answer: (B)The ability of objects to take on multiple formsवस्तुओं की कई रूपों को लेने की क्षमता
Explanation
Polymorphism ("many forms") lets one interface or method name behave differently depending on the object, through method overloading (compile time) or overriding (run time).Polymorphism ("कई रूप") एक ही interface या method नाम को ऑब्जेक्ट के अनुसार अलग व्यवहार करने देता है, method overloading (compile time) या overriding (run time) के माध्यम से।
Q3Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
What are abstract methods?अमूर्त विधियाँ क्या हैं?
AMethods that are inaccessible to the outside worldविधियाँ जो बाहरी दुनिया के लिए दुर्गम हैं
BMethods that have implementation detailsविधियां जिनमें कार्यान्वयन विवरण हैं
CMethods without a body, defined in an abstract classशरीर के बिना विधियां, एक अमूर्त वर्ग में परिभाषित
DMethods that cannot be inheritedविधियाँ जो विरासत में नहीं मिल सकती हैं
Show answerHide answer
Correct answer: (C)Methods without a body, defined in an abstract classशरीर के बिना विधियां, एक अमूर्त वर्ग में परिभाषित
Explanation
An abstract method is declared without a body (implementation) in an abstract class or interface. Every concrete subclass must override and implement it.Abstract method को abstract class या interface में बिना body (implementation) के घोषित किया जाता है। हर concrete subclass को उसे override और implement करना पड़ता है।
Q4Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
What does the term "method overriding" refer to in OOP?ओओपी में "विधि ओवरराइडिंग" शब्द क्या दर्शाता है?
ACreating multiple methods with the same name in a classएक कक्षा में एक ही नाम के साथ कई विधियां बनाना
BDefining a method in a derived class with the same name as in the base classएक व्युत्पन्न वर्ग में एक विधि को उसी नाम के साथ परिभाषित करना जैसा कि आधार वर्ग में है।
CReimplementing all methods in a class hierarchyवर्ग पदानुक्रम में सभी विधियों को पुन: लागू करना
DDefining private methods in a classएक वर्ग में निजी तरीकों को परिभाषित करना
Show answerHide answer
Correct answer: (B)Defining a method in a derived class with the same name as in the base classएक व्युत्पन्न वर्ग में एक विधि को उसी नाम के साथ परिभाषित करना जैसा कि आधार वर्ग में है।
Explanation
Method overriding means a subclass redefines a method that has the same name, parameters and return type as one in its superclass. Same-name methods within one class with different parameters is overloading.Method overriding का अर्थ है कि subclass उस method को दोबारा परिभाषित करती है जिसका नाम, parameters और return type उसकी superclass के method जैसा ही हो। एक ही class में अलग parameters वाले समान नाम के methods overloading हैं।
Q5Bihar STET 2024 Paper II Computer Science, 12 Jun 2024, Shift 1 (10:00 AM)
The components expert system is/ areघटक विशेषज्ञ प्रणाली है/ हैं
AKnowledge Baseज्ञान आधार
BInference Engineअनुमान इंजन
CUser Interfaceयूजर इंटरफ़ेस
DAll of theseये सभी
Show answerHide answer
Correct answer: (D)All of theseये सभी
Explanation
An expert system has a knowledge base (facts and rules), an inference engine that reasons with them, and a user interface for interaction. So all three are its components.Expert system में एक knowledge base (तथ्य और नियम), एक inference engine जो उनसे तर्क करता है, और संवाद के लिए एक user interface होता है। इसलिए तीनों इसके घटक हैं।
Q6Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
What is the purpose of data abstraction in OOP?ओओपी में डेटा एब्स्ट्रक्शन का उद्देश्य क्या है?
ATo hide the implementation detailsकार्यान्वयन विवरण को छिपाने के लिए
BTo expose all internal detailsसभी आंतरिक विवरणों को उजागर करना
CTo limit the scope of dataडेटा के दायरे को सीमित करना
DTo make methods publicविधियों को सार्वजनिक करना
Show answerHide answer
Correct answer: (A)To hide the implementation detailsकार्यान्वयन विवरण को छिपाने के लिए
Explanation
Data abstraction shows only the essential features of an object and hides how they are implemented.Data abstraction किसी ऑब्जेक्ट की केवल आवश्यक विशेषताएँ दिखाता है और यह छिपाता है कि वे कैसे लागू की गई हैं।
Q7Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
What is the primary function of a namespace in OOP?ओओपी में नेमस्पेस का प्राथमिक कार्य क्या है?
AGroup related classes and functionsसमूह से संबंधित कक्षाएं और कार्य
BManage object referencesऑब्जेक्ट संदर्भों का प्रबंधन करें
CDefine instance variablesइंस्टेंस चर को परिभाषित करें
DStore data valuesडेटा मान संग्रहीत करें
Show answerHide answer
Correct answer: (A)Group related classes and functionsसमूह से संबंधित कक्षाएं और कार्य
Explanation
A namespace groups related classes, functions and variables under one name, which keeps code organized and avoids name clashes.Namespace संबंधित classes, functions और variables को एक नाम के अंतर्गत समूहित करता है, जिससे कोड व्यवस्थित रहता है और नामों का टकराव नहीं होता।
Q8Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 2 (3:00 PM)
In OOP, what is the purpose of the "this" keyword?ओओपी में, "इस" कीवर्ड का उद्देश्य क्या है?
ATo create a new instance of a classएक वर्ग का एक नया उदाहरण बनाने के लिए
BTo refer to the superclassसुपरक्लास को संदर्भित करने के लिए
CTo call a static methodएक स्थिर विधि को कॉल करना
DTo refer to the current instance of a classएक वर्ग के वर्तमान उदाहरण को संदर्भित करना
Show answerHide answer
Correct answer: (D)To refer to the current instance of a classएक वर्ग के वर्तमान उदाहरण को संदर्भित करना
Explanation
In OOP, 'this' is a reference to the current object, the instance whose method is running. It is used, for example, to tell fields apart from parameters with the same name.OOP में 'this' वर्तमान ऑब्जेक्ट का संदर्भ है, यानी वह instance जिसका method चल रहा है। इसका उपयोग, उदाहरण के लिए, उसी नाम वाले fields और parameters में अंतर करने के लिए होता है।
Q9Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
Which of the following refers to the level of data abstraction that describes exactly how the data actually stored?निम्नलिखित में से कौन सा डेटा अमूर्ता के स्तर को संदर्भित करता है जो बताता है कि डेटा वास्तव में कैसे संग्रहीत किया जाता है?
AConceptual Levelवैचारिक स्तर
BPhysical Levelशारीरिक स्तर
CFile Levelफ़ाइल स्तर
DLogical Levelतार्किक स्तर
Show answerHide answer
Correct answer: (C)File Levelफ़ाइल स्तर
Explanation
Official answer key: (c) File Level
Correct answer should be: (b) Physical Level
In the three-level architecture, the Physical (internal) level describes how data is actually stored.
Scoring follows the official key.आधिकारिक उत्तर कुंजी: (c) File Level
सही उत्तर होना चाहिए: (b) Physical Level
तीन-स्तरीय आर्किटेक्चर में Physical (internal) स्तर बताता है कि डेटा वास्तव में कैसे संग्रहीत है।
स्कोरिंग आधिकारिक कुंजी के अनुसार है।
Q10Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
What is the primary purpose of Software Requirements Specification (SRS) documents?सॉफ्टवेयर आवश्यकताविनिर्देश (एसआरएस) दस्तावेजों का प्राथमिक उद्देश्य क्या है?
ATo list the programming languages usedउपयोग की जाने वाली प्रोग्रामिंग भाषाओं को सूचीबद्ध करने के लिए
BTo describe the user interface designउपयोगकर्ता इंटरफ़ेस डिजाइन का वर्णन करने के लिए
CTo define the software's functional and non-functional requirementsसॉफ्टवेयर की कार्यात्मक और गैर-कार्यात्मक आवश्यकताओं को परिभाषित करने के लिए
DTo specify the hardware components requiredआवश्यक हार्डवेयर घटकों को निर्दिष्ट करने के लिए
Show answerHide answer
Correct answer: (C)To define the software's functional and non-functional requirementsसॉफ्टवेयर की कार्यात्मक और गैर-कार्यात्मक आवश्यकताओं को परिभाषित करने के लिए
Explanation
An SRS specifies what the software must do (functional requirements) and its quality constraints such as performance and security (non-functional requirements).SRS बताता है कि सॉफ्टवेयर को क्या करना है (functional requirements) और उसकी गुणवत्ता संबंधी बाधाएँ, जैसे प्रदर्शन और सुरक्षा (non-functional requirements)।
Q11Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
Which type of method does not have an implementation in the base class and must be overridden by derived classes?किस प्रकार की विधि का आधार वर्ग में कार्यान्वयन नहीं है और इसे व्युत्पन्न वर्गों द्वारा ओवरराइड किया जाना चाहिए?
AVirtual methodआभासी विधि
BAbstract methodसार विधि
CSealed methodसीलबंद विधि
DStatic methodस्थैतिक विधि
Show answerHide answer
Correct answer: (B)Abstract methodसार विधि
Explanation
An abstract method is declared without a body in an abstract base class, and every concrete derived class must override it.Abstract method को abstract base class में बिना body के घोषित किया जाता है, और हर concrete derived class को उसे override करना ही पड़ता है।
Q12Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
What is the term for the ability of a class to provide different implementations of a method based on the input parameters?इनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के लिए शब्द क्या है?
AOverloadingओवरलोडिंग
BPolymorphismबहुरूपता
CInheritanceवंशानुक्रम
DEncapsulationएनकैप्सुलेशन
Show answerHide answer
Correct answer: (A)Overloadingओवरलोडिंग
Explanation
Method overloading chooses which implementation to run from the number and types of arguments passed (compile-time polymorphism).Method overloading में, पास किए गए arguments की संख्या और प्रकार देखकर तय होता है कि कौन-सा implementation चलेगा (compile-time polymorphism)।
Q13Bihar STET 2024 Paper II Computer Science, 11 Jun 2024, Shift 1 (10:00 AM)
MIDI stands for?मिडी के लिए खड़ा है?
Amusic instruction digital interface.संगीत निर्देश डिजिटल इंटरफ़ेस।
Bmusical instrument digital interface.संगीत वाद्यंत्र डिजिटल इंटरफ़ेस।
Correct answer: (B)musical instrument digital interface.संगीत वाद्यंत्र डिजिटल इंटरफ़ेस।
Explanation
MIDI stands for Musical Instrument Digital Interface, a protocol that lets electronic instruments and computers exchange music data.MIDI का पूरा नाम Musical Instrument Digital Interface है, एक प्रोटोकॉल जिससे इलेक्ट्रॉनिक वाद्ययंत्र और कंप्यूटर संगीत का डेटा आपस में बाँट सकते हैं।
What is the term for defining multiple methods in a class with the same name but different parameters?
AOverriding
BOverloading
CInheriting
DInheritance
Show answerHide answer
Correct answer: (B) Overloading
Explanation
Overloading means several methods in the same class share a name but have different parameter lists; overriding redefines an inherited method with the same signature.
What is the term for a condition that occurs during program execution that disrupts the normal flow of instructions?
AAbstraction
BInheritance
CException
DEncapsulation
Show answerHide answer
Correct answer: (C) Exception
Explanation
An exception is a runtime event (e.g. divide by zero) that disrupts the normal flow of instructions and can be caught and handled.
Q19Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which keyword is used to define an abstract method within an abstract class?एक अमूर्त वर्ग के भीतर एक अमूर्त विधि को परिभाषित करने के लिए किस कीवर्ड का उपयोग किया
जाता है?
Aabstractसार
Bvirtualआभासी
Coverrideओवरराइड
Dimplementकार्यान्वित करना
Show answerHide answer
Correct answer: (A)abstractसार
Explanation
In Java and C#, the keyword abstract declares a method with no body that subclasses must implement. virtual and override are about overriding, and implement is not a keyword.Java और C# में abstract कीवर्ड बिना body वाली ऐसी मेथड घोषित करता है जिसे subclass को लागू करना होता है। virtual और override overriding से जुड़े हैं, और implement कीवर्ड नहीं है।
Q20Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
What is the term for a variable that references an instance of a class?एक चर के लिए शब्द क्या है जो एक वर्ग के उदाहरण को संदर्भित करता है?
APropertyसंपत्ति
BMethodविधि
CObjectवस्तु
DConstructorकन्स्ट्रक्टर
Show answerHide answer
Correct answer: (C)Objectवस्तु
Explanation
An object is an instance of a class, and a variable that refers to that instance is an object reference. Properties, methods and constructors are members of a class.ऑब्जेक्ट किसी क्लास का instance है, और उस instance की ओर संकेत करने वाला वेरिएबल object reference है। Property, मेथड और constructor क्लास के सदस्य हैं।
Q21Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which term is used to describe the ability of different classes to be treated as objects of
the same parent class?किस शब्द का उपयोग विभिन्न वर्गों की क्षमता का वर्णन करने के लिए किया जाता है जिसे एक ही मूल वर्ग
की वस्तुओं के रूप में माना जाता है?
AOverloadingओवरलोडिंग
BPolymorphismबहुरूपता
CAbstractionअमूर्ता
DEncapsulationएनकैप्सुलेशन
Show answerHide answer
Correct answer: (B)Polymorphismबहुरूपता
Explanation
Polymorphism lets objects of different subclasses be treated as objects of their common parent class, and each responds to the same method call in its own way.Polymorphism अलग-अलग subclass के ऑब्जेक्ट को उनकी साझा parent क्लास के ऑब्जेक्ट की तरह बरतने देता है, और हर एक उसी मेथड कॉल पर अपने ढंग से प्रतिक्रिया देता है।
Q22Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
What is the difference between a URL and a web address?URL और वेब एड्रेस में क्या अंतर है?
AA URL is a Uniform Resource Locator, while a web address is away to identify a website on the internet.URL एक यूनिफ़ॉर्म रिसोर्स लोकेटर है, जबकि वेब एड्रेस इंटरनेट पर किसी वेबसाइट की पहचान करने
का एकतरीका है।
BA URL is a software program, while a web address is ahardware device.URL एक सॉफ़्टवेयर प्रोग्राम है, जबकि वेब एड्रेस एकहार्डवेयर डिवाइस है।
CA URL is a physical object, while a web address is a logicalobject.URL एक भौतिक ऑब्जेक्ट है, जबकि वेब एड्रेस एक तार्किकऑब्जेक्ट है।
DAll of the above.उपरोक्त सभी।
Show answerHide answer
Correct answer: (A)A URL is a Uniform Resource Locator, while a web address is away to identify a website on the internet.URL एक यूनिफ़ॉर्म रिसोर्स लोकेटर है, जबकि वेब एड्रेस इंटरनेट पर किसी वेबसाइट की पहचान करने
का एकतरीका है।
Explanation
URL stands for Uniform Resource Locator, the complete address of a specific resource, while a web address is the everyday name for a site's location on the internet. Neither is hardware or a physical object.URL का अर्थ Uniform Resource Locator है, जो किसी विशिष्ट संसाधन का पूरा पता है, जबकि web address इंटरनेट पर साइट की जगह का रोज़मर्रा का नाम है। दोनों हार्डवेयर या भौतिक वस्तु नहीं हैं।
Q23Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
The term "multi-user" in an OS context refers to:एक ओएस संदर्भ में "मल्टी-यूज़र" शब्द को संदर्भित करता है:
AAn OS that can execute multiple programs simultaneouslyएक OS जो एक साथ कई कार्यक्रमों को निष्पादित कर सकता है
BAn OS that supports multiple users working on the same machineएक OS जो एक ही मशीन पर काम करने वाले कई उपयोगकर्ताओं का समर्थन करता है
CAn OS that can only run on multiple computersएक ओएस जो केवल कई कंप्यूटरों पर चल सकता है
DAn OS with a graphical user interfaceएक ग्राफिकल उपयोगकर्ता इंटरफ़ेस के साथ एक ओएस
Show answerHide answer
Correct answer: (B)An OS that supports multiple users working on the same machineएक OS जो एक ही मशीन पर काम करने वाले कई उपयोगकर्ताओं का समर्थन करता है
Explanation
A multi-user OS lets several users use the same computer's resources at once or in turn, each with their own account, as in Unix and Linux.Multi-user OS कई उपयोगकर्ताओं को एक ही कंप्यूटर के संसाधन एक साथ या बारी-बारी से उपयोग करने देता है, हर एक अपने खाते के साथ, जैसे Unix और Linux में।
Q24Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
Which keyword is used to create an instance of a class in most programming
languages?अधिकांश प्रोग्रामिंग भाषाओं में एक वर्ग का उदाहरण बनाने के लिए किस कीवर्ड का उपयोग किया जाता
है?
Aallocएलोक
Bnewनया
Ccreateबनाएँ
Dinstanceउदाहरण
Show answerHide answer
Correct answer: (B)newनया
Explanation
The keyword new creates (instantiates) an object of a class in languages like Java, C++, C# and JavaScript, for example obj = new ClassName().Java, C++, C# और JavaScript जैसी भाषाओं में कीवर्ड new क्लास का ऑब्जेक्ट बनाता (instantiate करता) है, जैसे obj = new ClassName()।
Q25Bihar STET 2025 Paper II Computer Science, 7 Nov 2025, Shift 1 (9:00 AM)
which of the following is/ are components of Expert Systems?निम्नलिखित में से कौन सा है/ विशेषज्ञ प्रणालियों के घटक हैं?
AKnowledge BaseKnowledge Base
BInference logicInference logic
CUser InterfaceUser Interface
DAll of the aboveAll of the above
Show answerHide answer
Correct answer: (D)All of the aboveAll of the above
Explanation
An expert system consists of a knowledge base, an inference engine that applies logic to that knowledge, and a user interface. So all of the listed parts are components.Expert system में knowledge base, उस ज्ञान पर तर्क लगाने वाला inference engine और user interface होते हैं। इसलिए सूचीबद्ध सभी भाग घटक हैं।
Q26Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which type of method does not have an implementation in the base class and must be
overridden by derived classes?किस प्रकार की विधि का आधार वर्ग में कार्यान्वयन नहीं है और इसे व्युत्पन्न वर्गों द्वारा ओवरराइड किया
जाना चाहिए?
AVirtual methodआभासी विधि
BAbstract methodसार विधि
CSealed methodसीलबंद विधि
DStatic methodस्थैतिक विधि
Show answerHide answer
Correct answer: (B)Abstract methodसार विधि
Explanation
An abstract method is only declared in the base class, with no body, and every concrete derived class must override it. A virtual method has a default implementation that may optionally be overridden.Abstract मेथड केवल base क्लास में घोषित होती है, बिना body के, और हर concrete व्युत्पन्न क्लास को उसे override करना पड़ता है। Virtual मेथड का डिफ़ॉल्ट कार्यान्वयन होता है जिसे वैकल्पिक रूप से override किया जा सकता है।
Q27Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which of the following refers to the level of data abstraction that describes exactly how
the data actually stored?निम्नलिखित में से कौन सा डेटा अमूर्ता के स्तर को संदर्भित करता है जो बताता है कि डेटा वास्तव में
कैसे संग्रहीत किया जाता है?
AConceptual Levelवैचारिक स्तर
BPhysical Levelशारीरिक स्तर
CFile Levelफ़ाइल स्तर
DLogical Levelतार्किक स्तर
Show answerHide answer
Correct answer: (C)File Levelफ़ाइल स्तर
Explanation
Note: the answer key gives (C), but the level that describes exactly how data is actually stored is the Physical (internal) level, option B. The same question appears later in this paper, keyed B.नोट: आधिकारिक उत्तर कुंजी (C) देती है, लेकिन जो स्तर बताता है कि डेटा वास्तव में कैसे संग्रहीत है, वह Physical (internal) स्तर, यानी विकल्प B है। यही प्रश्न इस प्रश्नपत्र में आगे भी आता है, वहाँ कुंजी B है।
Q28Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
What is the term for defining multiple methods in a class with the same name but
different parameters?एक ही नाम लेकिन अलग-अलग मापदंडों के साथ एक कक्षा में कई विधियों को परिभाषित करने के लिए
क्या शब्द है?
AOverridingअभिभावी
BOverloadingओवरलोडिंग
CInheritingविरासत में
DInheritanceवंशानुक्रम
Show answerHide answer
Correct answer: (B)Overloadingओवरलोडिंग
Explanation
Overloading means several methods in the same class share a name but differ in their parameter lists. Overriding means redefining a parent's method with the same signature in a subclass.Overloading में एक ही क्लास की कई मेथड का नाम समान पर पैरामीटर सूची अलग होती है। Overriding में subclass में parent की मेथड को उसी signature के साथ दोबारा परिभाषित किया जाता है।
Q29Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which programming paradigm focuses on breaking down a program into smaller
procedures or functions?कौन सा प्रोग्रामिंग प्रतिमान एक प्रोग्राम को छोटी प्रक्रियाओं या कार्यों में तोड़ने पर केंद्रित है?
Procedural programming (as in C) builds a program as a set of procedures or functions, each doing part of the task. OOP instead organises code around objects.Procedural programming (जैसे C में) प्रोग्राम को procedure या फ़ंक्शन के समूह के रूप में बनाती है, जिनमें हर एक कार्य का भाग करता है। OOP इसके बजाय कोड को ऑब्जेक्ट के आसपास व्यवस्थित करती है।
Q30Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which keyword is used to indicate that a class cannot be inherited by other classes?किस कीवर्ड का उपयोग यह इंगित करने के लिए किया जाता है कि एक वर्ग अन्य वर्गों द्वारा विरासत में
नहीं लिया जा सकता है?
Asealedसील
Bfinalअंतिम
Cprivateनिजी
Dstaticस्थैतिक
Show answerHide answer
Correct answer: (A)sealedसील
Explanation
In C#, the sealed keyword stops a class from being inherited. In Java the same effect comes from final. The key takes the C# term.C# में sealed कीवर्ड क्लास को विरासत में लिए जाने से रोकता है। Java में यही प्रभाव final से मिलता है। कुंजी C# का शब्द लेती है।
Q31Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
Which of the following refers to the level of data abstraction that describes exactly how
the data stored?निम्नलिखित में से कौन सा डेटा अमूर्ता के स्तर को संदर्भित करता है जो बताता है कि डेटा कैसे संग्रहीत
किया जाता है?
AConceptual Levelवैचारिक स्तर
BPhysical Levelशारीरिक स्तर
CFile Levelफ़ाइल स्तर
DLogical Levelतार्किक स्तर
Show answerHide answer
Correct answer: (B)Physical Levelशारीरिक स्तर
Explanation
The physical (internal) level describes how data is actually stored on disk: file structures, indexes and storage blocks. The logical level describes what data is stored.Physical (internal) स्तर बताता है कि डेटा डिस्क पर वास्तव में कैसे संग्रहीत है: फाइल संरचनाएँ, index और स्टोरेज ब्लॉक। Logical स्तर बताता है कि कौन सा डेटा संग्रहीत है।
Q32Bihar STET 2025 Paper II Computer Science, 4 Nov 2025, Shift 2 (2:00 PM)
What is the primary purpose of Software Requirements Specification (SRS)
documents?सॉफ्टवेयर आवश्यकताविनिर्देश (एसआरएस) दस्तावेजों का प्राथमिक उद्देश्य क्या है?
ATo list the programming languages usedउपयोग की जाने वाली प्रोग्रामिंग भाषाओं को सूचीबद्ध करने के लिए
BTo describe the user interface designउपयोगकर्ता इंटरफ़ेस डिजाइन का वर्णन करने के लिए
CTo define the software's functional and non-functional requirementsसॉफ्टवेयर की कार्यात्मक और गैर-कार्यात्मक आवश्यकताओं को परिभाषित करने के लिए
DTo specify the hardware components requiredआवश्यक हार्डवेयर घटकों को निर्दिष्ट करने के लिए
Show answerHide answer
Correct answer: (C)To define the software's functional and non-functional requirementsसॉफ्टवेयर की कार्यात्मक और गैर-कार्यात्मक आवश्यकताओं को परिभाषित करने के लिए
Explanation
An SRS document records what the software must do (functional requirements) and the constraints it must meet, such as performance and security (non-functional requirements).SRS दस्तावेज़ दर्ज करता है कि सॉफ़्टवेयर को क्या करना है (functional आवश्यकताएँ) और किन बाध्यताओं को पूरा करना है, जैसे प्रदर्शन और सुरक्षा (non-functional आवश्यकताएँ)।
Q33Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
Which concept allows a class to inherit properties and behaviors from multiple
classes?कौन सी अवधारणा एक वर्ग को कई वर्गों से गुणों और व्यवहारों को विरासत में लेने की अनुमति देती है?
Multiple inheritance is the specific feature where one class inherits from more than one parent class (e.g. class C(A, B) in Python). Plain "inheritance" only means deriving from a base class.Multiple inheritance वह विशेष सुविधा है जिसमें एक क्लास एक से अधिक parent क्लास से विरासत लेती है (जैसे Python में class C(A, B))। सादा "inheritance" केवल base क्लास से व्युत्पन्न होना है।
Q34Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
What is the term for creating a new class based on an existing class?मौजूदा वर्ग के आधार पर एक नया वर्ग बनाने के लिए क्या शब्द है?
AOverridingअभिभावी
BImplementingकार्यान्वयन
CInheritingविरासत में
DOverloadingओवरलोडिंग
Show answerHide answer
Correct answer: (C)Inheritingविरासत में
Explanation
Creating a new class (subclass) from an existing class (base class) is inheritance; the new class gets the properties and methods of the base.मौजूदा क्लास (base class) से नई क्लास (subclass) बनाना inheritance है; नई क्लास को base की प्रॉपर्टी और मेथड मिलती हैं।
Q35Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
In OOP, which term refers to a mechanism by which a class can inherit properties and
behaviors from another class?ओओपी में, कौन सा शब्द एक तंत्र को संदर्भित करता है जिसके द्वारा एक वर्ग दूसरे वर्ग से गुणों और
व्यवहारों को प्राप्त कर सकता है?
APolymorphismबहुरूपता
BAbstractionअमूर्ता
CEncapsulationएनकैप्सुलेशन
DInheritanceवंशानुक्रम
Show answerHide answer
Correct answer: (D)Inheritanceवंशानुक्रम
Explanation
Inheritance lets a class (child) acquire the properties and behaviours of another class (parent), allowing code reuse.Inheritance एक क्लास (child) को दूसरी क्लास (parent) की प्रॉपर्टी और व्यवहार पाने देती है, जिससे कोड का पुनः उपयोग होता है।
Q36Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
The components expert system is/ areघटक विशेषज्ञ प्रणाली है/ हैं
AKnowledge Baseज्ञानाधार
BInference Engineअनुमान इंजन
CUser Interfaceप्रयोक्ता इंटरफ़ेस
DAll of the aboveऊपर के सभी
Show answerHide answer
Correct answer: (D)All of the aboveऊपर के सभी
Explanation
An expert system has a knowledge base (facts and rules), an inference engine (reasoning) and a user interface. All three are its components.Expert system में knowledge base (तथ्य और नियम), inference engine (तर्क) और user interface होते हैं। तीनों उसके घटक हैं।
Q37Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
What is the primary purpose of an interface in OOP?ओओपी में इंटरफ़ेस का प्राथमिक उद्देश्य क्या है?
ATo provide a blueprint for creating objectsऑब्जेक्ट्स बनाने के लिए एक ब्लूप्रिंट प्रदान करना
BTo define a set of methods that must be implemented by implementing classesविधियों के एक सेट को परिभाषित करना जिसे कक्षाओं को लागू करके लागू किया जाना चाहिए
CTo define constructors for classesवर्गों के लिए कन्स्ट्रक्टर को परिभाषित करना
DTo create static methodsस्थैतिक विधियों का निर्माण करना
Show answerHide answer
Correct answer: (B)To define a set of methods that must be implemented by implementing classesविधियों के एक सेट को परिभाषित करना जिसे कक्षाओं को लागू करके लागू किया जाना चाहिए
Explanation
An interface declares a set of methods (a contract) that every implementing class must define. It provides no implementation itself.Interface मेथड का समूह (अनुबंध) घोषित करता है जिसे हर लागू करने वाली क्लास को परिभाषित करना होता है। वह स्वयं कोई कार्यान्वयन नहीं देता।
Q38Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
What is the purpose of a destructor in OOP?ओओपी में एक विनाशक का उद्देश्य क्या है?
ATo create instances of classesकक्षाओं के उदाहरण बनाने के लिए
BTo handle exceptionsअपवादों को संभालने के लिए
CTo free up resources when an object is destroyedकिसी वस्तु के नष्ट होने पर संसाधनों को मुक्त करना
DTo define default values for propertiesगुणों के लिए डिफ़ॉल्ट मान निर्धारित करना
Show answerHide answer
Correct answer: (C)To free up resources when an object is destroyedकिसी वस्तु के नष्ट होने पर संसाधनों को मुक्त करना
Explanation
A destructor runs automatically when an object is destroyed and releases its resources, such as memory, files or network connections.Destructor ऑब्जेक्ट नष्ट होने पर अपने आप चलता है और उसके संसाधन, जैसे मेमोरी, फाइलें या नेटवर्क कनेक्शन, मुक्त करता है।
Q39Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 2 (2:00 PM)
Which concept allows a subclass to provide a specific implementation of a method that
is already defined in the superclass?कौन सी अवधारणा एक उपवर्ग को एक विधि का एक विशिष्ट कार्यान्वयन प्रदान करने की अनुमति देती है
जो पहले से ही सुपरक्लास में परिभाषित है?
AOverloadingओवरलोडिंग
BInheritanceवंशानुक्रम
CPolymorphismबहुरूपता
DOverridingअभिभावी
Show answerHide answer
Correct answer: (D)Overridingअभिभावी
Explanation
Method overriding lets a subclass provide its own implementation of a method already defined in its superclass, with the same name and signature. Overloading means the same name with different parameters.Method overriding में subclass अपनी superclass में पहले से परिभाषित मेथड का अपना कार्यान्वयन देती है, उसी नाम और signature के साथ। Overloading में नाम वही रहता है पर पैरामीटर अलग होते हैं।
Q40Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the term for the ability of a class to provide different implementations of a
method based on the input parameters?इनपुट मापदंडों के आधार पर एक विधि के विभिन्न कार्यान्वयन प्रदान करने के लिए एक वर्ग की क्षमता के
लिए शब्द क्या है?
AOverloadingओवरलोडिंग
BPolymorphismबहुरूपता
CInheritanceवंशानुक्रम
DEncapsulationएनकैप्सुलेशन
Show answerHide answer
Correct answer: (A)Overloadingओवरलोडिंग
Explanation
Overloading means defining several methods with the same name but different parameter lists; the version called depends on the arguments passed. It is a form of compile-time polymorphism.Overloading का अर्थ है एक ही नाम की कई मेथड बनाना जिनकी पैरामीटर सूची अलग हो; कौन सी चलेगी यह दिए गए आर्गुमेंट पर निर्भर करता है। यह compile-time polymorphism का रूप है।
Q41Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the purpose of a constructor in OOP?ओओपी में एक कंस्ट्रक्टर का उद्देश्य क्या है?
ATo destroy objectsवस्तुओं को नष्ट करना
BTo create instances of abstract classesअमूर्त वर्गों के उदाहरण बनाने के लिए
CTo initialize object propertiesऑब्जेक्ट गुणों को प्रारंभ करना
DTo define abstract methodsअमूर्त विधियों को परिभाषित करना
Show answerHide answer
Correct answer: (C)To initialize object propertiesऑब्जेक्ट गुणों को प्रारंभ करना
Explanation
A constructor is a special method that runs automatically when an object is created and sets the initial values of its properties. Destroying objects is the job of a destructor.कंस्ट्रक्टर एक विशेष मेथड है जो ऑब्जेक्ट बनते ही अपने आप चलती है और उसकी प्रॉपर्टी के शुरुआती मान तय करती है। ऑब्जेक्ट नष्ट करने का काम डिस्ट्रक्टर का है।
Q42Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the main advantage of using abstract classes over interfaces?इंटरफेस पर अमूर्त कक्षाओं का उपयोग करने का मुख्य लाभ क्या है?
AAbstract classes can have multiple inheritance, unlike interfacesसार वर्गों में इंटरफेस के विपरीत कई वंशानुक्रम हो सकते हैं
BInterfaces can have constructors, while abstract classes cannotइंटरफेस में कन्स्ट्रक्टर हो सकते हैं, जबकि अमूर्त वर्ग नहीं हो सकते हैं।
CAbstract classes can provide default implementations of methodsअमूर्त कक्षाएं विधियों के डिफ़ॉल्ट कार्यान्वयन प्रदान कर सकती हैं
DInterfaces allow for private access modifiers, unlike abstract classesइंटरफेस अमूर्त वर्गों के विपरीत, निजी पहुंच संशोधक के लिए अनुमति देते हैं।
Show answerHide answer
Correct answer: (C)Abstract classes can provide default implementations of methodsअमूर्त कक्षाएं विधियों के डिफ़ॉल्ट कार्यान्वयन प्रदान कर सकती हैं
Explanation
An abstract class can contain fully implemented (concrete) methods along with abstract ones, so subclasses inherit default behaviour. A classic interface only declares methods.Abstract class में abstract मेथड के साथ पूरी तरह लागू (concrete) मेथड भी हो सकती हैं, इसलिए सबक्लास को डिफ़ॉल्ट व्यवहार विरासत में मिलता है। पारंपरिक interface केवल मेथड घोषित करता है।
Q43Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the difference between a website and a web page?वेबसाइट और वेब पेज में क्या अंतर है?
AA website is a collection of web pages, while a web page is a single document that is displayed on the web.वेबसाइट वेब पेजों का एक संग्रह है, जबकि वेब पेज एकएकल दस्तावेज़ है जो वेब पर प्रदर्शित होता है।
BA website is a software program, while a web page is a hardware device.वेबसाइट एक सॉफ़्टवेयर प्रोग्राम है, जबकि वेब पेज एकहार्डवेयर उपकरण है।
CA website is a physical object, while a web page is a logical object.वेबसाइट एक भौतिक वस्तु है, जबकि वेब पेज एक तार्किक वस्तु है।
DAll of the above.उपरोक्त सभी।
Show answerHide answer
Correct answer: (A)A website is a collection of web pages, while a web page is a single document that is displayed on the web.वेबसाइट वेब पेजों का एक संग्रह है, जबकि वेब पेज एकएकल दस्तावेज़ है जो वेब पर प्रदर्शित होता है।
Explanation
A website is a set of linked web pages under one domain, while a web page is a single document within it. Both are software (content), not hardware or physical objects.वेबसाइट एक डोमेन के अंतर्गत जुड़े वेब पेजों का समूह है, जबकि वेब पेज उसके भीतर एक अकेला दस्तावेज़ है। दोनों सॉफ़्टवेयर (सामग्री) हैं, हार्डवेयर या भौतिक वस्तुएँ नहीं।
Q44Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
What is the term for a condition that occurs during program execution that disrupts the
normal flow of instructions?प्रोग्राम निष्पादन के दौरान होने वाली स्थिति के लिए शब्द क्या है जो निर्देशों के सामान्य प्रवाह को बाधित
करता है?
AAbstractionअमूर्ता
BInheritanceवंशानुक्रम
CExceptionअपवाद
DEncapsulationएनकैप्सुलेशन
Show answerHide answer
Correct answer: (C)Exceptionअपवाद
Explanation
An exception is an event during execution, such as division by zero or a missing file, that disrupts the normal flow of instructions. It can be handled with try/except or try/catch.Exception निष्पादन के दौरान की ऐसी घटना है, जैसे शून्य से भाग या गायब फाइल, जो निर्देशों के सामान्य प्रवाह को बाधित करती है। इसे try/except या try/catch से संभाला जा सकता है।
Q45Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
In OOP, what is method overloading?ओओपी में, विधि ओवरलोडिंग क्या है?
BUsing multiple inheritanceएकाधिक विरासत का उपयोग करना
CDefining multiple methods with the same name but different parametersएक ही नाम लेकिन विभिन्न मापदंडों के साथ कई विधियों को परिभाषित करना
DInheriting multiple methods from a parent classमाता-पिता वर्ग से कई तरीकों को विरासत में लेना
Show answerHide answer
Correct answer: (C)Defining multiple methods with the same name but different parametersएक ही नाम लेकिन विभिन्न मापदंडों के साथ कई विधियों को परिभाषित करना
Explanation
Method overloading means defining several methods with the same name in a class but with different numbers or types of parameters; the compiler picks the right one from the call.Method overloading का अर्थ है क्लास में एक ही नाम की कई मेथड बनाना जिनके पैरामीटर की संख्या या प्रकार अलग हों; कंपाइलर कॉल देखकर सही मेथड चुनता है।
Q46Bihar STET 2025 Paper II Computer Science, 3 Nov 2025, Shift 1 (9:00 AM)
In OOP, what does the term "method signature" refer to?ओओपी में, "विधि हस्ताक्षर" शब्द क्या दर्शाता है?
AThe name of the methodविधि का नाम
BThe return type of the methodविधि का वापसी प्रकार
CThe parameters of the methodविधि के पैरामीटर
DThe combination of method name and parameter typesविधि नाम और पैरामीटर प्रकारों का संयोजन
Show answerHide answer
Correct answer: (D)The combination of method name and parameter typesविधि नाम और पैरामीटर प्रकारों का संयोजन
Explanation
A method signature is the method's name together with its parameter list (number, types and order). In Java and C++ the return type is not part of it, which is why overloads must differ in parameters.Method signature मेथड का नाम और उसकी पैरामीटर सूची (संख्या, प्रकार और क्रम) है। Java और C++ में return type इसका हिस्सा नहीं होता, इसीलिए overload के पैरामीटर अलग होने चाहिए।
Which keyword is used to create an instance of a class in most programming languages?अधिकांश प्रोग्रामिंग लैंग्वेज में क्लास का इंस्टेंस बनाने के लिए किस कीवर्ड का उपयोग किया जाता है?
Aallocalloc
Bnewnew
Ccreatecreate
Dinstanceinstance
Show answerHide answer
Correct answer: (B)newnew
Explanation
The "new" keyword creates (instantiates) an object of a class in Java, C++, C# and similar languages."new" कीवर्ड Java, C++, C# और ऐसी भाषाओं में किसी क्लास का ऑब्जेक्ट बनाता (instantiate करता) है।
What is an abstract class in OOP?OOP (ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग) में एक एब्सट्रैक्ट क्लास क्या है?
AA class with no methodsएक क्लास जिसमें कोई मेथड नहीं है।
BA class that cannot be instantiatedएक क्लास जिसका इंस्टेंस नहीं बनाया जा सकता
CA class that can only have private membersएक क्लास जिसमें केवल प्राइवेट मेम्बर हो सकते हैं।
DA class that cannot have methods with parametersएक क्लास जिसमें पैरामीटर के साथ विधियाँ नहीं हो सकतीं है।
Show answerHide answer
Correct answer: (B)A class that cannot be instantiatedएक क्लास जिसका इंस्टेंस नहीं बनाया जा सकता
Explanation
An abstract class cannot be instantiated directly. It may have abstract and concrete methods, and subclasses must implement its abstract methods.एब्सट्रैक्ट क्लास का सीधे instance नहीं बनाया जा सकता। उसमें abstract और concrete दोनों मेथड हो सकते हैं, और सबक्लास को उसके abstract मेथड लागू करने होते हैं।
Which of the following best defines a class?निम्नलिखित में से कौन एक क्लास को सर्वोत्तम रूप से परिभाषित करता है?
AAn instance of an objectकिसी ऑब्जेक्ट का एक इंस्टैंस
BA blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट
CA variable holding dataएक वेरिएबल होल्डिंग डेटा
DA function with a return valueरिटर्न वैल्यू वाला एक फ़ंक्शन
Show answerHide answer
Correct answer: (B)A blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट
Explanation
A class is a blueprint or template that defines data and methods. Objects are instances created from it.क्लास एक ब्लूप्रिंट या टेम्पलेट है जो डेटा और मेथड परिभाषित करता है। ऑब्जेक्ट उससे बने instance होते हैं।
Which principle ensures that only essential information is visible to the outside world?कौन-सा सिद्धांत यह सुनिश्चित करता है कि केवल आवश्यक जानकारी ही बाहरी दुनिया को दिखाई दे?
Information hiding hides internal implementation details, so only the essential interface is visible outside. Encapsulation is the mechanism (bundling plus access control) used to achieve it.Information hiding आंतरिक कार्यान्वयन का विवरण छिपाती है, ताकि बाहर केवल आवश्यक इंटरफेस दिखे। Encapsulation वह तंत्र (बंडलिंग और एक्सेस कंट्रोल) है जिससे इसे प्राप्त किया जाता है।
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.