How many times is the body of the loop below executed?

```
int counter = 1;
while (counter > 20) {
// body of loop
counter = counter - 1;
}
```

a. 19.
b. 20.
c. 21.
d. 0.


d. 0.

Computer Science & Information Technology

You might also like to view...

What is the value of average after the following code executes?

double average; average = 1.0 + 2.0 + 3.0 / 3.0; a. 2.0 b. 3.0 c. 4.0 d. 2 e. unknown

Computer Science & Information Technology

____ can attach themselves to a legitimate computer file, replicate to other programs, and deliver various payloads.

A. Snakes B. Viruses C. Bacteria D. Worms

Computer Science & Information Technology

E1 and SONET use a derivative of the High-Level Data Link Control (HDLC) protocol as the control channel.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Given the following data and assuming a clock rate of 1,000 MHz



calculate the average memory access time. Assume that L2 and DRAM are accessed in parallel with L1.

Computer Science & Information Technology