कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
A good object-oriented design aims for:
सही उत्तर: क) high cohesion and low coupling
Each class should do one focused job (high cohesion) and depend little on others (low coupling).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Inheritance that combines two or more types of inheritance (for example multiple and multilevel) is called:
सही उत्तर: घ) hybrid inheritance
Hybrid inheritance is any mixture of the basic inheritance types.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A Car class that contains an Engine object as one of its data members shows which relationship?
सही उत्तर: क) has-a (composition)
Containing an object of another class is composition, a 'has-a' relationship; inheritance is 'is-a'.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, the mutable keyword allows a data member to be:
सही उत्तर: क) modified even inside a const member function
Declaring a member mutable exempts it from the const restriction, e.g. for caching or counters.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++ private inheritance (class D : private B), the public members of B become:
सही उत्तर: ग) private members of D
With private inheritance, public and protected members of the base become private in the derived class.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, if no access specifier is written, the members of a structure declared with the keyword struct are by default:
सही उत्तर: घ) public
In C++ struct members are public by default, while class members are private by default.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, memory allocated with int *a = new int[10]; should be released with:
सही उत्तर: क) delete[] a;
Arrays created with new[] must be freed with delete[] so the whole array is released properly.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, the statement using namespace std; allows the programmer to:
सही उत्तर: ग) use standard library names such as cout without the std:: prefix
It brings the names of namespace std into scope; it does not include headers.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, a class can have several overloaded constructors, but its destructor:
सही उत्तर: ग) cannot be overloaded and takes no arguments
There is only one destructor per class; it has no parameters and no return type.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is printed by: int x = 5; int *p = &x; int **q = &p; **q = 8; printf("%d", x); ?
सही उत्तर: घ) 8
**q refers to *p, which is x, so x becomes 8.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।