Which of the following HTTP methods does NOT have a body in the Fetch API?

  • GET
  • POST
  • DELETE
  • PUT
In the Fetch API, the HTTP GET method does not have a body because it is used to retrieve data from a server. The other methods like POST, DELETE, and PUT can include a request body to send data to the server. Understanding this is essential when working with APIs for data retrieval and manipulation.

What is the main purpose of using asynchronous programming in JavaScript?

  • Improved Performance
  • Simplifying Code
  • Avoiding Errors
  • Synchronous Execution
The main purpose of using asynchronous programming in JavaScript is to improve performance. It allows tasks like network requests, file operations, and timers to be executed without blocking the main thread, resulting in a more responsive and efficient application. This is especially crucial in web development.

In regression analysis, if the Variance Inflation Factor (VIF) for a predictor is 1, this means that _________.

  • The predictor is not at all correlated with other predictors
  • The predictor is not at all correlated with the response
  • The predictor is perfectly correlated with other predictors
  • The predictor is perfectly correlated with the response
In regression analysis, a Variance Inflation Factor (VIF) of 1 indicates that there is no correlation between the given predictor and the other predictors. This implies no multicollinearity.

Why might PCA be considered a method of feature selection?

  • It can handle correlated features
  • It can improve model performance
  • It can reduce the dimensionality of the data
  • It transforms the data into a new space
Principal Component Analysis (PCA) can be considered a method of feature selection because it reduces the dimensionality of the data by transforming the original features into a new set of uncorrelated features. These new features, called principal components, are linear combinations of the original features and are selected to capture the most variance in the data.

You've created a pairplot of your dataset, and one scatter plot in the grid shows a clear linear pattern. What could this potentially indicate?

  • The two variables are highly uncorrelated
  • The two variables are unrelated
  • The two variables have a strong linear relationship
  • The two variables have no relationship
If a scatter plot in a pairplot shows a clear linear pattern, this could potentially indicate that the two variables have a strong linear relationship. This means that changes in one variable correspond directly to changes in the other variable.

A team of researchers has already formulated their hypotheses and now they want to test these against their collected data. What type of data analysis would be appropriate?

  • All are equally suitable
  • CDA
  • EDA
  • Predictive Modeling
CDA would be the most appropriate as it involves testing pre-formulated hypotheses against the collected data to either confirm or refute them.

When performing a pairwise analysis, _____ deletion discards only the specific pairs of data where one is missing.

  • Listwise
  • Pairwise
  • Random
  • Systematic
When performing a pairwise analysis, 'pairwise' deletion discards only the specific pairs of data where one is missing. It allows the retention of more data compared to listwise deletion, but it can lead to biased results if the data is not missing completely at random.

You have a dataset where a few outliers are caused due to measurement errors. Which method would be appropriate for handling these outliers?

  • Binning
  • Removal
  • Transformation
  • nan
Outliers due to measurement errors do not provide meaningful information and might mislead the analysis, hence removal would be appropriate in this case.

Which of the following best describes qualitative data?

  • Data that can be categorized
  • Data that can be ordered
  • Data that can take any value
  • Data that is numerical in nature
Qualitative data refers to non-numerical information that can be categorized based on traits and characteristics. It captures information that cannot be simply expressed in numbers.

In the context of EDA, what does the concept of "data wrangling" entail?

  • Calculating descriptive statistics for the dataset
  • Cleaning, transforming, and reshaping raw data
  • Training and validating a machine learning model
  • Visualizing the data using charts and graphs
In the context of EDA, "data wrangling" involves cleaning, transforming, and reshaping raw data. This could include dealing with missing or inconsistent data, transforming variables, or restructuring data frames for easier analysis.