Prepare for the 241 Computer Science Certification Exam with comprehensive flashcards and multiple choice questions. Enhance knowledge with explanations and hints to excel in your test journey!

Multiple Choice

What is the universally portable software file compiled from source code and then translated into machine language by software interpreter?

The idea being tested is an intermediate, platform-agnostic form of a program that a runtime environment can execute. Bytecode is produced when source code is compiled into a compact set of instructions that are not tied to any single CPU architecture. A virtual machine or interpreter on each platform reads that bytecode and translates it into the host machine’s instructions, often just-in-time. This setup lets the same file run across different systems, provided there’s a compatible interpreter or VM available, which is why bytecode is described as universally portable. Other options don’t fit as well. Plain code is just source text and isn’t itself a portable executable. A code block isn’t a standard term for a portable intermediate form. A compiler is a tool that translates source into machine code for a specific architecture, not the portable file that gets interpreted at runtime.

The idea being tested is an intermediate, platform-agnostic form of a program that a runtime environment can execute. Bytecode is produced when source code is compiled into a compact set of instructions that are not tied to any single CPU architecture. A virtual machine or interpreter on each platform reads that bytecode and translates it into the host machine’s instructions, often just-in-time. This setup lets the same file run across different systems, provided there’s a compatible interpreter or VM available, which is why bytecode is described as universally portable.

Other options don’t fit as well. Plain code is just source text and isn’t itself a portable executable. A code block isn’t a standard term for a portable intermediate form. A compiler is a tool that translates source into machine code for a specific architecture, not the portable file that gets interpreted at runtime.