कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
In C++, the operator :: is known as the:
सही उत्तर: ख) scope resolution operator
The :: operator specifies the scope, e.g. ClassName::function or ::globalVar.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, a static data member of a class:
सही उत्तर: घ) is shared by all objects of the class
Only one copy of a static data member exists, common to every object of the class.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, the 'this' pointer inside a member function points to:
सही उत्तर: ख) the object that invoked the member function
this is an implicit pointer to the current (calling) object.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, a non-member function that is allowed to access the private members of a class is called a:
सही उत्तर: ख) friend function
A class grants such access by declaring the function with the friend keyword.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, a member function declared as virtual void show() = 0; is called a:
सही उत्तर: ग) pure virtual function
The = 0 makes it a pure virtual function, which makes the class abstract.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, the 'diamond problem' of multiple inheritance (duplicate copies of a common base class) is solved by using:
सही उत्तर: क) virtual base classes (virtual inheritance)
Declaring the common base as virtual ensures only one shared copy of it exists in the most-derived object.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
When several derived classes inherit from a single base class, the inheritance is called:
सही उत्तर: ख) hierarchical inheritance
One base class with many child classes forms a hierarchy, i.e. hierarchical inheritance.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Class C inherits from class B, and class B inherits from class A. This type of inheritance is called:
सही उत्तर: घ) multilevel inheritance
A chain of derivation A -> B -> C is multilevel inheritance.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In object-oriented programming, a class is best described as:
सही उत्तर: क) a blueprint or template from which objects are created
A class defines the data and methods; objects are concrete instances created from it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In OOP, showing only the essential features of an object while hiding unnecessary implementation details is called:
सही उत्तर: क) abstraction
Abstraction exposes what an object does through a simple interface and hides how it does it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।