Examlex

Solved

As of C++11, You Can Ask a Vector or Deque

question 11

Multiple Choice

As of C++11, you can ask a vector or deque to return unneeded memory to the system by calling member function shrink_to_fit. This requests that the container reduce its capacity to the number of elements in the container. According to the C++ standard, implementations can ignore this request so that they can perform implementation-specific optimizations.


Definitions:

P-value

The probability of observing test results at least as extreme as the results actually observed, under the assumption that the null hypothesis is correct.

Level of Significance

A measure within hypothesis testing that determines the threshold at which the null hypothesis is rejected, often denoted by alpha (α).

Degrees of Freedom

Degrees of Freedom refer to the number of values in a calculation that are free to vary while still estimating certain statistical properties.

Between-Treatments

Pertains to the variations between group means in an experiment and is key to determining whether treatment effects exist.

Related Questions