Cp1401 Programming weeks 1-2

Description

Flip cards for weeks 1-2 CP1401
d_cull91
Flashcards by d_cull91, updated more than 1 year ago
d_cull91
Created by d_cull91 almost 8 years ago
23
0

Resource summary

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)
Show full summary Hide full summary

Similar

AQA GCSE Product Design Questions
Bella Statham
ART NOUVEAU
Britknee52
How Sewing Machines Work
faithkateridarli
Costume History Slidshow
Jemi Armstrong
Product Design
adamwood451
A LEVEL PRODUCT DESIGN - MODERN MANUFACTURING SYSTEMS
charlotte-clayto
GCSE Textiles - Design
Nicola Lees
GCSE Product Design Plastics (AQA Specification)
T Andrews
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Useful String Methods
Shannon Anderson-Rush
Historical Development of Computer Languages
Shannon Anderson-Rush