Preview

02 - Intermediate languages (bytecode)

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

  TRUE

  FALSE

 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 any high level language into machine code

  converting intermediate language into specific machine code

  transferring data from RAM to the hard drive

  being networked to other computers

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

  bytecode

  shortcode

  bitcode

  intercode

 5. What does this language look like?

  pseudocode

  binary numbers (1s an 0s)

  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?

  C#

  Pearl

  Python

  Java

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

  4

  1, 2 and 3

  1, 2 and 4

  2 and 3

 9. What is a JIT compiler?

  Justified-in-text

  Joint-interval-translator

  J

  Just-in-time

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

  Jython

  Json

  Pythava

  Pavlova