Skip to content
Sign in
Computer PPSC

A language that can be written on one platform and executed on another platform is said to be

Tap an option to check the answer. You can also press A–D.

Show answer

Correct answer: A) Portable

A portable language or program can run on different hardware and operating systems with little or no change, for example Java bytecode running on a Java Virtual Machine. Related facts: Portability is a key advantage of high-level languages such as Java and Python. Platform-dependent code runs only on the system it was compiled for. Exam tip: Remember: write once, run anywhere describes portability. This is a commonly tested basic fact in PPSC and FPSC computer tests.
Explanation
A portable language or program can run on different hardware and operating systems with little or no change, for example Java bytecode running on a Java Virtual Machine. Related facts: Portability is a key advantage of high-level languages such as Java and Python. Platform-dependent code runs only on the system it was compiled for. Exam tip: Remember: write once, run anywhere describes portability. This is a commonly tested basic fact in PPSC and FPSC computer tests.