The ________ function in CodeIgniter can be used to load libraries, helpers, or custom config files within a controller.

  • import
  • include
  • load
  • require
The load function in CodeIgniter is used to load libraries, helpers, or custom config files within a controller. This enables the use of additional resources, enhancing the functionality of the controller.

Which measure of central tendency is most affected by extreme values or outliers?

  • All are equally affected
  • Mean
  • Median
  • Mode
The mean is most affected by extreme values or outliers. The mean calculates the average of all data points in a dataset. Therefore, when an extreme value (either very high or very low compared to the rest) is introduced, it can significantly impact the mean. The median and mode are less affected by outliers.

How does the Sign Test handle ties between paired samples?

  • Ties are averaged
  • Ties are counted as half a sign
  • Ties are discarded
  • Ties are included in the test
In the Sign Test, ties between paired samples are generally discarded and not included in the final calculation.

Which type of test is the Sign Test: parametric or non-parametric?

  • Both
  • Non-parametric
  • Parametric
  • nan
The Sign Test is a non-parametric test used to test the median of a distribution, or to compare the medians of two distributions.

What does the term 'population' mean in the context of statistics?

  • All animals in a zoo
  • All people in a country
  • The entire group that you are interested in studying
  • The group of people who respond to a survey
In the context of statistics, a 'population' refers to the entire set of individuals or items that we are interested in studying. This could range from all the people living in a country, to all the particles in a chemical solution, to all the sales transactions in a store, and so forth. When we collect data from every individual or item in the population, it's called a census. The information gained from a population is reliable and accurate because it accounts for everyone or everything we want to study.

What is an event in the context of probability?

  • A hypothesis
  • A physical happening
  • A possible outcome or combination of outcomes
  • An experiment
An event in the context of probability refers to a possible outcome or combination of outcomes from a random experiment. For instance, if we toss a coin, the possible outcomes are 'Heads' and 'Tails'. Each of these outcomes is an event.

After installing CodeIgniter, which directory should be set as the web server's document root?

  • application
  • public
  • system
  • vendor
The public directory should be set as the web server's document root after installing CodeIgniter. This ensures that only the necessary files are accessible from the web, enhancing the security of your application.

In OAuth, ________ ensures that tokens are only sent over HTTPS connections to protect against man-in-the-middle attacks.

  • Token Binding
  • Token Encryption
  • Token Revocation
  • Token Validation
In OAuth, Token Binding ensures that tokens are only sent over HTTPS connections, protecting against man-in-the-middle attacks. Token Binding binds the security of the token to the underlying TLS (Transport Layer Security) connection, making it more resistant to interception and misuse.

When implementing social media integrations, the concept of ________ is used to manage and store user consent and tokens.

  • Authorization Code
  • Consent Management
  • OAuth Tokens
  • Token Storage
Consent management is a crucial aspect of social media integrations using OAuth. It involves handling and storing user consent preferences and managing the lifecycle of access tokens issued during the authorization process. Proper consent management enhances user privacy and security.

In CodeIgniter, what configuration setting is crucial for controlling the types of files that can be uploaded?

  • allowed_types
  • file_restrictions
  • file_validation
  • upload_limits
In CodeIgniter, the crucial configuration setting for controlling the types of files that can be uploaded is allowed_types. This setting specifies the allowed file types for upload, helping to restrict uploads to only specified file formats and enhancing the security of the file upload functionality.