Programming basics

New AQA spec for Computer Science

?
  • Created by: tats bent
  • Created on: 08-11-17 16:15
View mindmap
  • programming languages use syntax
    • this means that e/t is written in order to make sense
    • Programming Basics
      • declaration
        • the process of defining variables and constants in terms of their name and their data type
          • all variables and constants MUST be declared . (not in python)
      • Debugging
        • the process of finding and correcting errors in programs
      • constants and variables
        • Variable:an item of data whose value can change when the program is being run.
        • Constant: an item of data whose value does not change(in the program).
      • data is stored in memory
        • Every memory  address is given a name and assigned a piece of data
          • it is a good idea to use names that  indicate the purpose of the data inside them.
            • Variable:an item of data whose value can change when the program is being run.
            • Constant: an item of data whose value does not change(in the program).
            • a good or meaningfull  name is useful  for debugging
              • Debugging
                • the process of finding and correcting errors in programs
      • Algorithms
        • a sequence of steps that can be followed to complete a task and that always terminates
      • Data Types
        • Integer: any whole number inc. zero
        • Real / Float: any real number (fraction, decimal...)
        • Text/ String: any characters.
        • Boolean: True or False
        • Character: any individual character
        • Date/Time
        • Pointer/ Reference: data that points to a reference or location in memory.
        • Array: collection of data of the same data type.
          • elements/ members:a single value within a set or list.
        • Record: one line of a text file
        • User defined data types: data types created by the user when no built in data type fits the criteria. this can be created using multiple data types.
          • usually created for efficiency.

Comments

No comments have yet been made

Similar Computing resources:

See all Computing resources »See all Fundamentals of computer systems resources »