1 |
What is the first step in solving a problem with an algorighm. |
Desingning the algorithm
Fulfilling the prerequisites
Implementing the algorithm
Testing the algorithm
|
2 |
What are the prerequisites for writing an algorithm |
A clear prblem definitionl input and output
A broblem with no constracints or limitations
Input with multipel characters
A problem with no clear solution
|
3 |
Whicht feature in Scratch is used for infinite loops in which an object wil repeat its action forever. |
Loop forever
Forever loop
Infinite repeat
Repeat forever
|
4 |
Which type of loop stops when the condition is false |
Finite loop
Infinitie loop
Sequence loop
Rcursive loop
|
5 |
Which tye of loop has an explicit end and executes its bodies a fixed number of times. |
Finite loop
Infinite loop
Sequence loop
Recursive loop
|
6 |
Which strcuture executes a statement or set of statements only if the condition in true. |
Sequence strcuture
Selection strcuture
Conditinal structure
Repetition structure
|
7 |
Which tpe of algorithm goes through all possible solutions untill the required solution is found? |
Brute force algorithm
Recursive algorithm
Sorting algorithm
Divide and conuer algorithm
|
8 |
What is the characteristic of an algorithm that states that each step must be clear and lead to only one measning. |
Clear and unambiguous
Well-defined imputs
Well -defined outputs
Feasible
|
9 |
Whcih step involves creating a set of instructions to solve a sprblem. |
Decomposition
Algorithm Design
Generalization and Abstraction
Pattern recongnition
|
10 |
Which step involves breaking down complex prblems into smaller parts. |
Decompostion
Pattern recongnition
Generalization and Abstraction
Algorithm Design
|