2.2 Programming

Descrição

Mapa Mental sobre 2.2 Programming, criado por Tom Deza em 21-01-2019.
Tom Deza
Mapa Mental por Tom Deza, atualizado more than 1 year ago
Tom Deza
Criado por Tom Deza mais de 5 anos atrás
11
0

Resumo de 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.

                                      Semelhante

                                      8 Técnicas de Como Estudar Online
                                      Alessandra S.
                                      Construindo a tabuada
                                      Pedro Júnior1178
                                      História da Arte: Impressionismo
                                      carlanardesbis
                                      Macetes para Fórmulas de Física
                                      Marina Faria
                                      Economia da China
                                      Vitor Gomes
                                      Citologia
                                      GoConqr suporte .
                                      Direito ambiental
                                      GoConqr suporte .
                                      Sistema Reprodutor Masculino
                                      Ana Inês Kruecck Quintas
                                      Respiração aeróbia - 10º ano
                                      hlopes047
                                      Química - Introdução
                                      Carine Campos
                                      GRÉCIA ANTIGA
                                      Hugo Fonseca