कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Testing a program only through its inputs and outputs, without looking at its internal code, is called:
सही उत्तर: ख) black-box testing
Black-box testing checks functionality against specifications; white-box testing examines internal logic.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
According to structured programming, any program can be built from which three basic control structures?
सही उत्तर: क) Sequence, selection and iteration
The structured program theorem (Bohm-Jacopini) shows that sequence, selection and repetition are sufficient.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
An error that occurs while the program is running, such as division by zero, is called a:
सही उत्तर: घ) run-time error
Run-time errors arise during execution and may crash the program.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
An error such as a missing semicolon in a C program is a:
सही उत्तर: ख) syntax error
Violations of the language's grammar are syntax errors, detected by the compiler.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In a flowchart, the start and end of a process are shown by the:
सही उत्तर: घ) oval (terminal) symbol
The oval or rounded terminal symbol marks the beginning and end of a flowchart.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
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.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।