Chapter 6

Description

Types of programming language
Karl Taylor
Mind Map by Karl Taylor, updated more than 1 year ago
Karl Taylor
Created by Karl Taylor over 7 years ago
17
0

Resource summary

Chapter 6
  1. Key Terms
    1. Procedural programming
      1. A program where instructions are given in sequence; selection is used to decide what a program does and iteration dictates how many times it does it
        1. Programs are broken into key blocks called procedures and functions
        2. Logic programming
          1. A problem is expressed as a set of facts and rules
            1. These are used to find a given goal
          2. Functional programming
            1. Takes in value(s) and returns a value
            2. Imperative
              1. Giving orders
            3. Assembly Language (Little Man Computer (LMC))
              1. Low level language
              2. Memory Adressing
                1. Indirect
                  1. The operand is the address of the data wanted
                  2. Direct
                    1. The operand represents the memory location of the data we want
                    2. Immediate
                      1. The operand is the actual value we want
                      2. Indexed
                        1. One of the registers in the CPU is the index register. This is used for index addressing. In index addressing the address giving is the base address. This is then added to the value in the index register. By incrementing the index register, it is possible to iterate efficiently through an array
                      3. Object Orientated Programming
                        1. Polymorphism
                          1. When methods behave differently according to the context in which they are used
                            1. An example of this is when we have a polymorphic array that contains objects of different classes but that inherits from the same super class
                            2. Encapsulation
                              1. Is the pattern of making attributes in a class private but allowing them to be changed and accessed through public methods
                                1. Private means that the method or attribute following it is only accessible from within that class
                              2. Classes & objects
                                1. A class is a template used to create objects
                                  1. It defines what attributes and methods an object should have
                                    1. An attribute is a value, stored in a variable attached to that object
                                      1. A method is a subroutine that defines actions that an object can perform
                                      2. Inheritance
                                        1. Allows a class to have all the methods and attributes of another class
                                          1. The subclass can also have its own methods and attributes
                                            1. The subclass can override methods of the superclass
                                          Show full summary Hide full summary

                                          Similar

                                          Computing Hardware - CPU and Memory
                                          ollietablet123
                                          SFDC App Builder 2
                                          Parker Webb-Mitchell
                                          Data Types
                                          Jacob Sedore
                                          Intake7 BIM L1
                                          Stanley Chia
                                          Software Processes
                                          Nurul Aiman Abdu
                                          Design Patterns
                                          Erica Solum
                                          CCNA Answers – CCNA Exam
                                          Abdul Demir
                                          Abstraction
                                          Shannon Anderson-Rush
                                          Spyware
                                          Sam2
                                          HTTPS explained with Carrier Pigeons
                                          Shannon Anderson-Rush
                                          Data Analytics
                                          anelvr