Flashcards
Algorithms
Flashcards do conjunto (8)
- 1AlgorithmsThis is what we have been doing over the past couple of weeks
- 2What is an algorithm?An algorithm is a sequence of code.
- 3what is a Boolean?A Boolean is a questions which can have a true or false answer.
- 4What is a string?A block of code, a word or a paragraph.
- 5Name all of the comparatorsMore than, less than, equal to, not equal to
>,<,==,!= - 6What is a variable?Variable is a name given to an unknown quantity
- 7Explain what an elif statement doesThis is short for ELSE IF. If the first argument is False, Python then checks the next argument, if this argument is true it will run the code indented below the argument. You can have as many ELIF’s as you want/need
- 8Explain what an if statement doesAn if statement gives people the opportunity to put down many different options and outputs.
Informações
- Descrição
- FlashCards sobre Algorithms, criado por EBurgess12 em 24-02-2015.
- Criado por
- EBurgess12
- Visualizações
- 0
- Avaliação