नमस्ते · Hello

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

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

One who has faith gains knowledge. (Gita 4.39)

…

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

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

Computer Officer – 7th Level · Computer & IT Posts

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

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

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

  1. What does the following C code print? int a = 4, b = 9, c = 6; int m = a > b ? (a > c ? a : c) : (b > c ? b : c); printf("%d", m);

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

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

  2. On a typical system, what does the following C code print? printf("%d", sizeof(int) > -1);

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

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

  3. What does the following C code print? char *s = "banana"; printf("%d", (int)(strrchr(s, 'n') - s));

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

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

  4. What does the following C code print? int i = 3; while (i < 50) i <<= 1; printf("%d", i);

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

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

  5. What does the following C code print? printf("%d", 10 >> 1 << 2);

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

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

  6. The recurrence T(n) = 2T(n - 1) + 1, with T(1) = 1, which describes the Tower of Hanoi, has the solution:

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

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

  7. What is the time complexity of: for (i = 0; i < n; i++) for (j = 0; j < 100; j++) count++; ?

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

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

  8. In an array-based circular queue of size 8, front is the index of the first element and rear is the index where the next element will be inserted. If front = 6 and rear = 2, how many elements are in the queue?

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

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

  9. Keys 23, 43, 13 and 27 are inserted in that order into a hash table of size 10 using h(k) = k mod 10 with linear probing. At which index is 13 stored?

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

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

  10. The keys 7, 3, 5 and 1 are inserted one by one into an empty min-heap stored in an array. What is the array after the last insertion?

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

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

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