What is a loop?

What will be an ideal response?


A loop is a construct that executes ActionScript a repeating number of times
based on a conditional statement.

Computer Science & Information Technology

You might also like to view...

Predefined _____ are built into the software, and include formats for displaying currency, percentages, and general numbers.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The Factorial application calculates the factorial of an integer input by the user. The factorial of an integer is the product of each integer from one to that integer. For example, the factorial of 3—represented in mathematics as 3!— is 6 (1 2 3). While testing the application, you notice that it does not execute correctly. Use the debugger to find and correct the logic error(s) in the application. Figure 9.26 displays the correct out- put for the Factorial application.

5
a) Copying the template to your working directory. Copy the C:Examples Tutorial09ExercisesDebuggerFactorial directory to your C:SimplyJava directory.
b) Opening the Command Prompt window and changing directories. Open the Com- mand Prompt window by selecting Start > Programs > Accessories > Command Prompt. Change to your working directory by typing cd C:SimplyJavaDebug- gerFactorial.
c) Running the application. Run the Factorial application by typing java Factorial.
Enter the value 3 into the Enter number: JTextField and press the Calculate JBut- ton. Notice that the result displayed in the Factorial: JTextField (0) is not the cor- rect value (6).
d) Closing the application. Close your running application by clicking its close button. e) Compiling with the -g option. For debugging, compile the application by typing
javac -g Factorial.java.
f) Starting the debugger. Start the debugger by typing jdb.
g) Opening the template file. Open the Factorial.

Computer Science & Information Technology

What is the “three-clicks” rule?

What will be an ideal response?

Computer Science & Information Technology

Software packages created with the RPM utility are often called "RPM files" or simply "____."

A. packages B. archives C. installations D. repositories

Computer Science & Information Technology