कम्प्युटर / सूचना प्रविधि कम्प्युटर अधिकृत (सातौँ तह) – प्राविधिक पत्र
कम्प्युटर / सूचना प्रविधि – कम्प्युटर अधिकृत (सातौँ तह)
Computer Officer – 7th Level · Computer & IT Posts
२,५७७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
प्राविधिक पत्र: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ५ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
How can a literal percent sign (%) be printed using printf() in C?
सही उत्तर: ग) %%
Inside a printf format string, %% prints a single % character.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which format specifier is used with printf() to print an unsigned int in decimal?
सही उत्तर: ख) %u
%u prints an unsigned decimal integer.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what value does the call printf("Nepal") return?
सही उत्तर: ख) 5
printf() returns the number of characters it printed; 'Nepal' has 5 characters.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
What is printed by the C statement printf("%5.2f", 3.14159); ?
सही उत्तर: घ) a space followed by 3.14
Width 5 with 2 decimal places gives '3.14' (4 characters) right-justified, so one leading space is added.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Using the %c conversion, which character does printf("%c", 66); display on an ASCII system?
सही उत्तर: घ) B
The %c specifier prints the character whose code is given; ASCII 66 is 'B'.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many address lines are needed to address 2 MB of byte-addressable memory?
सही उत्तर: क) 21
2 MB = 2 x 2^20 = 2^21 bytes, so 21 address lines are required.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
One petabyte (PB) is equal to:
सही उत्तर: क) 1024 TB
In the binary convention, 1 PB = 1024 TB, and 1 EB = 1024 PB.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
A major disadvantage of machine language is that it:
सही उत्तर: ख) is machine dependent and difficult to read and write
Machine code is directly executed by the CPU but is tied to one processor type and hard for people to use.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Compared with a compiled program, a program run by an interpreter generally:
सही उत्तर: ग) runs more slowly because statements are translated each time they are executed
The interpreter translates and executes statement by statement at run time, which adds overhead.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
SQL, which states what result is required rather than how to get it, is an example of a:
सही उत्तर: क) fourth-generation language (4GL)
4GLs such as SQL are non-procedural and closer to human language than procedural 3GLs like C.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।