कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
The Java primitive type short occupies:
सही उत्तर: घ) 16 bits
Java fixes the sizes: byte 8, short 16, int 32 and long 64 bits.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, a method that overrides a superclass method:
सही उत्तर: घ) Cannot have a more restrictive access modifier than the method it overrides
For example a public method cannot be overridden by a protected one, since that would break substitutability.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, a member declared protected is accessible:
सही उत्तर: ख) Within its own package and in subclasses in other packages
protected adds subclass access across packages to the package-level access of default members.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Since Java 8, an interface may contain a method with a body if that method is declared with the keyword:
सही उत्तर: ग) default
Default methods give interfaces an implementation that implementing classes inherit unless they override it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, which class should be used to build up a string efficiently by repeated appending?
सही उत्तर: क) StringBuilder
StringBuilder is mutable, so append() modifies it in place instead of creating a new String each time.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, when a derived-class object is assigned by value to a base-class object, the derived part is lost. This is called:
सही उत्तर: ख) Object slicing
Only the base-class sub-object is copied, so derived data members and overriding behaviour are sliced off.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Most C++ compilers implement run-time dispatch of virtual functions by means of a:
सही उत्तर: घ) Virtual table (vtable) of function pointers
Each polymorphic class has a vtable, and each object holds a hidden pointer to it used to call the correct override.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C++, sending std::endl to cout:
सही उत्तर: क) Inserts a newline and flushes the output buffer
std::endl writes '\n' and then calls flush; writing '\n' alone does not force a flush.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which statement about C++ references is correct?
सही उत्तर: ग) A reference must be initialised when declared and cannot later be made to refer to another object
A reference is bound once at initialisation; assignment through it changes the referred object, not the binding.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In the C++ STL, std::stack and std::queue are classified as:
सही उत्तर: ग) Container adapters
They adapt an underlying container (deque by default) to provide a restricted LIFO or FIFO interface.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।