नमस्ते · Hello

श्रद्धावान् लभते ज्ञानम्।

श्रद्धा भएकाले ज्ञान प्राप्त गर्छ। (गीता ४.३९)

One who has faith gains knowledge. (Gita 4.39)

…

कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र

कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)

Computer Officer – 7th Level · Computer & IT Posts

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

प्राविधिक पत्र: प्रश्न र उत्तर

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

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

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

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

  2. In Python, def f(n): return [] if n == 0 else f(n - 1) + [n]. What does print(f(3)) display?

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

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

  3. A list is unpacked into print() with the star operator: print(*[1, 2, 3], sep=''). What is displayed?

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

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

  4. What is the output of the Python code: print(min('banana'), max('banana')) ?

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

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

  5. What is the output of the Python code: d = {'x': 3, 'y': 1, 'z': 2}; print(sorted(d, key=d.get)) ?

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

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

  6. What is the output of the Python code: print(sum(i for i in range(1, 6) if i % 2 == 0)) ?

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

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

  7. What is the output of the Python code: print(int('ff', 16) + int('17', 8)) ?

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

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

  8. In Python the modulo result takes the sign of the divisor. Given that rule, what does print(7 % -3) display?

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

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

  9. What is the output of the Python code: x = 5; x //= 2; x **= 3; print(x) ?

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

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

  10. A Python range is given a start, a stop and a step of 5. What does print(list(range(2, 20, 5))) show?

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

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

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