Karteikarten
syntax revision
Karten in diesem Stapel (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 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 string is 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 (And, or & Not) calculators when combined 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. - 8Exam 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 numbers using an input function. The numbers entered by the user is then stored into two different variables, one for each input. The user then selects the operator by typing either +,_,/ or *. The program then uses the two variables and carries out the calculation, which is then printed on the screen using a function.
Informationen
- Beschreibung
- Karteikarten am syntax revision, erstellt von Ebony Dales am 28/09/2015.
- Erstellt von
- Ebony Dales
- Aufrufe
- 2
- Bewertung