Mind map
topic 6 CS

Mind map: Topic 6 CS
Map content
topic 6 CS
data validation
- range check - check is numerical data is in a given range
- type check - checks if the data is of a given type
- present check - see if its there
- lookup table - checks data is one of a set allowed values
- Verification
- double keying - require the user entering data twice
- proofreading - require the user to read back and confirm the data
- check digit
- why to check transmited data hasn't become corrupted
- calculate a value using the data and append it to the data
- value is re-calculated an the receiving end to ensure it matches
sorting
- bubble
- algorithm
- compare 1 nd 2 and swap in necessary
- move to 2 and 3 and repear util completed
- repeat for n-1 passes of the enteri lis (n = number of items on list)
- if no swaps needed or if n-1 passes have been completed
- repeat for n-1 passes of the enteri lis (n = number of items on list)
- move to 2 and 3 and repear util completed
- compare 1 nd 2 and swap in necessary
- very simple
- Requires more memory as the data is sorted in place
- very inefficient - as list gets bigger the speed increces with the square of the numer of items
- Far to slow with large lists to be feasible
- algorithm
- merge
- algorithum
- splits list into n ( number of items) separate lists of 1 item each
- merge the first two 1-item lists into a sorted 2-item list by repeatedly adding the lowest value item to a new list
- move onto the next pair of lists and repeat until no more 1-item lists left
- merge each pair of two 2-item lists into a sorted 4-item list by addint the lowest value to the new list
- repeat this procedure until one sorted list remains
- merge each pair of two 2-item lists into a sorted 4-item list by addint the lowest value to the new list
- move onto the next pair of lists and repeat until no more 1-item lists left
- merge the first two 1-item lists into a sorted 2-item list by repeatedly adding the lowest value item to a new list
- splits list into n ( number of items) separate lists of 1 item each
- more complex algorithm to understand and program
- requires more memory, sa multiple lists are required - the data cannot be sorted in place
- very efficent algoritm - as the size of the list increases, the speed if execution increases almost linearly
- algorithum
- bubble
Information
- Description
- GCSE Computing Mind Map on topic 6 CS, created by william abbott on 11/05/2022.
- Created by
- william abbott
- Views
- 0
- Rating