Flashcards
Computer Science
Cards in this deck (7)
- 1What Is An Algorithm?A sequence of steps that a computer will follow in order to solve a problem.
- 2What Is Pseudocode?A generic code that every programmer knows, it can be converted into a specific programming language such as python, C#, and scratch. It is a mix between English and programming language.
- 3What Are Variables And Constants?Variables are something that your computer wants to remember these can potentially change if needed. Constants never change.
- 4What Are Data Types?Integer- A whole number.
Real/floating point- A number with a fractional part.
Character- A single letter, number or special characters.
String- One or more letters, numbers or special characters
Boolean- A variable which can only hold a true or false value. - 5Programming Arithmetic Operators.+ = Addition
- = Subtraction
* = Multiply
/ = Divide
MOD = Remainder
DIV = No of times go in (no remainder)
^ = To the power of. - 6Comparison Operators.== = Equal to
!= = Not equal to
<= = Less than or equal to
>= = Greater than or equal to
< = Less than
> = Greater than - 7Logical OperatorsAND = 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.
Information
- Description
- Flashcards on Computer Science, created by Catherine Ellis on 13/09/2017.
- Created by
- Catherine Ellis
- Views
- 0
- Rating