Flashcards
syntax revision cards alisbel
Cards in this deck (9)
- 1syntaxsyntax is the term used to describe the structure and the 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 the decisions and the input and output in the flowchart so the user doesn't have to write a code.
- 5operatoran operator is a code used to perform arithmetical (+,+,*,/) and conditional calculators when combined with other codes.
- 6integeran integer a data type used to declare a numerical data but only whole numbers.
- 7how to describe a programme in detailtips:
1) read and annotate the snippet of code
2) list the key terminology needed to a answer the questions
3)link your notes into continues prose. - 8example high level descriptive answerthe purpose of the programme is to calculate an answer for a user. this programme works by asking users to enter numbers using a input function. the numbers entered by the users is then stored into two different variable, one for each input. the user then selects the operator by typing either +,-,*,/. the programme then uses the two variables and carries out the calculations which id hen printed on the screen using a function.
- 9—
Information
- Description
- Flashcards on syntax revision cards alisbel, created by Alisbel Aladren- on 28/09/2015.
- Created by
- Alisbel Aladren-
- Views
- 0
- Rating