GCSE CS Data revision

Description

Mind Map on GCSE CS Data revision, created by Simon Howe on 19/03/2018.
Simon Howe
Mind Map by Simon Howe, updated more than 1 year ago
Simon Howe
Created by Simon Howe almost 7 years ago
266
2

Resource summary

GCSE CS Data revision
  1. Binary
    1. Using binary
      1. Binary is used to represent data and program instructions as 1's and 0's
        1. 1 bit = can have 2 combinations 2 bits = can have 4 combinations
        2. Converting Binary to Denary
          1. Converting Denary to Binary
            1. Binary Addtion
              1. 0+0 = 0 1+0 = 1 1+1 = 10 1+1+1 = 11
                1. Overflow error - occurs when a calculation produces a result that is greater then the computer can deal with e.g. if from an 8 bit addition you require a 9th bit
                2. Logical Shifts
                3. Signed integers
                  1. Two's complement
                    1. Converting Two's complement
                      1. converting a number - step 1 - flip the 0's with 1's and 1's with 0's Step 2 - add Denary one to the binary digit
                      2. Adition Two's complement
                        1. This is the same as normal addition, but you must convert the numbers to two's complement first
                        2. This format 0 can only be represented one way as 000000 and calculations are always accurate.
                        3. Arithmetic shifts
                          1. this is the same as logical shift, however the MSB will stay the same.
                          2. This is used to represent negative numbers within binary, with a most significant bit (MSB) is used to show a positive ore negative number. The leftmost bit shows if the number positive (with a 0) or negative (with a 1).
                            1. The issues is that you can only Represent 128 combinations as the 8th bit is the MSB
                              1. Also using this method 0 can be both positive and negative 10000000 or 00000000
                            2. Hexadecimal
                              1. Used to help humans cope with long strings of binary digits (they are shorther) It is used to represent errors within a computer
                              2. Characters
                                1. Computers represent text, numbers and symbols as binary strings of 1's and 0's
                                  1. ASCII - is a way of represent text as an 8 bit code which can hold 256 characters. Each characters has a binary number e.g. A = 01000001
                                    1. You can find ASCII codes with some pre-built function from Pseudo code. The ord() function returns the number e.g. ord("C") would shown 99. The chr() function returns the letter e.g. chr("99") would shown c
                                    2. Images
                                      1. Computers represent images as a sting of 1's and 0's
                                        1. An images is made up of small points of colours called pixels, with each one having its own colour, the more pixels the more ddetail will be shown within the image
                                          1. Colour depth = the number of bots used to encode the colour of each pixel, the more bots uses the more colours can be represented e.g. 8 bits or a colour depth of 8 would show 256 colours within the image
                                            1. Resolution = the number of pixels within the image
                                              1. Calculating file size = width x height x colour depth
                                              2. Sounds
                                                1. Computers represent images as a sting of 1's and 0's via analogue to digital recording
                                                  1. Sound sampling - samples of sounds waves are taken at regular fixed intervals.
                                                    1. Bit depth - the number of bits used to encode each sound sample. Higher the bit depth the more accurate recording with a bigger sound file e.g. a bit depth of 24-bits would have 16.7 million combinations
                                                      1. Sample frequency x bit depth x length of recording (in seconds)
                                                      2. Units
                                                        1. This denotes the size of a file (to make it easy to identify through different units)
                                                          1. To convert between different units we need to multiply or divide. E.g. 2341200000 bits to GB’s - 2341200000 / 8 /1024/1024/1024 = 0.27GB’s
                                                          2. Data Compression
                                                            1. Lossless compression - reduces the file size without deleting any data via grouping some data - good for text files
                                                              1. Run-Length encoding
                                                                1. This is lossless compression algorithm to get reduce a file size through the removal of duplicate data
                                                              2. Lossy compression - deleting some data from the file which you cannot get back through taking out very small veriations in sounds which humans era cannot detect. e.g. good for videos and images, JPG and MP3 an examples of this compression
                                                                1. Compression is needed for less internet band width for downloading, transfer speed faster, less storage space, so you can stream online
                                                                2. Databases
                                                                  1. Unstructured data - data that is not orgonised. Structured data - data that is stored in an organised and ordered way so that it can searched. e.g a database
                                                                    1. A Databases is a persistent and organised store of data
                                                                      1. Entities - are a thing which is recognised as being capable of an independent existence and which can be uniquely identified.
                                                                        1. e.g Students will be entities within a database with Attributes of name, ID, Year, Age
                                                                        2. Tables are used to represented each entity with attributes as the column (a field) and a Row is a record of data
                                                                          1. Primary Key - a unique identifier that cannot be duplicated within a table (e.g. Book_ID)
                                                                            1. Relational databases
                                                                              1. A database which has multiple tables and can be linked to reduce data redundancy
                                                                                1. A relational database allows data elements in one table to be related to any piece of data in another table so long as a Foreign key is within the table
                                                                                  1. Foreign key - so tables can be linked, this is a primary key on one table and is on another table as a foreign key
                                                                                  2. No data inconsistency – as data is not duplicated, there is no risk of the same data item being stored differently in another record.
                                                                                    1. No data redundancy – in a well-designed relational database there should be no duplicated data (other than the key field).
                                                                                  3. Encryption
                                                                                    1. Data should be encrypted to ensure that unauthorised people cannot read it. Encryption is a way of scrambling of data intoa form that cannot be understood by unauthorised people
                                                                                      1. Encryption protocols - HTTPs with the SSL in the transport layer and TLS protocol added to the message
                                                                                        1. Asymmetric encryption
                                                                                          1. This method encrypts and decrypts data using 2 different keys. Each user a public key (known to everyone) and a private key (only know by themselves) . A message can only be decrypted by the corresponding private key
                                                                                          2. Symmetric encryption
                                                                                            1. This method uses the same key to encrypt and decrypt data. This is the method used by HTTPs
                                                                                            2. The Caesar Cipher
                                                                                              1. his is a simple encryption method and would not be used today because it is so easy to crack. The letters of the alphabets are shifted a set number of places. A positive shift the the right and a negative shift to the left
                                                                                            Show full summary Hide full summary

                                                                                            Similar

                                                                                            Newton's Three Laws of Motion
                                                                                            *Anna*
                                                                                            Religious Studies - Keywords.
                                                                                            Ready2learn
                                                                                            Geography Coastal Zones Flashcards
                                                                                            Zakiya Tabassum
                                                                                            IB Economics: International Trade
                                                                                            Han Zhang
                                                                                            Yr 12 Biology Mid-Year Exam Notes Part 1
                                                                                            gbridgland
                                                                                            The English Language Techniques
                                                                                            craycrayley
                                                                                            Main Themes in Romeo and Juliet
                                                                                            Carlowl
                                                                                            CHARACTERS IN OF MICE AND MEN
                                                                                            jessicasusanevans
                                                                                            DEV I Part I
                                                                                            d owen
                                                                                            Queen Elizabeth Quiz
                                                                                            Natalie Robbins
                                                                                            Two years and no baby
                                                                                            Zahra Habeeb