Magna Concursos

Foram encontradas 598 questões.

1110589 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB

Set the Table

When you begin writing tests, you will discover a common pattern:

1. Create some objects

2. Stimulate them

3. Check the results

While the stimulation and checking steps are unique test-to-test, the creation step is often familiar. I have a 2 and 3. If I add them, I expect 5. If I subtract them, I expect – 1, if I multiply them, I expect 6. The stimulation and expected results are unique, the 2 and the 3 don’t change.

If this pattern repeats at different scales (and it does), then we’re faced with the question of how often do we want to create new objects. Looking back at our initial set of constraints, two constraints come into conflict:

· Performance—we would like our tests to run as quickly as possible

· Isolation—we would the success or failure of one test to be irrelevant to other tests

For performance sake, assuming creating the objects (we’ll call them collectively the “fixture”) is expensive, we would like to create them once and then run lots of tests.

But sharing objects between tests creates the possibility of test coupling. Test coupling can have an obvious nasty effect, where breaking one test causes the next ten to fail even though the code is correct. Test coupling can have a subtle really nasty effect, where the order of tests matters. If I run A before B, they both work, but if I run B before A, then A fails. Worse, the code exercised by B is wrong, but because A ran first, the test passes.

Kent Beck – Test-Driven Development By Example. Addison-Wesley Professional; Edição: 1. Novembro, 2002. Page 82.

Based on the text it is correct to state about the coupling of tests that:
 

Provas

Questão presente nas seguintes provas
1110588 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB
Provas:
When an IT company wants to control their IT projects, two paradigms collide. Mark the alternative that best describes such paradigms:
 

Provas

Questão presente nas seguintes provas
1110587 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB

Team Composition

In a large organization, it is often the case that different roles emerge. In Tayloristic teams, these different roles are grouped together as a number of role-based teams each of which contains members of the same role. In contrast, agile teams use cross-functional teams. Such a team draws together individuals performing all defined roles. Rotations from one role to another are common. It is also possible to have highly specialized experts (for example, security analysts and usability engineers) shared among several teams in an organization.

One advantage to role-based teams is that teams whose work products are independent of each other can work in parallel as long as there is not much knowledge flow among the different functional sub-team. However, in knowledgeintensive software development that demands information flow from different functional sub teams, role-based teams tend to lead to islands of knowledge and difficulty in its sharing among all the teams. As hand-offs between teams usually are based on document flow, the knowledge of one team that is required by the other team must be externalized and documented. Although reviews try to minimize the knowledge loss, externalization and documentation processes cannot guarantee that all knowledge is captured and even if most of it was rigorously captured, there is still no guarantee or way to check its correctness till the project sign-off.

Cross-functional teams should be used to facilitate better knowledge transfer. This is especially the case for agile methods since they are recommended to be used where there is a lot of uncertainty and unknown knowledge about the domain and system requirements, and the technologies to be used are new and unexplored.

Adaptado de: CHAU THOMAS, MAURER FRANK e MELNIK GRIGORI. Knowledge Sharing: Agile Methods vs. Tayloristic Methods. (WETICE´03) Proceedings of the Twelft IEEE International Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, 2003.

According to the text, what should be an agile time?
 

Provas

Questão presente nas seguintes provas
1110586 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB
WPA was created by the WiFi consortium in 2003 as a way to address WEP vulnerabilities. WPA is designed to work in two modes:
 

Provas

Questão presente nas seguintes provas
1110585 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB

Team Composition

In a large organization, it is often the case that different roles emerge. In Tayloristic teams, these different roles are grouped together as a number of role-based teams each of which contains members of the same role. In contrast, agile teams use cross-functional teams. Such a team draws together individuals performing all defined roles. Rotations from one role to another are common. It is also possible to have highly specialized experts (for example, security analysts and usability engineers) shared among several teams in an organization.

One advantage to role-based teams is that teams whose work products are independent of each other can work in parallel as long as there is not much knowledge flow among the different functional sub-team. However, in knowledgeintensive software development that demands information flow from different functional sub teams, role-based teams tend to lead to islands of knowledge and difficulty in its sharing among all the teams. As hand-offs between teams usually are based on document flow, the knowledge of one team that is required by the other team must be externalized and documented. Although reviews try to minimize the knowledge loss, externalization and documentation processes cannot guarantee that all knowledge is captured and even if most of it was rigorously captured, there is still no guarantee or way to check its correctness till the project sign-off.

