Unit 2.2 - Programming Techniques

Description

Year 10 Computing Mind Map on Unit 2.2 - Programming Techniques, created by Dan Roberts on 27/01/2019.
Dan Roberts
Mind Map by Dan Roberts, updated more than 1 year ago
Dan Roberts
Created by Dan Roberts over 5 years ago
24
0

Resource summary

Unit 2.2 - Programming Techniques
  1. Sequencing
    1. Allows a programmer to solve complex tasks through a number of simple steps
      1. Each line follows the next
        1. Creates simple programs very quickly
          1. Easy to follow for a small program
            1. Fundamental principal of a program
              1. Not efficient
                1. Becomes very difficult to follow with large programs
                  1. Hard to maintain
                  2. Selection
                    1. Allows a computer to make decisions
                      1. Changes the flow of a program depending on a set conditions
                        1. Used for validation, calculation and making sense of a user's choice
                          1. Nested Selection
                            1. Only evaluates a condition if pre-conditions are met
                              1. There is no limit on how many selection statements we can nest
                                1. The outside selection is the pre-condition and the inside is the condition
                              2. An array up to 2D to a file
                                1. Iterate through an array using WRITELINE and writing elements to the file one by one
                                  1. Serialise the array (convert to a string) using delimiters e.g. commas for columns and NewLines for rows in case of a 2D array
                                    1. Uses numeric index not names
                                      1. Array: An ordered collection of related data where each element is accessible by a number index
                                      2. SQL (Standard Query Language)
                                        1. A popular readable programming language
                                          1. Used to work with databases stored in binary proprietary formats e.g. Oracle, MySQL
                                            1. Purpose of SQL S-Search C-Create R-Read U-Update D-Delete
                                              1. SELECT, FROM, WHERE
                                              2. Variables
                                                1. A "variable" is a memory location that changes throughout the program
                                                  1. A "constant" is a memory location that is fixed for the duration of the program
                                                    1. "Assignment" is labelling various inputs, constants and outputs with descriptive names
                                                      1. Information is stored in memory locations under descriptive names called "identifiers"
                                                        1. "Concatenation" is joining inputs/text variables together
                                                          1. "Parameters" are inputs coming from the console, from a file or from elsewhere in a modular program
                                                          2. Operators
                                                            1. Boolean - An outcome of one of two values
                                                              1. String - A sequence of characters
                                                                1. Concatenate - Join Together
                                                                  1. Substring - A smaller part of a string
                                                                    1. Delimiter - One or more characters that separates a string
                                                                    2. Iteration
                                                                      1. "Iteration" is when loops run similar types of data
                                                                        1. A "For Counter" is a loop for when we know how many times we want something to loop so we use a counter
                                                                          1. "Stepping" is when we skip or miss out when counting
                                                                            1. A "While Loop" is used for validation and searching. Evaluates a boolean everytime they run
                                                                            Show full summary Hide full summary

                                                                            Similar

                                                                            A level Computing Quiz
                                                                            Zacchaeus Snape
                                                                            Types and Components of Computer Systems
                                                                            Jess Peason
                                                                            Input Devices
                                                                            Jess Peason
                                                                            Output Devices
                                                                            Jess Peason
                                                                            Computing
                                                                            Kwame Oteng-Adusei
                                                                            Pack of playing cards answer
                                                                            Karl Taylor
                                                                            Code Challenge Flow Chart
                                                                            Charlotte Hilton
                                                                            Computing Hardware - CPU and Memory
                                                                            ollietablet123
                                                                            Computer Systems
                                                                            lisawinkler10
                                                                            Computer science quiz
                                                                            Ryan Barton
                                                                            Input, output and storage devices
                                                                            Mr A Esch