click below
click below
Normal Size Small Size show me how
ALGO FA 1
| Question | Answer |
|---|---|
| Muhammad ibn Musa al-Khwarizmi – 9th century mathematician | T |
| Analysis of algorithms is the determination of the amount of time and space resources required to execute it. | T |
| _________ is a sequence of unambiguous instructions for solving a problem. | algorithm |
| _________ thus a sequence of computational steps that transform the input into the output. | algorithm |
| "GCD (700,24)" | 4 |
| ______ refers to an algorithm is asserted when it is said that the algorithm is correct with respect to a specification. | correctness |
| " GCD (224,602)" | 14 |
| A criterion where all operations to be performed must be sufficiently basic that they can be done exactly and in finite length. | effectiveness |
| " A sequence of computational steps that transform the input into the output." | algorithm |
| " GCD (24,60)" | 12 |
| " Adjacent Linked list is collection of linked lists, one for each vertex, that contain all the vertices adjacent to the list’s vertex." | TRUE |
| Linked list is sequence of zero or more nodes each containing two kinds of information: some data and one or more links called pointers to other nodes. | TRUE |
| " __________ searching for a given word/pattern in a text" | string matching |
| " Sorting ______ is a special piece of information used to guide sorting." | key |
| " A sorting property that if it preserves the relative order of any two equal elements in its input" | stability |
| " Finding a given value, called a search key, in a given set." | sorting |
| " Edges set E of vertex pairs." | TRUE |
| Model development is an __________ process. | iterative |
| Program testing is the process of executing a program with the intent of finding errors. | TRUE |
| GCD (345,12) | 3 |
| " There are how many steps involved in solving computational problems " | 9 |
| Pseudocode gives a high-level description of an algorithm without the ambiguity associated with plain text but also without the need to know the syntax of a particular programming language. | TRUE |
| Stack uses LIFO / FILO approach. | TRUE |
| Stack uses LIFO / FILO approach. | TRUE |
| " It is a sequence of characters from an alphabet" | string |
| " Connected components is the maximum connected subgraph of a given graph." | TRUE |
| " Cycle simple path of a positive length that starts and ends a the same vertex." | TRUE |
| Queue uses FIFO / LILO approach. | TRUE |
| " __________ A sequence of n items of the same data type that are stored contiguously in computer memory and made accessible by specifying a value of the array’s index." | array |
| IT refers to an algorithm is asserted when it is said that the algorithm is correct with respect to a specification | correctness |
| There are how many elements of a problem statement | 3 |
| " A criterion where all operations to be performed must be sufficiently basic that they can be done exactly and in finite length" | effectiveness |
| __________ is finding a given value, called a search key, in a given set. | searching |
| " is a sorting property that does not require extra memory, except, possibly for a few memory units" | in place |
| " It refers to the correctness refers to the input-output behavior of the algorithm" | Functional |
| The presence of documentation helps keep track of all aspects of an application and it improves on the quality of a software product. | TRUE |
| " It refers to the process that a program must end finite number of steps." | Finiteness |
| GCD (2344:1231) | 1 |
| " __________ string consist of letters, numbers, and special characters." | Text String |
| _________ is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values, as output. | algorithm |
| " Ordered Tree is a rooted tree in which all the children of each vertex are ordered" | TRUE |
| "It refers to a sequence of unambiguous instructions for solving a problem " | Algorithm |
| "__________ is a sorting property that if it preserves the relative order of any two equal elements in its input. " | stability |
| "Cycle A simple path of a positive length that starts and ends a the same vertex. " | TRUE |
| "Arrays is sequence of n items of the same data type that are stored contiguously in computer memory " | TRUE |
| Vertices sets: a finite set V of items. | TRUE |