कम्प्युटर / सूचना प्रविधि कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अपरेटर (पाँचौँ तह) र सहायक
Computer Operator & Assistant · Computer & IT Posts
१,५०२ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
On a two's complement machine, what is the value of the C expression ~0 ?
सही उत्तर: घ) -1
~0 flips every bit to 1; all 1s in two's complement represents -1.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, the logical NOT expression !5 evaluates to:
सही उत्तर: ग) 0
Logical NOT of any non-zero value is 0.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is printed by: char c = 'A' + 2; printf("%c", c); ?
सही उत्तर: ग) C
'A' has code 65; 65 + 2 = 67, which is the character 'C' when printed with %c.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, after: int a = 5, b; b = ++a * 2; what are the values of a and b?
सही उत्तर: ख) a = 6, b = 12
Pre-increment raises a to 6 before it is used, so b = 6 * 2 = 12.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is the value of x after: int x = (1, 2, 3); ?
सही उत्तर: घ) 3
The comma operator evaluates its operands left to right and yields the value of the last one, 3.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is printed by: printf("%d", 5 > 3 > 1); ?
सही उत्तर: ग) 0
Evaluated left to right: (5 > 3) is 1, then 1 > 1 is 0.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is the value of x after: int x = 4; x *= 2 + 3; ?
सही उत्तर: ख) 20
Compound assignment has lower precedence, so x = x * (2 + 3) = 4 * 5 = 20.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which format specifier is used with printf() to print a string in C?
सही उत्तर: ख) %s
%s prints a null-terminated character string; %c prints a single character.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many keywords were defined in the original ANSI C (C89) standard?
सही उत्तर: घ) 32
ANSI C (C89/C90) defines 32 keywords such as auto, break, case, char and while.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following is NOT a keyword in C?
सही उत्तर: घ) integer
C uses int for integers; 'integer' is not a keyword, while auto, volatile and register are.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।