OOPs Introduction MCQ Questions - Object Oriented Programming Basics – Online Test

Timed practice test • Results after submission

← View MCQ Question Paper

Share this online test

Invite friends to practice, compare scores, or save this page.

Important Instructions

  • • Total Questions: 25
  • • Time Limit: 25 minutes
  • • No negative marking
  • • Do not refresh the page
Time Left: 00:00

1. Object Oriented Programming (OOP) का मुख्य उद्देश्य क्या है?

  • AProgram को जल्दी execute करना
  • BCode को structured और reusable बनाना
  • Cकेवल graphical applications बनाना
  • DHardware को control करना

2. OOP में Object किसे दर्शाता है?

  • Aकेवल data
  • Bकेवल functions
  • CReal-world entity जिसमें data और behavior दोनों होते हैं
  • DCompiler का हिस्सा

3. Class और Object के बीच क्या संबंध होता है?

  • AClass, Object का instance होती है
  • BObject, Class का blueprint होता है
  • CClass, Object का blueprint होती है
  • Dदोनों एक ही होते हैं

4. OOP का कौन-सा concept data को direct access से सुरक्षित रखता है?

  • AInheritance
  • BPolymorphism
  • CEncapsulation
  • DAbstraction

5. जब एक ही function अलग-अलग situations में अलग behavior दिखाता है, तो उसे क्या कहते हैं?

  • AAbstraction
  • BEncapsulation
  • CInheritance
  • DPolymorphism

6. Object Oriented Programming में Data और Methods को एक unit में बाँधने की प्रक्रिया को क्या कहते हैं?

  • AAbstraction
  • BEncapsulation
  • CInheritance
  • DPolymorphism

7. OOP में Inheritance का मुख्य लाभ क्या है?

  • ACode duplication बढ़ाना
  • BRuntime errors बढ़ाना
  • CCode reusability प्रदान करना
  • DProgram को slow बनाना

8. OOP में Parent Class को किस नाम से भी जाना जाता है?

  • AChild Class
  • BDerived Class
  • CBase Class
  • DObject Class

9. Child Class को OOP में और किस नाम से जाना जाता है?

  • ABase Class
  • BSuper Class
  • CDerived Class
  • DMain Class

10. OOP का कौन-सा concept केवल essential features को show करता है?

  • AEncapsulation
  • BInheritance
  • CAbstraction
  • DPolymorphism

11. OOP में Method Overloading किस concept का example है?

  • AInheritance
  • BEncapsulation
  • CPolymorphism
  • DAbstraction

12. Method Overriding किस प्रकार का Polymorphism है?

  • ACompile-time
  • BRun-time
  • CStatic
  • DEarly binding

13. OOP में Access Specifiers का उपयोग किस लिए किया जाता है?

  • AMemory allocate करने के लिए
  • BData को secure करने के लिए
  • CObject create करने के लिए
  • DLoop control के लिए

14. नीचे दिए गए में से कौन-सा OOP का feature नहीं है?

  • AEncapsulation
  • BPolymorphism
  • CInheritance
  • DCompilation

15. OOP में Constructor का मुख्य कार्य क्या है?

  • AMemory free करना
  • BObject destroy करना
  • CObject initialize करना
  • DLoop execute करना

16. Destructor का उपयोग कब होता है?

  • AObject create होने पर
  • BProgram start होने पर
  • CMemory release करने के लिए
  • DInput लेने के लिए

17. OOP में this keyword का प्रयोग किस लिए किया जाता है?

  • ANew object create करने के लिए
  • BCurrent object को refer करने के लिए
  • CMethod call रोकने के लिए
  • DClass delete करने के लिए

18. OOP में Object कब create होता है?

  • ACompile time पर
  • BRuntime पर
  • CLink time पर
  • DEdit time पर

19. OOP में Class किस प्रकार की entity होती है?

  • APhysical entity
  • BLogical entity
  • CHardware entity
  • DNetwork entity

20. OOP का कौन-सा feature security improve करता है?

  • AInheritance
  • BEncapsulation
  • CPolymorphism
  • DCompilation

21. OOP में Function को और किस नाम से जाना जाता है?

  • AVariable
  • BMethod
  • CObject
  • DPackage

22. OOP में Data Members क्या होते हैं?

  • ALoop variables
  • BClass के अंदर defined variables
  • CFunctions
  • DKeywords

23. OOP concept real-world modeling में क्यों useful है?

  • Aक्योंकि code complex होता है
  • Bक्योंकि logic hide रहता है
  • Cक्योंकि real-world entities को represent करना आसान होता है
  • Dक्योंकि execution slow होता है

24. नीचे दिए गए में से कौन-सा language OOP support करता है?

  • AC
  • BAssembly
  • CJava
  • DHTML

25. OOP का कौन-सा feature code flexibility बढ़ाता है?

  • APolymorphism
  • BCompilation
  • CLinking
  • DDebugging


Question Map