2.2 Programming

Descripción

Mapa Mental sobre 2.2 Programming, creado por Tom Deza el 21/01/2019.
Tom Deza
Mapa Mental por Tom Deza, actualizado hace más de 1 año
Tom Deza
Creado por Tom Deza hace más de 5 años
11
0

Resumen del Recurso

2.2 Programming
  1. KEY WORD
    1. Input, Output, Assignment, Psuedocode, Flowchart, Identifier, Variable, Constant, Concatenation, Memory Location, Parameters
    2. INPUT
      1. Inputs come from the console, from a file, or from elsewhere in a modular program – then they are known as 'parameters'
      2. OPERATORS
        1. Numbers: addition, subtraction, division, modular division (division with a remainder), integer division, multiplication, to-the-power-of, negation Boolean: AND, OR, NOT, larger, smaller, equal, not equal Strings/characters: slicing, length, format
          1. INTEGERS AND REALS
            1. Addition total = amount + VAT Subtraction e.g. age = cur_year – y_birth Division divide = 5 / 2 Modular division myRemainder = 5 MOD 2 (find a remainder) Integer division intDivision = 5 DVI 2 Multiplication totalCost = cost * 0.2 Exponential area = 3.1 * radius^2
            2. STRING OPERATIONS
              1. String Features Slicing e.g. LEFT(“monkey”,4) is “monk” Length e.g. LEN(“monkey”) [=6] Change case e.g. “monkey””MONKEY””Monkey” Formatting Features ASCII and Unicode e.g. ASCII(“c”) [=99] Escape characters e.g. ‘it\’s me’ [it’s me] White space: CR NewLine, TAB 4 or 5 spaces
              2. BOOLEAN OPERATORS
                1. AND - two conditions must be true for the statement to be true OR - at least one condition must be true for the statement to be true NOT – inverts the result, e.g. NOT(A and B) will only be false when both A and B are true
                2. WHAT, OPERATORS ARE USED WHERE?
                  1. Numbers: addition, subtraction, division, modular division (division with a remainder), integer division, multiplication, to-the-power-of, negation Boolean: AND, OR, NOT, larger, smaller, equal, not equal Strings/characters: slicing, length, format
                    1. EOL
                      1. EOL means end of line
                  2. MORE KEY WORDS
                    1. Sequence, algorithm, Instructions, Efficiency, Structured
                    2. BENEFITS OF SEQUENCING
                      1. Each line follows the next Create simple programs very quickly Easy to follow for a small program Fundamental principal of a program
                      2. DISADVANTAGES OF SEQUENCING
                        1. Not at all efficient Becomes very difficult to follow with large programs Extremely hard to maintain
                        2. KEY WORDS
                          1. IF, ELSIF, ELSE, SELECTION CASE, Boolean, nested, selection, condition, criteria, true, false
                          2. NESTED SELECTION
                            1. Sometimes, we can only evaluate a condition if some pre condition is met. We would need two selection statements on inside the other.
                            2. BIG PICTURE
                              1. Computers are good at performing
                              2. EOF
                                1. EOF means end of file
                                2. SQL
                                  1. SELECT(fields) . FROM(files) . WHERE
                                  2. BOOLEAN
                                    1. Boolean can only have two values, example TRUE or FALSE...
                                    2. FILE MODE
                                      1. A file can open in either READ or WRITE modes.
                                      Mostrar resumen completo Ocultar resumen completo

                                      Similar

                                      Clasificación, estructura y replicación de las bacterias
                                      ana.karen94
                                      Vocabulario unidad 13
                                      Laura Maestro
                                      Los agentes de la economía
                                      María Eugenia Méndez Piamba
                                      Elementos de la Tabla Periódica
                                      Roberto Jerónimo
                                      Elaboración de mapas mentales
                                      ortenzias
                                      Estructura física y lógica de las computadoras
                                      mauriciofrog
                                      TEOREMA DE PITAGORAS
                                      Alejandra GamboaMLLM
                                      Parte General Código Penal
                                      MJ Maza
                                      Prueba de Aptitud Académica - Lenguaje
                                      enriquepor_2
                                      V. LA GOBERNANZA DEL SISTEMA EDUCATIVO
                                      DIRECCIÓN GENERAL DE EDUCACIÓN FISICA FEDERALIZADA
                                      TUBERCULOSIS
                                      Mary Coronel