Executing one or more statements one or more times is known as:

a. selection
b. iteration
c. sequence
d. algorithm


b. iteration

Computer Science & Information Technology

You might also like to view...

When do you need one?

What will be an ideal response?

Computer Science & Information Technology

Develop a C++ program that uses a while statement to determine the gross pay for each of several employees. The company pays “straight time” for the first 40 hours worked by each employee and pays “time-and-a-half” for all hours worked in excess of 40 hours. You are given a list of the employees of the company, the number of hours each employee worked last week and the hourly rate of each employee. Your program should input this information for each employee and should determine and display the employee’s gross pay.

a) Read the problem statement. b) Formulate the algorithm using pseudocode and top-down, stepwise refinement. c) Write a C++ program. d) Test, debug and execute the C++ program. ``` Enter hours worked (-1 to end): 39 Enter hourly rate of the employee ($00.00): 10.00 Salary is $390.00 Enter hours worked (-1 to end): 40 Enter hourly rate of the employee ($00.00): 10.00 Salary is $400.00 Enter hours worked (-1 to end): 41 Enter hourly rate of the employee ($00.00): 10.00 Salary is $415.00 Enter hours worked (-1 to end): -1 ```

Computer Science & Information Technology

Draw a flowchart for the program fragments (no need to show start and stop)

``` DO UNTIL n = 3 LET sum = sum + n LET n = n + 1 LOOP ```

Computer Science & Information Technology

To install Active Directory on a Windows Server 2008 R2, there must be additional disk space of _________________________

a. 100 MB for the Active Directory database and SYSVOL folder, plus at least 100 MB for the transaction log files b. 200 MB for the Active Directory database and SYSVOL folder, plus at least 100 MB for the transaction log files c. 300 MB for the Active Directory database and SYSVOL folder, plus at least 100 MB for the transaction log files d. 500 MB for the Active Directory database and SYSVOL folder, plus at least 100 MB for the transaction log files.

Computer Science & Information Technology