Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Algorithms

2.1

TermDefinitionAdvantagesDisadvantages
Abstraction simplifies a problem by removing unnecessary detail so that you can focus on the important parts that are relevant to the problem
Decomposition breaking a complex problem into smaller, more manageable sub-problems allows large teams to each take a part of a problem and work on it. allows seemingly impossible problems to be solved by splitting them into simple tasks.
Structure charts visually represents breaking a large problem down into the smaller parts that make it up Each box represents a smaller problem to be solved Lines show which bigger problem the box is a part of
Algorithmic Thinking solving problems by producing algorithms - a reusable set of instructions to solve a given problem
Pseudocode a way to write out algorithms using code-like statements very readable, and easy to understand
Flow diagrams visually represents the steps that make up an algorithm
Rules of flow diagrams Arrows - the flow of control, or what to execute next Oval - start and end Rectangle - a process Parallelogram - input or output Diamond - decision
Things to look out for when interpreting flow diagrams Identifiers - names of variables, constants, and subroutines Inputs and outputs Output messages Comments
Correcting algorithms Missing processes Incorrect identifiers Incorrect operators
Completing algorithms Interpreting the algorithm Truce table
Search algorithms a set of instructions for finding a specific item of data within a data set
Effective searching one which will always either find the solution or determine that the target data is not present
Efficient searching finds the solution quickly regardless of its location within the data set
Linear search To check each item in a list individually to check if its the one you want easy to implement Slow on a long list
Binary search Divide and conquer - to divide the list in half, checking if the item is in that half. This process is repeated until there are no divisions possible. Faster than linear search on a large dataset Dataset must be sorted
Sort algorithms a set of instructions to arrange a dataset into a particular order
Bubble sort Compare the first two items, swapping them if needed Repeat process for the rest of the cards Repeat process until sorted Easy to implement Little memory used Poor efficiency
Insertion sort Take the second card, compare and swap with the first if needed Take the third card, compare with the second and first, making any swaps if needed Repeat for all cards Easy to implement Little memory used Poor efficiency
merge sort Divide and conquer - Split the lists into lists of size one Merge each pair of sublists by comparing the first value of each list and putting the smaller value into the new list first Continue merging until there is only one list Very efficient Can be slower for small lists Needs additional memory
Created by: That cool NAMe
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards