Bihar STET · Computer Science

OOP Previous Year Questions (page 2)

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.

  • 53 questions
  • Official answer key
  • Free

Other Computer Science topics

Q51Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1
What is the main purpose of inheritance in OOP?OOP में इनहेरिटेंस का मुख्य उद्देश्य क्या है?
  1. ATo create instances of classesक्लास के इंस्टैंस बनाना
  2. BTo prevent data abstractionडेटा एब्सट्रैक्शन को रोकना
  3. CTo establish a parent-child relationship between classesक्लास के बीच पैरेंट-चाइल्ड रिलेशनशीप स्थापित करना
  4. DTo define exceptionsएक्सेप्शन को परिभाषित करना
Show answerHide answer

Correct answer: (C) To establish a parent-child relationship between classesक्लास के बीच पैरेंट-चाइल्ड रिलेशनशीप स्थापित करना

Explanation

Inheritance creates a parent-child (is-a) relationship, so a subclass reuses and extends the members of its parent class.Inheritance पैरेंट-चाइल्ड (is-a) संबंध बनाती है, जिससे सबक्लास अपने पैरेंट क्लास के सदस्यों को दोबारा उपयोग और विस्तारित करती है।

Q52Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1
What are abstract methods?एब्सट्रैक्ट मेथड्स क्या हैं?
  1. AMethods that are inaccessible to the outside worldवे मेथड्स जो बाहरी दुनिया के लिए अप्राप्य हैं।
  2. BMethods that have implementation detailsवे मेथड्स जिनमें कार्यान्वयन विवरण हैं।
  3. CMethods without a body, defined in an abstract classकिसी एब्सट्रैक्ट क्लास में परिभाषित बिना किसी बॉडी के मेथड्स
  4. 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, inside an abstract class (or interface). Concrete subclasses must provide its implementation.Abstract मेथड बिना बॉडी के, किसी abstract क्लास (या इंटरफेस) के अंदर घोषित होता है। Concrete सबक्लास को उसका कार्यान्वयन देना होता है।

Q53Bihar STET Paper 2 Computer Science (Class 11-12), 12 Sep 2023, Shift 1
What does a first order predicate logic contain?प्रथम क्रम विधेय तर्क में क्या होता है?
  1. APredicate and a subjectविधेय और एक कर्ता
  2. BPredicate and a Prepositionविधेय और एक पूर्वसर्ग
  3. CSubject and an objectकरता और एक वस्तु
  4. DNone of the aboveइनमें से कोई नहीं
Show answerHide answer

Correct answer: (A) Predicate and a subjectविधेय और एक कर्ता

Explanation

First-order predicate logic statements are built from predicates applied to subjects (terms or objects), for example Man(Socrates), together with quantifiers and connectives.First-order predicate logic के कथन विषयों (terms या objects) पर लागू predicate से बनते हैं, जैसे Man(Socrates), साथ में quantifier और connective।

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.

More Bihar STET subjects