Data Types and Structures

Beschreibung

Higher CFE Higher Computing Mindmap am Data Types and Structures, erstellt von Saji McCorkindale am 22/04/2015.
Saji McCorkindale
Mindmap von Saji McCorkindale, aktualisiert more than 1 year ago
Saji McCorkindale
Erstellt von Saji McCorkindale vor mehr als 9 Jahre
25
0

Zusammenfassung der Ressource

Data Types and Structures
  1. Introduction
    1. Programs need to be able to store data such as texts, whole numbers, decimal numbers, etc
      1. Data types such as integers and strings are used to store these peices of text, numbers, etc
        1. Each data type is stored in the computer's main memory
          1. Data types also restrict the actions that can be carried out on them. This helps reduce human mistakes such as trying to multiply two letters together.
          2. Strings
            1. Strings are used to store text and sequences of characters
              1. Eg "Hamster", "Rasperry Fudge Cakes"
              2. Integer
                1. Integers are used to store positive and negative whole numbers, as well as the number zero
                  1. Eg 42, 0, -100, 64
                  2. Real
                    1. Real data tyoes are used to store positive and negative decimal numbers or fractions.
                      1. Eg 0.5, 1.236, -5.6
                      2. Boolean Variables
                        1. Booleans are used to store only two values: True or False
                          1. Eg True, or False
                          2. One Dimensional (1-D) Arrays
                            1. Many programs requie data to be stored and manipulated not as a single itme but as a list of related data entries.
                              1. An array is used to store a collection of data where the data is all the same data type
                                1. Each Element in the array is identified by using an array name and an index number which corresponds to the datas location in the array
                                  1. When an array is created it's length is declared
                                  Zusammenfassung anzeigen Zusammenfassung ausblenden

                                  ähnlicher Inhalt

                                  System Analysis
                                  R A
                                  Data Analytics
                                  anelvr
                                  Database Replication
                                  Michael Mahfouz
                                  Understanding SQL
                                  Barbara Gerwien
                                  7. Mirroring & Replication
                                  Michael Mahfouz
                                  Big Data
                                  pa cao
                                  Adding whole numbers L1
                                  Lee Holness
                                  Computing in the Modern World
                                  JTaylor
                                  Computers in the Military
                                  JTaylor
                                  Chapter 4
                                  Karl Taylor
                                  N5 Computing Science
                                  Mr. McNeice