Programming - Introduction to JAVA
You Are Here :: Home > JAVA > Introduction to JAVA - General Questions
25.
What are the two ways that a source program can be run on a computer system?
A) Translation
B) Interpretation
C) Compilation
D) Execution
A.
Both A and C
B.
Both A and B
C.
Both C and D
D.
Both B and C
Answer: Option Both A and B
Explanation:
The two ways that a source program can be run on a computer system are
Translation (into machine instructions, which are then directly executed by the processor)
Interpretation (by an interpreter program)
26.
Could a processor chip be built that executes Java bytecodes directly, just as a Pentium executes its machine language directly?
A.
Yes
B.
No
C.
Cant say
D.
May be
Answer: Option A
Explanation:
Yes. Hardware Java processor chips have been created out of silicon and can execute bytecode files just as a Pentium exectues files of its machine language.
27.
Can bytecodes be sent from computer to computer over the Internet?
A.
Yes
B.
No
C.
Cant say
D.
May be
Answer: Option A
Explanation:
Yes,bytecodes be sent from computer to computer over the Internet
28.
Is the Java used to write applets the same Java as that used to write applications?
A.
Yes
B.
No
C.
Cant say
D.
May be
Answer: Option A
Explanation:
Yes,Java is used to write applets the same Java as that used to write applications
29.
what is java slogan?
A.
Write once Run once
B.
Write once Run anywhere
C.
Write once
D.
Run once
Answer: Option D
Explanation:
Java slogan is Write once Run anywhere
30.
In which year, Sun world conference has given entire details of Java?
A.
1990
B.
1991
C.
1995
D.
1992
Answer: Option C
Explanation:
In 1995, Sun world conference has given entire details of Java
« prev
next »