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

1. When you use a strongly typed enumerator in C++11 you must prefix the enumerator with the name of the enum followed by the :: operator.
2. The names of enumerators in an enumerated data type must be enclosed in quotation marks.
3. In C++11 if you want to retrieve a strongly typed enumerator's underlying integer value, you must use a cast operator.
4. Given the structure definition shown, assume that circle1 and circle2 are variables of the Circle type and their members have been initialized.
```
struct Circle
{
double centerX;
double centerY;
double radius;
};
```
Then, is it true or false that the following statement correctly determines whether the two variables' members contain the same data?
```
if (circle1 == circle2)
```


1. T
2. F
3. T
4. F

Computer Science & Information Technology

You might also like to view...

Modelling a problem by extracting the essential variables and their relationships is called a(n) __________.

a. algorithm b. interface c. abstraction d. top-level design e. top-down design

Computer Science & Information Technology

Consider a DRM-SWWSN where there are N nodes spread across an area of Am 2 in a uni- form distributed manner. Assume that all nodes have H-sensor capability. For a directed angle of ? = 30 degrees, estimate the mean number of members in the DNT given the prob- ability p = 0.2. What are the impacts of having a very small number of members in the DNT?

What will be an ideal response?

Computer Science & Information Technology

A file consisting of organized data is known as a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

Megan Meier was a 13-year-old student from Ostmann Elementary School in Missouri who committed suicide by hanging herself. Lori Drew, a 47-year-old, posed as a boy named Josh Evans. She created a fake ________ page and befriended Megan

a. MySpace b. Facebook c. LinkedIn d. None of the above

Computer Science & Information Technology