Question | Answer |
What are the 6 steps of problem solving | Analyse the Problem Design a solution Check the solution Implement the solution Test Implementation Done! |
What is Problem Decomposition | Break a problem down into its parts Identify nouns – these are ‘things’ in the problem Identify verbs – these are things to do |
What is an Algorithm? | Step by step explanation of the solution |
Flowcharts in Programming.WHY? | Consistent and visual representation of a problem |
5 main flowchart symbols? | Oval - Start and stop Parallelogram - Get/Display Information Rectangle - Do some calculations Diamond - make a decision bordered rectangle - link to another flowchart |
6 basic computer operations | Receive information (input) Put out information (output) Perform arithmetic Assign a value to a variable (memory location) Compare two variables and select 1 or 2 actions alternative actions Repeat a group of actions |
What is a program? | A series of instructions that a modern computer can execute A program allows you to tell a computer what to do We write programs that allow us to solve problems with a computer |
What is a variable? | How we store and describe data A variable is a name we use to refer to a value The value can change (or vary) without changing the name we use |
Types of variables? | Words, Whole numbers, decimal numbers or strings, integers and floats |
Variable name conventions | No spaces - alternative to spaces (camelCase, Underscores) Descriptive, short and concise variable names |
What is categorising? | Working out what ‘type’ a piece of data should be is a kind of ‘categorising’ What sort of thing are we storing? Word? Whole Number? Decimal number? |
Why use psuedocode or flowcharts | Either method allows us to analyse the completeness and correctness of a solution without the burden of having to observe exact language syntax |
What is pseudocode? | Pseudocode is a step by step description of the actions the computer should execute Written in standard English Keywords and indenting are used to indicate control structures (sequence, selection, repetition) |
Want to create your own Flashcards for free with GoConqr? Learn more.