O GoConqr está de visual novo! Conte para nós o que você achou.

Flashcards

Chapter 6 Fruitful Functions

Usuário eliminado O usuário eliminou as informações de disciplina Inglês 12 flashcards

Flashcards do conjunto (12)

  1. 1Boolean FunctionA function that returns a Boolean value. The only possible values of the bool type are False and True.
  2. 2Chatterbox FunctionA function which interacts with the user (using input or print) when it should not. Silent functions that just convert their input arguments into their output results are usually the most useful ones.
  3. 3Composition (of functions)Calling one function from within the body of another, or using the return value of one function as an argument to the call of another.
  4. 4Dead CodePart of a program that can never be executed, often because it appears after a return statement.
  5. 5Fruitful FunctionA function that yields a return value of None.
  6. 6Incremental DevelopmentA program development plan intended to simplify debugging by adding and testing only a small amount of code at a time.
  7. 7NoneA special Python value. One use in Python is that it is returned by functions that do not execute a return statement with a return argument.
  8. 8Return ValueThe value provided as the result of a function call.
  9. 9ScaffoldingCode that is used during program development to assist with development and debugging. The unit test code that we added in this chapter are examples of scaffolding.
  10. 10Temporary VariableA variable used to store an intermediate value in a complex calculation.
  11. 11Test SuiteA collection of tests for some code you have written.
  12. 12Unit TestingAn automatic procedure used to validate that individual units of code are working properly. Having a test suite is extremely useful when somebody modifies or extends the code: it provides a safety net against going backwards by putting new bugs into previously working code. The term regression testing is often used to capture this idea that we don't want to go backwards.

Informações

Descrição
O usuário eliminou as informações de disciplina FlashCards sobre Chapter 6 Fruitful Functions, criado por Usuário eliminado em 22-09-2016.
Criado por
Usuário eliminado
Visualizações
44
Histórico
  • Criado por Troy Bowlin · 18 mai 2016
  • Copiado por Troy Bowlin · 22 set 2016
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?