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.

  FALSE

  TRUE

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

  converting any high level language into machine code

  transferring data from RAM to the hard drive

  being networked to other computers

  converting intermediate language into specific machine code

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

  bitcode

  intercode

  shortcode

  bytecode

 5. What does this language look like?

  easily understandable English words

  pseudocode

  binary numbers (1s an 0s)

  numeric codes, constants and references

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

  TRUE

  FALSE

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

  Java

  Python

  C#

  Pearl

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

  4

  2 and 3

  1, 2 and 3

  1, 2 and 4

 9. What is a JIT compiler?

  J

  Justified-in-text

  Joint-interval-translator

  Just-in-time

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

  Jython

  Pythava

  Json

  Pavlova