Karteikarten
Computer science revision
Karten in diesem Stapel (6)
- 1AS-Level Computer Science1.2.3-Introduction to programming
- 2What is an Algorithm An algorithm is a set of rules or instructions on how to solve a problem. It will always include a input,processing and output.What is pseudocode
Pseudocode is a program written in structured english. - 3Variables and Constants Variables are identifiers which store memory and can be changed at any time during the program.Constants are used when the values will not be changed during the program.
- 4Data types: Integer is a whole number Boolean is true/false value Character is a number,letter or special characterString is a sequence of numbers,sentence of words or more than one special character
Real/Floating point is a number with a fractional part - 5Arithmetic Operators: * - Multiplication /-Division - Subtraction + Addition MOD-Modulus DIV-Quotient ^-ExponentiationComparison Operators:
== Equal to
!= Not equal to
< Less than
<= Less than or Equal to
> Greater than
>= Greater than or Equal to - 6Logical 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 true
Informationen
- Beschreibung
- Karteikarten am Computer science revision, erstellt von Zulekha Mahmood am 12/09/2017.
- Erstellt von
- Zulekha Mahmood
- Aufrufe
- 0
- Bewertung