IT प्रवेश – B.Sc. CSIT, BIT, BCA
IT प्रवेश – B.Sc. CSIT, BIT, BCA
IT Entrance – B.Sc. CSIT, BIT & BCA · २,६०७ प्रश्न
२,६०७ प्रश्न उपलब्ध। मोड छान्नुहोस्:
IT प्रवेश: प्रश्न र उत्तर
सही लागेको विकल्पमा थिच्नुहोस्। सही भए हरियो, गलत भए रातो देखिन्छ; ३ सेकेन्डपछि सही उत्तर र व्याख्या देखिन्छ।
सही: ० / ०
-
Which loop in C executes its body at least once even if the condition is false?
सही उत्तर: ग) do-while loop
In a do-while loop the condition is checked after the body executes, so the body runs at least once. while and for check the condition first.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
How many times does the loop for(i = 1; i
सही उत्तर: ख) 4
i takes the values 1, 4, 7 and 10; the next value 13 fails the condition i
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, after executing int a = 5; int b = a++; what are the values of a and b?
सही उत्तर: क) a = 6, b = 5
a++ is post-increment: the current value 5 is assigned to b first, and then a becomes 6. With pre-increment (++a), both would be 6.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, if a and b are int variables with a = 7 and b = 2, what is the value of a / b?
सही उत्तर: ख) 3
Division of two integers in C truncates the fractional part, so 7 / 2 = 3. To get 3.5, at least one operand must be a floating-point type.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
In C, what is the value of 17 % 5?
सही उत्तर: क) 2
The % operator gives the remainder of integer division: 17 = 5 x 3 + 2, so 17 % 5 = 2. The quotient 3 would come from 17 / 5.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which format specifier is used to print an integer with printf() in C?
सही उत्तर: ग) %d
%d prints a signed decimal integer. %f is for floating-point numbers, %c for a character and %s for a string.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which of the following is NOT a keyword in C?
सही उत्तर: क) main
main is the name of a function where execution starts, but it is not a reserved keyword. int, return and while are among C's reserved keywords.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which program converts assembly language into machine code?
सही उत्तर: ख) Assembler
An assembler translates mnemonics like MOV and ADD into binary machine instructions. Compilers and interpreters translate high-level languages.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
Which program translates the whole high-level source program into machine code before execution?
सही उत्तर: क) Compiler
A compiler translates the entire program at once and reports errors after compiling. An interpreter translates and executes line by line.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
-
The process of loading the operating system into main memory when a computer starts is called:
सही उत्तर: क) Booting
Booting begins with the BIOS/UEFI performing checks (POST) and then loading the operating system. Formatting prepares a storage device for use.
💬 टिप्पणी / गल्ती रिपोर्ट (०)
यी अभ्यास प्रश्न हुन्, आधिकारिक प्रश्न होइनन्। पाठ्यक्रम, विज्ञापन र नतिजाका लागि सम्बन्धित निकायको आधिकारिक वेबसाइट हेर्नुहोस्। उत्तरमा गल्ती भेटे प्रश्नमुनिको "टिप्पणी / गल्ती रिपोर्ट" मा लेख्नुहोस्।
नमस्ते! पाठ्यक्रम, सामान्य ज्ञान, भाषा परीक्षा वा कुनै प्रश्नको उत्तर बुझ्न सोध्नुहोस्।
AI ले गल्ती गर्न सक्छ। महत्वपूर्ण कुरा आधिकारिक स्रोतमा जाँच्नुहोस्।