Set: computer science

Familiarize

Learn

Test

Play Scatter

Play Space Race

Combine with other sets Login to add to Favorites
Print: Term List | Flashcards Editing not allowed
Export Deleting not allowed

Share these flash cards

With group: None
HTML link to set: Tiny link:
Share on Facebook Share on MySpace

All 22 terms

TermDefinition
algorithma well-ordered collection of unambiguous and effectively computable operations that, when executed, produce a result and halt in a finite amount of time.
pseudocodeused to design and represent algorithms, set of English language constructs designed to resemble statements in a programming language but that do not actually run on a computer. It is simple, highly readable, and have virtually no grammatical rules.
sequential operationscomputation, input, and output
computationwords and phrases inside quotation marks represent specific elements that you must insert when writing an algorithm.
inputoperations submit to the computing agent data values from the outside world that it may then use it later instructions.
outputoperations send results from the computing agent to the outside world.
control operationsconditional and iterative
conditional statementsthey allow an algorithm to ask a question and to select the next operation to perform on the basis of the answer to that question.
loopthe repetition of a block instructions
iterationis looping
continuation conditionThe true/false condition is evaluated to find out which step to take next/
pretest loopthe continuation condition is tested at the beginning of each pass through the loop, and therefore it is possible for the loop body never to be executed.
posttest loopthe test is done at the end of the loop body by using a true/false continuation condition
Four algorithmic problem solving methods in chapter 2go forth and multiply; looking looking looking; Big, bigger, biggest; Meeting you match
Attributes of algorithmscorrectness, ease of understanding, elegance, efficiency
benchmarkingare useful for rating one machine against another and how sensitive a particular algorithm is with respect to variations in input on one particular machine.
correctnessthe result must be correct
ease of understandingclarity, ease of handling
elegancethe level of difficulty
efficiencycareful use of resources (most desirable attribute of an algorithm)
hamiltonian circuita path through a graph that begins and ends at the same node and goes through all other nodes exactly once
Data cleanup algorithmsthe shuffle-left algorithm, the copy over algorithm, the converging-pointers algorithm,

Set Information

Terms 22
Creator Puntii
Created February 9, 2009
Groups None
Subjects None
Access Anyone
Edit Creator Only
Get rid of ads on Quizlet
Pop out

Discuss

No Messages
Last Message: never

You must be logged in to discuss this set.