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

1. Given the two C++ array declarations:
```
int a[10], b[10];
```
You can successfully compute one array, say a, then assign b to a:
```
a = b;
```
2. In the sequential search algorithm, items are examined alternately, odd then evens, in
order to find whether the target value is in the array (and if the target is present, to the index of the target.)
3. In a sorting an array, the items in the array are rearranged so that
```
for all j and k, if j < k, then array[j]<=array[k]
```
4. In the definition,
```
double d[10] = {0.0};
``` only
```
d[0]
```is initialized to zero,the rest are uninitialized, just like x in the definition```
double x;
```


1. False
2. False.
3. True
4. False

Computer Science & Information Technology

You might also like to view...

If you have several lines from an import file to process, what PowerShell scripting construct can you use to perform the same actions on all lines?

A. DoAll B. ForEach C. WhileNotEmpty D. DoUntil

Computer Science & Information Technology

The theme selected for a presentation controls the colors used in tables and charts, but not graphics and SmartArt

Indicate whether the statement is true or false

Computer Science & Information Technology

In OpenOffice Writer, the default font size is 10 points

Indicate whether the statement is true or false

Computer Science & Information Technology

A(n) ____________________ is an extended network that shares part of an organization's network with a third party.

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

Computer Science & Information Technology