कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
The property that an algorithm must terminate after a finite number of steps is called:
सही उत्तर: ग) finiteness
Finiteness requires the algorithm to stop; definiteness requires each step to be unambiguous.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Two nested loops, each running from 1 to n, have a time complexity of:
सही उत्तर: क) O(n^2)
The inner loop runs n times for each of the n outer iterations, giving n x n operations.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The recurrence T(n) = 2T(n/2) + n has the solution:
सही उत्तर: ख) O(n log n)
By the master theorem (a = 2, b = 2, f(n) = n), T(n) = O(n log n), as in merge sort.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The load factor of a hash table with m slots storing n keys is:
सही उत्तर: घ) n / m
Load factor alpha = number of keys / number of slots; higher values mean more collisions.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The fractional knapsack problem is solved optimally by which technique, which does not work for the 0/1 knapsack?
सही उत्तर: ग) Greedy method
Taking items in order of value per weight is optimal for fractional knapsack; 0/1 knapsack needs dynamic programming.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which shortest-path algorithm can handle edges with negative weights (as long as there is no negative cycle)?
सही उत्तर: घ) Bellman-Ford algorithm
Bellman-Ford relaxes all edges repeatedly and can also detect negative cycles.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Topological sorting can be performed only on a:
सही उत्तर: ख) directed acyclic graph (DAG)
A topological order exists only when the directed graph has no cycles.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
An undirected graph has 7 edges. The sum of the degrees of all its vertices is:
सही उत्तर: ग) 14
By the handshaking lemma, the sum of degrees is twice the number of edges: 2 x 7 = 14.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The adjacency matrix of a graph with n vertices has size:
सही उत्तर: घ) n x n
Entry (i, j) shows whether there is an edge from vertex i to vertex j.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Depth-First Search (DFS) of a graph is naturally implemented using a:
सही उत्तर: घ) stack (or recursion)
DFS goes as deep as possible, backtracking in LIFO order, which a stack or recursion provides.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।