reads source code one statement at a time and executes it immediately
explain the role of an
interpreter
these are the individual components that are needed in order to solve a problem domain
describe the
object
within object-oriented programming
name 4 subsets of the java standard edition and there capabilities
what are the two editions of the
Java development kit (JDK)
what are 5 reasons that java became popular
the drawback of this is that the compiled code will be specific to the platform it was compiled on
what is the drawback of compiling directly to machine code
describe the difference between public and private Java runtime environments
java runtime environments (JRE) are public meaning that they will by default run any java code
java development kits include a private JRE meaning that it will only run java code when we ask it to do so
describe the structure of an
object-oriented program
what is the advantage of using bytcode and a virtual machine
by using these the bytcode can be ran on any type of machine as long that machine has the correct virtual machine installed on it
the advantage is that no changes are required in either the source or bytecode when porting to different machines
an intermediate language that is understood by a virtual machine which in turn can either interpret or compile the intermediate language to machine code
what is
bytecode
ex1
domain - a system that manages patients in a hospital
Objects - patients doctors, nurses, wards
ex2
Domain - user interface
Objects - buttons, menus, windows
give two examples of domains and objects
give two examples of domains and objects
ex1
domain - a system that manages patients in a hospital
Objects - patients doctors, nurses, wards
ex2
Domain - user interface
Objects - buttons, menus, windows
give three sidenotes concerning java versions and editions
this is used for developing Java applications
it will include:
* private java runtime environment (JRE)
* an interpreter/loader (Java)
* a compiler (javac)
* an archiver (jar)
* a documentation generator (Javadoc)
* other tools needed in Java development
describe the
java development kit
and some of the components it will consist of
this uses
dynamic / just-in-time (JIT) compilation
what type of compilation is used by the
java virtual machine
this is the problem we are trying to solve or a system and will employ objects in order to create the solution
describe the
domain
within object-oriented programmig
translates entire source code to either machine code or bytecode
explain the role of a
compiler
this will contain the minimum requirements to run a Java
it will include:
* Java Virtual Machine (JVM)
* core classes
* supporting files
describe the
Java runtime environment (java RTE)
and some of the components it will consist of
what type of compilation is used by the
java virtual machine
this uses
dynamic / just-in-time (JIT) compilation
by using these the bytcode can be ran on any type of machine as long that machine has the correct virtual machine installed on it
the advantage is that no changes are required in either the source or bytecode when porting to different machines
what is the advantage of using bytcode and a virtual machine
explain the role of an
interpreter
reads source code one statement at a time and executes it immediately
describe the
object
within object-oriented programming
these are the individual components that are needed in order to solve a problem domain
what are 5 reasons that java became popular
give two points that describe the structure of a
procedural program