Cross-functional teams should be used to facilitate better knowledge transfer. This is especially the case for agile methods since they are recommended to be used where there is a lot of uncertainty and unknown knowledge about the domain and system requirements, and the technologies to be used are new and unexplored.

Adaptado de: CHAU THOMAS, MAURER FRANK e MELNIK GRIGORI. Knowledge Sharing: Agile Methods vs. Tayloristic Methods. (WETICE´03) Proceedings of the Twelft IEEE International Workshop on Enabling Technologies: Infrastructure for Collaborative Enterprises, 2003.

What is the grammatical form of the word “Although” used in the second paragraph of the text?
 

Provas

Questão presente nas seguintes provas
1110584 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB
Considere o seguinte texto para responder a questão.

Advanced Merging in GIT

Merging in Git is typically fairly easy. Since Git makes it easy to merge another branch multiple times, it means that you can have a very long lived branch but you can keep it up to date as you go, solving small conflicts often, rather than being surprised by one enormous conflict at the end of the series.
However, sometimes tricky conflicts do occur. Unlike some other version control systems, Git does not try to be overly clever about merge conflict resolution. Git’s philosophy is to be smart about determining when a merge resolution is unambiguous, but if there is a conflict, it does not try to be clever about automatically resolving it. Therefore, if you wait too long to merge two branches that diverge quickly, you can run into some issues.
Scott Chacon and Ben Straub - Pro GIT – Everything you need to
know about GIT. Apress, 2018 -Page 267.
Based on the text, it is correct to say about Merging in GIT that:
 

Provas

Questão presente nas seguintes provas
1110583 Ano: 2018
Disciplina: Inglês (Língua Inglesa)
Banca: AOCP
Orgão: PRODEB
Considere o seguinte texto para responder a questão.

Advanced Merging in GIT

Merging in Git is typically fairly easy. Since Git makes it easy to merge another branch multiple times, it means that you can have a very long lived branch but you can keep it up to date as you go, solving small conflicts often, rather than being surprised by one enormous conflict at the end of the series.
However, sometimes tricky conflicts do occur. Unlike some other version control systems, Git does not try to be overly clever about merge conflict resolution. Git’s philosophy is to be smart about determining when a merge resolution is unambiguous, but if there is a conflict, it does not try to be clever about automatically resolving it. Therefore, if you wait too long to merge two branches that diverge quickly, you can run into some issues.
Scott Chacon and Ben Straub - Pro GIT – Everything you need to
know about GIT. Apress, 2018 -Page 267.
The first word of the second paragraph is grammatically defined as a conjunction, which is also known as:
 

Provas

Questão presente nas seguintes provas
Dez equipamentos de informática foram adquiridos por preços iguais. Na revenda desses produtos, em relação ao preço inicial, seis equipamentos foram vendidos com um aumento de 30% e os demais foram vendidos com um desconto de 30%. Dessa forma, comparando o valor total adquirido na revenda com o valor inicial pago por esses dez equipamentos, gerou-se um
 

Provas

Questão presente nas seguintes provas
Uma certa quantia em dinheiro foi deixada como prêmio para 5 pessoas. Após ser feito um sorteio para a ordem de retirada desse dinheiro, ocorreu a seguinte situação: a primeira pessoa sorteada retirou para si 1/5 do valor do prêmio, a segunda retirou 1/4 do restante, a terceira retirou 1/3 do novo restante, a quarta retirou 1/2 do novo restante e a quinta pessoa ficou com o restante final, igual a R$ 300,00. Dessa forma, a quantia de dinheiro que a quarta pessoa retirou foi de
 

Provas

Questão presente nas seguintes provas
Uma companhia de processamento de dados possui uma matriz em Salvador e uma filial em Feira de Santana, sendo que a matriz é responsável por 60% do faturamento mensal da companhia. No último mês, o faturamento da matriz sofreu um aumento de 30% e o faturamento da filial sofreu um aumento de 20%. Com base nessas informações, é correto afirmar que o aumento real no faturamento da companhia foi de
 

Provas

Questão presente nas seguintes provas