कम्प्युटर ज्ञान – Computer Knowledge MCQ
कम्प्युटर ज्ञान – IT प्रवेश
Computer Knowledge · IT Entrance – B.Sc. CSIT, BIT & BCA · ४०७ प्रश्न
४०७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
कम्प्युटर ज्ञान: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
In a flowchart, a decision (yes/no condition) is shown by which symbol?
सही उत्तर: घ) Diamond
The diamond has one entry and two or more exits labelled with the possible outcomes.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which C keyword immediately ends the innermost loop and transfers control to the statement after it?
सही उत्तर: घ) break
break terminates the loop; continue only skips to the next iteration.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the value of 10 % 3 * 2 is:
सही उत्तर: घ) 2
% and * have equal precedence and associate left to right: (10 % 3) × 2 = 1 × 2 = 2.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, after int a = 10, b = 20; int m = (a > b) ? a : b; the value of m is:
सही उत्तर: क) 20
a > b is false, so the conditional operator returns b, i.e. 20.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is the value of s after this C code runs? int i = 1, s = 0; while (i <= 5) { s += i; i += 2; }
सही उत्तर: ख) 9
i takes 1, 3 and 5, so s = 1 + 3 + 5 = 9; then i = 7 ends the loop.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What does strlen("Nepal") return in C?
सही उत्तर: घ) 5
strlen counts the characters before the terminating null character: N, e, p, a, l = 5.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, after int a = 10; int *p = &a; *p = 20; the value of a is:
सही उत्तर: ग) 20
p points to a, so assigning 20 to *p changes a itself to 20.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the value of the expression 3 << 2 is:
सही उत्तर: घ) 12
Shifting left by 2 bits multiplies by 2^2 = 4: 3 × 4 = 12 (0011 becomes 1100).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Consider the C function: int f(int n) { if (n == 0) return 0; return n + f(n - 1); } What does f(5) return?
सही उत्तर: ख) 15
f(5) = 5 + 4 + 3 + 2 + 1 + 0 = 15 (it sums 1 to n recursively).
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the expression (5 > 3 && 2 > 4) evaluates to:
सही उत्तर: क) 0
5 > 3 is true (1) but 2 > 4 is false (0); true AND false gives 0.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।