Shared Flashcard Set

Details

John's Chapter 5
Fill in the blank exercise
10
Computer Science
Undergraduate 1
03/11/2014

Additional Computer Science Flashcards

 


 

Cards

Term
1. Complete the program so that it writes "Good-by" on the computer monitor.

class Bye
{
public static void main ( String[] args )
{
System.out.println(" ");
}
}
Definition
Good-Bye
Term
2. The source file that this program is saved in should be called (Be sure you use correct upper and lower case characters.)
Definition
Bye.java
Term
3. To compile the program, enter this command into the DOS window:

C:\SomeDir> Bye.java
Definition
javac
Term
4. The compiler will create a file containing " " . This file will be named " " .
Definition
bytecodes Bye.class
Term
5. To run the bytecodes, enter this command into the DOS window:

C:\SomeDir> " " Bye
Definition
java
Term
6. The program that interprets the byte codes on your hardware is called the Java " " .
Definition
Virtual Machine
Term
7. Although the underlying hardware may be different, the Java Virtual Machine on your computer is " " as that on any other computer, and so can run the same byte codes.
Definition
the same
Term
8. An " " is a Java bytecode program that runs on a Web browser.
Definition
applet
Term
9. To create a Java source file, use a program called a " " such as Notepad.
Definition
test editor
Term
10. The " " command of DOS is used to examine the files in a directory.
Definition
DIR
Supporting users have an ad free experience!