The characteristic that defines the kind of data you can store in a field is the:

a. data source
b. data type
c. field property

B

Computer Science & Information Technology

You might also like to view...

Which of the methods below removes all the blue from every pixel of a picture that already has a blue value of more than 100? Only D removes the blue from every pixel in the picture that has a blue value of greater than 100.

1. A only 2. D only 3. B and C 4. C and D 5. None 6. All What do the other ones do? Answer A sets all the pixels to have a blue value of 100. Answer B changes the blue value of all pixels that have a blue value greater than 0 to 100. Answer C changes the blue value of all pixels that have a color distance greater than 100 to the color constant BLUE to 0. Answer D sets the blue value of all pixels that have a blue value greater than 100 to 0.

Computer Science & Information Technology

Analyze the following code:

``` #include using namespace std; class Date { friend void p(); private: int year; int month; int day; }; void p() { Date date; date.year = 2000; cout << date.year; } int main() { p(); return 0; } ``` A. The program compiles and runs fine and display 2000. B. Since year is private, you cannot access it using date.year in function p(). C. The program has a syntax error because year is a private data field in Date. D. The program will have a syntax error if the line friend void p() is deleted.

Computer Science & Information Technology