Flashcards
Computer Science Flashcards
Cards in this deck (3)
- 1Data Types Integer - a whole number Real - number with a fractional part Character - single letter or special character String - one or more letters Boolean - true or false valueArithmetic Operators
MOD - remainder of a division
DIV - whole part of a division
Exponentiation (^) - to power of
Examples :
20MOD3 = 2
21DIV4 = 5 - 2Comparison Operators == equal to != not equal to < less than <= less than or equal to > greater than >= greater than or equal toVariables and Constants
Variable: a value that can change whilst the program is running.
Constant: a value that can not change whilst the program is running. - 3Logical Operators AND - both comparisons are true OR - at least one comparison is true NOT - flips the result of the comparison XOR - exclusive OR - only one comparison is truepseudocode is a generic language that is used because its easier to understand. The computer then changes it into a more specific language.
Information
- Description
- A level Computing Flashcards on Computer Science Flashcards, created by Jack Hearn on 13/09/2017.
- Created by
- Jack Hearn
- Views
- 2
- Rating