Chapter 6 Fruitful Functions

Descrição

AS - Level Computer Science (CS 1101 Python) FlashCards sobre Chapter 6 Fruitful Functions, criado por Troy Bowlin em 18-05-2016.
Troy Bowlin
FlashCards por Troy Bowlin, atualizado more than 1 year ago
Troy Bowlin
Criado por Troy Bowlin mais de 8 anos atrás
5
0

Resumo de Recurso

Questão Responda
Boolean Function A function that returns a Boolean value. The only possible values of the bool type are False and True.
Chatterbox Function A 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.
Composition (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.
Dead Code Part of a program that can never be executed, often because it appears after a return statement.
Fruitful Function A function that yields a return value of None.
Incremental Development A program development plan intended to simplify debugging by adding and testing only a small amount of code at a time.
None A 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.
Return Value The value provided as the result of a function call.
Scaffolding Code 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.
Temporary Variable A variable used to store an intermediate value in a complex calculation.
Test Suite A collection of tests for some code you have written.
Unit Testing An 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.

Semelhante

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Intake7 BIM L1
Stanley Chia
Data Types
Jacob Sedore
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr