In BDD with Cucumber, what language is used to write test scenarios?

  • C#
  • Gherkin
  • Java
  • Python
In Behavior-Driven Development (BDD) with Cucumber, test scenarios are written in the Gherkin language. Gherkin is a business-readable language that uses a simple, structured syntax to describe the behavior of software in terms of Given, When, and Then steps. Gherkin is designed to be easily understandable by non-technical stakeholders, fostering collaboration between different roles in the development and testing process.

In a scenario where system functionality is complex and interconnected, how would Model-Based Testing improve test accuracy?

  • By automating test cases based on predefined models
  • By conducting exploratory testing
  • By skipping testing in interconnected systems
  • By using only manual testing
Model-Based Testing improves test accuracy in complex, interconnected systems by automating test cases based on predefined models. These models capture the expected behavior of the system, helping to ensure comprehensive test coverage and reducing the likelihood of overlooking critical interdependencies within the system.

__________ is a critical component in automation that ensures consistency and reliability of test results.

  • Test Automation Framework
  • Test Data
  • Test Execution Environment
  • Test Plan
A test automation framework is a critical component in automation that ensures consistency and reliability of test results. It provides a structured way to organize and execute automated tests, facilitates code reuse, and helps maintain a uniform testing process across different test cases. A well-designed automation framework contributes to the scalability and maintainability of automation projects.

A Hybrid Testing Framework often combines __________ and __________ methodologies for comprehensive testing coverage.

  • Agile
  • Automated Testing
  • Manual Testing
  • Waterfall
A Hybrid Testing Framework often combines Automated Testing and Manual Testing methodologies for comprehensive testing coverage. This combination allows testers to leverage the strengths of both automated and manual testing, ensuring thorough testing of the application. Automated testing is used for repetitive and regression testing, while manual testing is employed for exploratory testing, usability testing, and scenarios that require human intuition.

The concept of _________ in automation strategy is essential to address changes in application features or environments.

  • Modularity
  • Scalability Testing
  • Usability Testing
  • Version Control
The concept of Version Control in automation strategy is essential to address changes in application features or environments. Version control systems, such as Git, help manage and track changes in test scripts and application code. This ensures collaboration among team members, facilitates easy rollback to previous versions if needed, and helps maintain consistency in the automation codebase.

What are the implications of having a small expected frequency in a Chi-square test for goodness of fit?

  • It can cause the Chi-square distribution approximation to be inaccurate
  • It increases the degrees of freedom
  • It leads to a higher power of the test
  • It leads to a smaller Chi-square statistic
If the expected frequency in any category is too small (common rule of thumb is less than 5), the Chi-square distribution approximation may be inaccurate, leading to incorrect conclusions.

If the calculated Chi-square statistic is greater than the critical Chi-square value, we ________ the null hypothesis.

  • accept
  • adjust
  • reject
  • retain
If the calculated Chi-square statistic is greater than the critical Chi-square value (based on the chosen significance level and the degrees of freedom), we reject the null hypothesis. This means the observed distribution significantly differs from the expected distribution.

Factor analysis reduces the dimensions of data by combining similar _______ into groups or factors.

  • eigenvalues
  • factors
  • observations
  • variables
Factor analysis reduces the dimensions of data by combining similar variables into groups or factors.

The ________ distribution is symmetric and its mean, median and mode are equal.

  • Binomial
  • Normal
  • Poisson
  • Uniform
The normal distribution, also known as the Gaussian distribution, is symmetric, and its mean, median, and mode are all equal. It is shaped like a bell curve, with the data evenly distributed about the mean.

What are the key assumptions for applying the Sign Test?

  • Data must be at least ordinal
  • Data must be categorical
  • Data must be continuous
  • Data must be normally distributed
The key assumption for applying the Sign Test is that the data must be at least ordinal. The Sign Test is a non-parametric test and does not require the assumption of normality.