कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Re-running previously passed tests after a program is modified, to make sure the change has not broken existing features, is called:
सही उत्तर: ग) regression testing
Regression testing checks that new changes have not reintroduced faults into previously working code.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which language is a well-known example of the logic programming paradigm?
सही उत्तर: ग) Prolog
Prolog programs are written as facts and rules, and answers are found by logical inference.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The first phase of a compiler, which reads source characters and groups them into tokens, is:
सही उत्तर: ग) lexical analysis
The lexical analyser (scanner) produces tokens such as keywords, identifiers and operators for the parser.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The undecidability of the halting problem, proved by Alan Turing, means that:
सही उत्तर: घ) no general algorithm can decide, for every program and input, whether the program will halt
Turing showed that a universal halting-decider cannot exist, giving a fundamental limit of computation.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many comparisons does selection sort make to sort an array of 5 elements?
सही उत्तर: घ) 10
Selection sort always makes n(n - 1)/2 comparisons: 5 x 4 / 2 = 10.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The recurrence T(n) = T(n - 1) + n, with T(1) = 1, has the solution:
सही उत्तर: ग) O(n^2)
Expanding gives n + (n - 1) + ... + 1 = n(n + 1)/2, which is O(n^2).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The recurrence T(n) = T(n/2) + c, as in binary search, has the solution:
सही उत्तर: ग) O(log n)
The problem size halves each step with constant work, giving about log2 n steps.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following functions grows the fastest as n becomes very large?
सही उत्तर: घ) 2^n
Exponential functions eventually exceed any polynomial, so 2^n grows fastest.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Using the division method h(k) = k mod 10, the key 47 is placed at index:
सही उत्तर: ख) 7
47 mod 10 = 7, so the key hashes to slot 7.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following sorting algorithms is NOT stable in its usual implementation?
सही उत्तर: क) Heap sort
Heap sort can change the relative order of equal keys, while insertion, bubble and merge sort preserve it.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।