कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
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.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In an AVL tree, the balance factor of every node must be:
सही उत्तर: ख) -1, 0 or +1
AVL trees keep the height difference of left and right subtrees at most 1, restoring balance with rotations.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The worst-case time to search for a key in an unbalanced binary search tree with n nodes is:
सही उत्तर: ख) O(n)
If keys are inserted in sorted order, the BST becomes a chain (skewed), so search may visit all n nodes.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A full binary tree (every node has 0 or 2 children) has 10 internal nodes. How many leaf nodes does it have?
सही उत्तर: क) 11
In a full binary tree, leaves = internal nodes + 1.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A binary tree has root A with left child B and right child C. Its postorder traversal is:
सही उत्तर: घ) B C A
Postorder visits left, right, then root: B, C, A.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a preorder traversal of a binary tree, nodes are visited in the order:
सही उत्तर: ख) root, left subtree, right subtree
Preorder visits the root first, then traverses left and right subtrees.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।