Flashcards
Sem título
Flashcards do conjunto (8)
- 1syntaxsyntax is the term used to describe the structure and rules of writing programming code. for example in python, you use a speech mark to declare mark to a string
- 2variablea variable is a location of memory in a computer system used to store data. a variable is used by the computer system to manipulate and perform actions.
- 3stringA sting is a data type used to store text, numeric and symbols.
- 4functiona function is predefined action in the program, which does not require the user to write a code. for example print() and input
- 5operatoran operator is a code used to perform arithmetical (+,-, and *) and conditional with other codes.
- 6integeran integer a data type used to declare numerical data, but only whole numbers.
- 7how to describe a program in detailTips:
1)read and annotate the snippet of code.
2) list the key terminology needed to answer the questions.
3) link your notes into continuous prose. - 8example high level descriptive answerthe purpose of the program is to calculate an answer for a user. the program works by asking users to enter to number using a input function. the numbers entered by the user then selects the operator by typing either +,-,/ or *, the program then uses the two variable and carries out the calculation, which is then printed on the screen using a function
Informações
- Descrição
- FlashCards sobre Sem título, criado por Leroy Honey em 28-09-2015.
- Criado por
- Leroy Honey
- Visualizações
- 1
- Avaliação