GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Cp1401 Programming weeks 1-2

d_cull91 CP1401Programming Bachelors Degree Englisch 13 Karten

Karten in diesem Stapel (13)

  1. 1What are the 6 steps of problem solvingAnalyse the Problem
    Design a solution
    Check the solution
    Implement the solution
    Test Implementation
    Done!
  2. 2What is Problem DecompositionBreak a problem down into its parts
    Identify nouns – these are ‘things’ in the problem
    Identify verbs – these are things to do
  3. 3What is an Algorithm?Step by step explanation of the solution
  4. 4Flowcharts in Programming.WHY?Consistent and visual representation of a problem
  5. 55 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. 66 basic computer operationsReceive 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
  7. 7What 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
  8. 8What 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
  9. 9Types of variables?Words, Whole numbers, decimal numbers
    or
    strings, integers and floats
  10. 10Variable name conventionsNo spaces - alternative to spaces (camelCase, Underscores)
    Descriptive, short and concise variable names
  11. 11What 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?
  12. 12Why use psuedocode or flowchartsEither method allows us to analyse the completeness and correctness of a solution without the burden of having to observe exact language syntax
  13. 13What 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)

Informationen

Beschreibung
Flip cards for weeks 1-2 CP1401
Erstellt von
d_cull91
Aufrufe
67
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck