QCM - Section 8: out (Partie 3)
Quiz interactif avec 5 questions. Testez vos connaissances!
Comment jouer ?
- 1. Lisez chaque question attentivement
- 2. Choisissez votre réponse parmi les options
- 3. Cliquez sur "Voir la réponse" pour vérifier
- 4. Comptez vos bonnes réponses à la fin !
Quiz: QCM - Section 8: out (Partie 3)
5 questions | Difficulté: moyen
Question 1
Where is Java typically installed on Fedora?
- A. /usr/java
- B. /usr/lib/jvm
- C. /etc/alternatives/java
- D. /dev/null
Voir la réponse
Réponse correcte: B
On Fedora, the default location for Java installation is ‘/usr/lib/jvm’.
Question 2
What tool in a typical JRE allows you to run the Nashorn Javascript engine?
- A. java
- B. jjs
- C. keytool
- D. pack200
Voir la réponse
Réponse correcte: B
The ‘jjs’ command is used for running the Nashorn Javascript engine.
Question 3
What does the Java Development Kit (JDK) distribution include that a Java Runtime Environment (JRE) does not?
- A. The javac command
- B. JavaFX
- C. The java command
- D. The policytool command
Voir la réponse
Réponse correcte: A
The JDK distribution includes the ‘javac’ command, which compiles J files.
Question 4
How can you find the installation directory of Java if you are having difficulty locating it?
- A. ls -l /usr/java
- B. find / -name java -type f
- C. locate java
- D. rm /usr/java
Voir la réponse
Réponse correcte: B
You can use the ‘find’ command to find files called ‘java’ on your system.
Question 5
Which of the following commands supports Java CORBA and RMI applications?
- A. orbd
- B. rmid
- C. rmiregistry
- D. tnameserv
Voir la réponse
Réponse correcte: C
The ‘rmid’ command supports Java CORBA and RMI applications.