Which one of the following statements declares a named constant named GRAVITY with an initialization value of 9.8?

a. double GRAVITY = 9.8 const;
b. const double GRAVITY = 9.8;
c. double const GRAVITY = 9.8;
d. double GRAVITY const = 9.8;


b. const double GRAVITY = 9.8;

Computer Science & Information Technology

You might also like to view...

When inserting an item into a binary tree,

a. the item is always inserted in the root. b. the item is always inserted in such a way that the parent node's key is less than the item node's key. c. the item is often placed in both the left sub-tree and the right sub-tree for ease of retrieval. d. we must first check to determine if the tree is full. e. we must first determine if the item's key already exists in the tree. If so, no insertion is performed.

Computer Science & Information Technology

To improve performance, a designer can attempt to reduce the number of collisions that occur in an inverted page table by ________.

a) increasing the size of the inverted page table b) increasing the range of the hash function using a hash anchor table c) both a and b d) none of the above

Computer Science & Information Technology

In order to define table relationships, each table being joined must contain a common field. _________________________

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

Computer Science & Information Technology

Which loop repeats a statement or set of statements as long as the Boolean expression is false?

A ) Do-While B ) Do-Until C ) For D ) While E ) None of these

Computer Science & Information Technology