Computer AwarenessHardSBI Clerk Mains · IBPS SO IT Officer
A compiler translates a C source file. What is its output called, before the linker combines it with library code?
- A. Executable code
- B. Object code
- C. Byte code
- D. Source code
Correct answer: B. Object code
The compiler produces object code, machine code with unresolved references; the linker joins object files and libraries into an executable. Byte code is the output of compilers for virtual machines such as Java's.
हिंदी में
एक कंपाइलर C स्रोत फ़ाइल का अनुवाद करता है। लिंकर द्वारा उसे लाइब्रेरी कोड से जोड़ने से पहले उसके आउटपुट को क्या कहते हैं?
- A. एक्ज़ीक्यूटेबल कोड
- B. ऑब्जेक्ट कोड
- C. बाइट कोड
- D. स्रोत कोड
उत्तर: B. कंपाइलर ऑब्जेक्ट कोड बनाता है, जो अनसुलझे संदर्भों वाला मशीन कोड है; लिंकर ऑब्जेक्ट फ़ाइलों और लाइब्रेरियों को जोड़कर एक्ज़ीक्यूटेबल बनाता है। बाइट कोड Java जैसी वर्चुअल मशीनों के कंपाइलरों का आउटपुट है।
More Computer Awareness questions
- Match the flowchart symbol with its use: 1. Diamond 2. Parallelogram 3. Oval 4. Rectangle; a. Start or end b. Processing step c. Decision…
- A company modifies a program released under the GNU GPL and distributes the modified version to customers. What does the GPL require?
- Software that is stored permanently in a device's ROM or flash memory and directly controls its hardware, such as the BIOS or a router's…
- Which of these is utility software rather than application software?
- Which single logic gate can act as a 1-bit equality comparator, giving 1 exactly when its two inputs are the same?
- How is a full adder usually built from half adders?