Quiz
Sem título
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (6)
1In Search-Based Software Testing, which of the following statements is true?
- AThe branch distance is the fitness function to minimize for obtaining the test case that cover a specific test target (e.g., branch in the code).
- BThe single-point crossover is a genetic operator that randomly changes one input parameter in a test case.
- CThe approach level is the fitness function to minimize for obtaining the test case that cover a specific test target (e.g., branch in the code).
- DThe roulette wheel is a selection mechanism where test cases with better fitness function have higher probability to be selected for reproduction.
2 What is random fuzzing?
- AD. Testing different random inputs until the system crashes.
- BObfuscating the source code so it is no longer readable.
- CRandomly picking paths in a state diagram and writing tests for that path.
- DAsking programmers at random to try to break your software.
3In Search-Based Software Testing, which of the following statements corresponds best to the “No-Free Lunch Theorem”
- AGiven two search algorithms A1 and A2,if A1 performs better than A2 on a problem P1,there will be another problem P2 on which A2 performs better than A1.
- BGenetic Algorithms always perform better than random search
- CGiven two search algorithms A1 and A2,if A1 performs better than A2 on a problem P1,there will be another problem P2 on which A1 also performs better than A2.
- DRandom search always performs better than Genetic Algorithms.
4The laws of software evolution by Belady and Lehman can be paraphrased as:
- AThe mess in a software system will increase over time, unless you do something about it
- BDuetoevolution,chaostheoryappliestosoftwaresystems,whichexplainswhyasmallchange can have drastic effects.
- CThrough principled design, controlled software evolution is possible.
- DContinuing change is facilitated by a decrease in entropy.
5Which of the following is a valid reason to use assertions in your code?
- ATo make debugging easier.
- BTo handle errors in the program.
- CTo speed up the program.
- DTo conduct input validation.
6A state object’s self-check method,as discussed in the article Beyond Page Objects,is aimed at
- AChecking that the web application is in a given state
- BChecking that the inputs entered on a web page meet the invariant of the page controllers.
- CChecking that the object meets its preconditions.
- DChecking that an event is triggered with the appropriate action.
Informações
- Descrição
- Quiz sobre Sem título, criado por Earth Grob em 03-07-2017.
- Autor
- Earth Grob
- Idioma
- English
- Visualizações
- 0
- Avaliação
- Ainda sem avaliações Avalie este quiz