Paper 2 - All Content Flashcards
What is abstraction?
Removing unnecessary detail from a problem to make it easier to understand and focus in on main elements.
What is decomposition?
Breaking down a problem into a series of sub problems to make it easier to understand and solve.
What is an input?
Allows user to put data into the computer system.
What is a output?
Displays the result of processing to the unit.
What is a process?
Turns a input into a output.
What shape is a process?
Rectangle.
What shape is a start/end?
Lozenge.
What shape is a input/output?
Parrelelogram.
What shape is a sub program?
Rectangle with two additional lines inside.
What shape is a decision?
Diamond, remember to add labels to branch arrows.
What direction do you have to go in trace tables?
Left to right, never go back on yourself.
What are the conditions required to run a binary search?
List must be in order, text and numbers.
What happens in a binary search?
Each time you select the middle item in a list, the irrelevant half is discarded. You repeat this until you have found the result.
What happens in a binary search?
Each time you select the middle item in a list, the irrelevant half is discarded. You repeat this until you have found the result.
Is a binary search efficient?
Yes.
What is a linear search?
Search that will work on any list. Starts at beginning of list and checks every item in order to see if it matches the search term.
What is a positive and negative of using a linear search?
Can search unordered lists, far less efficient than binary search.