Consider the code segment below:
```
int xValues[] = {100, 150, 200, 100};
int yValues[] = {30, 130, 30, 30};
g.drawPolyline(xValues, yValues, 4);
```
What kind of figure does it draw?
a. A rectangle.
b. A triangle.
c. A V with its corner at the top.
d. A square.
b. A triangle.
You might also like to view...
A ____________ expression is an expression that can be thought of as being true or false.
Fill in the blank(s) with the appropriate word(s).
The following program has been partitioned into two files. Before we commented out the keyword namespace and the curly braces that were around func(int) this program compiled and had this output:
```
func(5) = 25
junk(5) = 75
```
Will the code compile now? If so, predict the output and explain.
```
// This goes in file A.cpp
//namespace //
//{
int func(int i)
{
return i*3;
}
//}
int junk (int i)
{
return i*func(i);
}
// This goes in file B.cpp
#include
_______________ values are like binary values but are limited to exactly 64 bits.
Fill in the blank(s) with the appropriate word(s).
A three-tier, or multitier, client/server system consists of three distinct pieces: These are ____.
A. the client tier, the processing tier, and the data storage tier B. the client tier, the design tier, and the processing tier C. the storage tier, the distributing tier, and the processing tier D. the email tier, the messaging tier, and the data storage tier