Preview

02 - Intermediate languages (bytecode)

 1. A program in machine code can run on any computer.
intermediatelanguages_q1.jpg

  FALSE

  TRUE

 2. Different CPUs (e.g. Intel, Apple and ARM) require specific compilers.

  TRUE

  FALSE

 3. A virtual machine gets around the problem of different platforms by …

  converting intermediate language into specific machine code

  being networked to other computers

  converting any high level language into machine code

  transferring data from RAM to the hard drive

 4. The intermediate language that can be run on a virtual machine is known as …

  bytecode

  bitcode

  intercode

  shortcode

 5. What does this language look like?

  binary numbers (1s an 0s)

  pseudocode

  easily understandable English words

  numeric codes, constants and references

 6. The intermediate instructions can be run on any platform that supports the virtual machine.

  FALSE

  TRUE

 7. Write once, run anywhere' was a slogan associated with which programming language?

  Pearl

  Java

  Python

  C#

 8. Which of the following are designed to make use of intermediate language?
1.Dart
2.Java
3.Adobe Flash
4.V8

  1, 2 and 4

  2 and 3

  1, 2 and 3

  4

 9. What is a JIT compiler?

  Just-in-time

  Justified-in-text

  Joint-interval-translator

  J

 10. What program can be used to run Python on the Java virtual machine?
intermediatelanguages_q10.jpg

  Jython

  Pythava

  Pavlova

  Json