नमस्ते · Hello

काकचेष्टा बकध्यानं श्वाननिद्रा तथैव च। अल्पाहारी गृहत्यागी विद्यार्थी पञ्चलक्षणम्॥

कागको जस्तो प्रयास, बकुल्लाको जस्तो ध्यान, कुकुरको जस्तो हलुका निद्रा, थोरै खाने र घरको मोह त्याग्ने – विद्यार्थीका पाँच लक्षण।

A crow's effort, a heron's focus, a dog's light sleep, eating little and leaving comfort behind – the five marks of a student.

…

कम्प्युटर र सूचना प्रविधि (प्राविधिक)

कम्प्युटर र सूचना प्रविधि (प्राविधिक)

Computer & IT (Technical) · ५,०७६ प्रश्न

५,०७६ प्रश्न उपलब्ध। मोड छान्नुहोस्:

कम्प्युटर र IT: प्रश्न र उत्तर

सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।

  1. What is the output of the Python code: from collections import Counter; print(Counter('banana').most_common(1)) ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  2. What is the output of the Python code: s = set(); s.add((1, 2)); s.add((2, 1)); s.add((1, 2)); print(len(s)) ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  3. Testing the truth value of None, a zero float and a one-space string in Python: what does print(bool(None), bool(0.0), bool(' ')) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  4. In Python: try: x = [1, 2][2] / except IndexError: x = -1 / finally: x += 10. What does print(x) display afterwards?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  5. In Python, class Bag stores self.items = [1, 2, 3] in __init__ and defines __len__(self) returning len(self.items). What does print(len(Bag()) * 2) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  6. In Python, class A defines f() returning 'A', class B(A) defines nothing new, class C(A) overrides f() to return 'C', and class D(B, C) is empty. What does print(D().f()) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  7. In Python, class A has __init__ setting self.v = 1 and a method inc(self) that does self.v += 1 and returns self. What does print(A().inc().inc().v) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  8. What is the output of the Python code: nums = [1, 2, 3, 4, 5]; print(nums[1::2], nums[::-2]) ?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  9. Python string formatting with the percent presentation type: what does print('{:.1%}'.format(0.256)) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

  10. In Python, def make(k): return lambda x: x * k. After double = make(2), what does print(double(double(5))) display?

    💬 टिप्पणी / गल्ती रिपोर्ट (०)

    टिप्पणी जाँचपछि मात्र देखिन्छ।

यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।