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 …

  transferring data from RAM to the hard drive

  being networked to other computers

  converting any high level language into machine code

  converting intermediate language into specific machine code

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

  shortcode

  bytecode

  intercode

  bitcode

 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.

  TRUE

  FALSE

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

  Python

  C#

  Pearl

  Java

 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 3

  1, 2 and 4

  2 and 3

  4

 9. What is a JIT compiler?

  Justified-in-text

  J

  Joint-interval-translator

  Just-in-time

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

  Jython

  Pavlova

  Pythava

  Json