In computer vision, what process involves converting an image into an array of pixel values?

  • Segmentation
  • Feature Extraction
  • Pre-processing
  • Quantization
Pre-processing in computer vision typically includes steps like resizing, filtering, and transforming an image. It's during this phase that an image is converted into an array of pixel values, making it ready for subsequent analysis and feature extraction.

You are working on a dataset with income values, and you notice that a majority of incomes are clustered around $50,000, but a few are as high as $1,000,000. What transformation would be best suited to reduce the impact of these high incomes on your analysis?

  • Min-Max Scaling
  • Log Transformation
  • Z-score Standardization
  • Removing Outliers
To reduce the impact of extreme values in income data, a log transformation is often used. It compresses the range of values and makes the distribution more symmetrical. Min-Max scaling and z-score standardization don't address the issue of extreme values, and removing outliers may lead to loss of important information.

For translation-invariant tasks in image processing, which type of neural network architecture is most suitable?

  • Autoencoders
  • Siamese Networks
  • Convolutional Neural Networks (CNNs)
  • Recurrent Neural Networks (RNNs)
Convolutional Neural Networks (CNNs) are well-suited for translation-invariant tasks, such as image processing, due to their ability to capture local patterns and features. CNNs can automatically learn and detect features in images, making them effective for tasks like object recognition and image classification.

Why is it crucial to conduct system testing before the software product is released into the production environment?

  • To identify programming bugs
  • To verify if the software meets user requirements
  • To ensure hardware compatibility
  • To save time and money
System testing is essential to ensure that the software behaves as intended and meets user requirements before it's released into the production environment. While other options like identifying bugs and hardware compatibility are important, the primary purpose of system testing is to validate the software's compliance with user expectations.

Imagine a situation where a software system, after a minor patch, begins to exhibit issues in previously stable functionalities. How might a well-structured regression testing plan have prevented this?

  • By only testing the new functionality
  • By testing only the patch itself
  • By retesting the entire software
  • By ignoring the patch
A well-structured regression testing plan would have prevented issues after a minor patch by retesting the entire software. This ensures that not only the newly patched code is checked but also that it doesn't break any previously stable functionalities. Ignoring the patch (option 4) or only testing the new functionality (option 1) would not provide adequate coverage.

How is system testing different from integration testing in the context of scope and purpose?

  • System testing focuses on testing individual components, while integration testing checks the entire system.
  • System testing is performed by developers, while integration testing is done by QA testers.
  • System testing is concerned with identifying coding errors, while integration testing verifies interactions between different modules.
  • System testing is conducted after integration testing.
System testing concentrates on ensuring that individual components within the system behave correctly as a whole and meet user requirements. Integration testing, on the other hand, is specifically focused on verifying the interactions and data flow between different modules and their compatibility.

How does the Adapter design pattern enable the compatibility between two incompatible interfaces?

  • By changing the source code of one of the interfaces
  • By creating a new interface to bridge the two incompatible interfaces
  • By making one interface dependent on the other
  • By removing one of the interfaces
The Adapter design pattern enables compatibility between two incompatible interfaces by creating a new interface (the adapter) that acts as a bridge between the two. This adapter converts the methods of one interface into methods that the other interface can understand, making them compatible without changing their source code.

The main purpose of a ______ review is to identify any inconsistency between the work product and its input criteria.

  • Technical
  • Compliance
  • Formal
  • Informal
A formal review is a structured evaluation process aimed at identifying inconsistencies between a work product and its input criteria, which can include requirements, standards, or specifications. It helps ensure the quality and correctness of the work product.

In light of AI ethics, why is the "right to explanation" becoming increasingly important?

  • It ensures AI algorithms remain proprietary
  • It promotes transparency in AI decision-making
  • It limits the use of AI in sensitive applications
  • It reduces the complexity of AI algorithms
The "right to explanation" is important as it promotes transparency in AI decision-making. In ethical AI, users should have insight into how AI algorithms arrive at their decisions. This transparency is vital to prevent bias, discrimination, and unethical decision-making, making it a critical aspect of AI ethics.

A common method to combat the vanishing gradient problem in RNNs is to use _______.

  • Gradient boosting
  • Long Short-Term Memory (LSTM)
  • Principal Component Analysis
  • K-means clustering
To combat the vanishing gradient problem in RNNs, a common approach is to use Long Short-Term Memory (LSTM) units. LSTMs are designed to alleviate the vanishing gradient issue by allowing gradients to flow over longer sequences.