कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Which keyword is used to define a function in Python?
सही उत्तर: क) def
Python functions are defined with def.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which symbol starts a single-line comment in Python?
सही उत्तर: घ) #
Python comments begin with #.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the output of print(2 ** 3) in Python?
सही उत्तर: ग) 8
** is the exponent operator, so 2 ** 3 = 8.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the output of print(17 // 5) in Python?
सही उत्तर: क) 3
// is floor division, so 17 // 5 gives 3.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following Python data types is immutable?
सही उत्तर: क) tuple
Tuples cannot be modified after creation.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
An object in object-oriented programming is:
सही उत्तर: क) An instance of a class
A class is the blueprint and an object is an instance of it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which access specifier makes a class member accessible only within its own class?
सही उत्तर: क) private
private members are visible only inside the class that declares them.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Java does not support multiple inheritance of classes; it is achieved instead through:
सही उत्तर: घ) Interfaces
A Java class can implement multiple interfaces.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In Java, which keyword is used by a class to use an interface?
सही उत्तर: ख) implements
A Java class implements an interface with the implements keyword.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
An abstract class in OOP is a class that:
सही उत्तर: क) Cannot be instantiated directly
Objects cannot be created from an abstract class; it serves as a base class.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।