Software Design and Development (Implementation: Algorithm Specification)
No description yet. This curated deck is ready for daily study.
Card preview (8)
What are the three main algorithms in Software Design and Development?
Input Validation Running Total Within Loop Traversing a 1D Array
What does a pre-test conditional loop do?
A pre-test conditional loop checks the conditions before the code within in loops is translated
What does a post-test conditional loop do?
A post-test conditional loop will execute all code within the loop at least once before checking the condition
What is the basic pseudocode for collecting a running total in an array?
SET totalScore TO totalScore + score[n]
What is the purpose of an input validation algorithm?
To make sure that data received from the user is valid for the task at hand
What is an example of a pre-test conditional loop often used as part of input validation algorithms?
WHILE…END WHILE
What is an example of a post-test conditional loop, sometimes used as part of input validation algorithms?
FOR…FROM…TO…DO…END FOR
What is a description of ‘traversing an array’?
Access each element in an array so that data can be checked, altered or used