Show the value of x after each of the following statements is performed:

```
a) x = fabs(7.5);
b) x = floor(7.5);
c) x = fabs(0.0);
d) x = ceil(0.0);
e) x = fabs(-6.4);
f) x = ceil(-6.4);
g) x = ceil(-fabs(-8 + floor(-5.5)));

```


a) 7.5
b) 7.0
c) 0.0
d) 0.0
e) 6.4
f) -6.0
g) -14.0

Computer Science & Information Technology

You might also like to view...

As the number of items in a search pool grows, the number of comparisons required to search _______________

a) increases b) decreases c) stays the same d) goes to 0 e) none of the above

Computer Science & Information Technology

Which of the following is an example of information warfare?

A) Gathering information on an opponent B) Creating a virus C) Using a packet sniffer to create a network baseline D) Using a packet sniffer to check if the encryption is strong enough

Computer Science & Information Technology

You can press the Esc key to play animations.

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

Computer Science & Information Technology

Bar code scanners are an example of ______________________.

A. Batch processing B. OLAP C. OLTP D. Source data automation

Computer Science & Information Technology