कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
In C++, if no access specifier is written, the members of a class declared with the keyword class are by default:
सही उत्तर: ग) private
class members default to private, whereas struct members default to public.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, which operator allocates memory dynamically for an object?
सही उत्तर: क) new
new allocates memory and calls the constructor; delete releases it. malloc is a library function, not an operator.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which keyword does a Java class use to inherit from another class?
सही उत्तर: ग) extends
class B extends A makes B a subclass of A; implements is used for interfaces.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, objects that are no longer referenced are removed from memory automatically by the:
सही उत्तर: ख) garbage collector
The JVM's garbage collector reclaims memory of unreachable objects; Java has no explicit destructors.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, a class declared with the final keyword:
सही उत्तर: क) cannot be subclassed
A final class cannot be extended, e.g. java.lang.String.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, which keyword is used to refer to the immediate parent class (for example, to call its constructor)?
सही उत्तर: क) super
super refers to the superclass; super() calls the parent constructor.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Redefining a base-class method in a derived class with the same name and parameters is called:
सही उत्तर: ख) method overriding
Overriding replaces an inherited method's behaviour; overloading uses the same name with different parameters.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following operators cannot be overloaded in C++?
सही उत्तर: क) scope resolution (::)
The scope resolution operator ::, along with ., .*, ?: and sizeof, cannot be overloaded.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, class members declared as protected are accessible:
सही उत्तर: क) within the class and in its derived classes
protected members behave like private to outside code but remain accessible to derived classes.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A constructor that initialises a new object using another existing object of the same class is called a:
सही उत्तर: ग) copy constructor
A copy constructor has the form ClassName(const ClassName &obj).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।