प्रोग्रामिङ – Programming MCQ
प्रोग्रामिङ – कम्प्युटर र IT
Programming · Computer & IT (Technical) · १,५६५ प्रश्न
१,५६५ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्रोग्रामिङ: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
रोनास्टले मुनि शाक्यलाई कस्तो पुरस्कार दिएको थियो?
सही उत्तर: घ) रू ५००००००
सन् २००५ मा रोयल नेपाल विज्ञान तथा प्रविधि प्रज्ञा प्रतिष्ठान (रोनास्ट) ले शाक्यलाई क-वर्ग वैज्ञानिकको रूपमा रू ५०००० पुरस्कार दिएको थियो।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
सुपर कम्प्युटरले कुन ओपन सोर्स OS प्रयोग गर्थ्यो?
सही उत्तर: ख) OpenMosix र Oscar
यो सुपर कम्प्युटरले OpenMosix र Oscar ओपन सोर्स OS प्रयोग गर्थ्यो।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
मुनि शाक्यले नेपालमा कहिले पहिलो पटक १६ नोडहरू भएको सुपर कम्प्युटर प्रदर्शन गरेका थिए?
सही उत्तर: ख) १७ मे, २००६ मा
शाक्यले १७ मे, २००६ मा नेपालमा पहिलो पटक १६ नोडहरू भएको सुपर कम्प्युटरको प्रदर्शन गरेका थिए।
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Multiplying a 10 x 20 matrix by a 20 x 5 matrix using the standard method needs how many scalar multiplications?
सही उत्तर: ग) 1000
Multiplying a p x q matrix by a q x r matrix needs p x q x r = 10 x 20 x 5 = 1000 scalar multiplications.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many non-empty contiguous substrings does a string of 4 distinct characters, such as "abcd", have?
सही उत्तर: ख) 10
A string of length n has n(n + 1)/2 non-empty substrings: 4 x 5 / 2 = 10.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The prefix-sum array of A = [3, 1, 4, 1, 5] is P = [3, 4, 8, 9, 14], where P[i] = A[0] + ... + A[i]. The sum A[1] + A[2] + A[3] equals:
सही उत्तर: क) 6
The sum of A[1..3] is P[3] - P[0] = 9 - 3 = 6 (= 1 + 4 + 1).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Two indices start at the two ends of a sorted array and move towards each other to find a pair with a given sum. The time complexity of this two-pointer method is:
सही उत्तर: घ) O(n)
Each step moves one of the pointers inward, so at most n steps are made.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The 'undo' feature of a text editor, which reverses the most recent action first, is most naturally implemented using a:
सही उत्तर: ग) stack
Undo follows last-in, first-out order: the last action performed is the first undone, which is a stack.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Reversing a singly linked list of n nodes iteratively, by changing the next pointers, needs how much extra memory?
सही उत्तर: ख) O(1)
Only a few pointers (previous, current, next) are needed, regardless of the list size.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Building a binary heap from an unsorted array of n elements using the bottom-up (heapify) method takes:
सही उत्तर: क) O(n)
Bottom-up heap construction does most of its work on low-height nodes, giving a total of O(n), which is better than n separate insertions.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।