2.2 Programming

Beschreibung

Mindmap am 2.2 Programming, erstellt von Tom Deza am 21/01/2019.
Tom Deza
Mindmap von Tom Deza, aktualisiert more than 1 year ago
Tom Deza
Erstellt von Tom Deza vor mehr als 5 Jahre
11
0

Zusammenfassung der Ressource

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.
                                      Zusammenfassung anzeigen Zusammenfassung ausblenden

                                      ähnlicher Inhalt

                                      DNA - Struktur
                                      Lisa10a
                                      Quiz-Allgemeinwissen
                                      AntonS
                                      Teil B, Kapitel 3, Entscheidungsgrundlagen bei der Wahl der Rechtsform
                                      Stefan Kurtenbach
                                      EU, OHG, KG, GmbH
                                      Stefan Kurtenbach
                                      Mediengestalter Abschlussprüfung 2015
                                      Jonas Deh
                                      Klausur Thrombose 1.3.3.b
                                      Kevin Kuncic
                                      Business-Englisch - Präsentieren
                                      Antonia C
                                      Grundbegriffe der Kunst
                                      K Gal
                                      WERB Uni Wien 2017/18
                                      Denise Schmid
                                      Vetie - Geflügelkrankheitn 2014
                                      steff Müller
                                      Vetie - spez Patho 2019
                                      Johanna Tr