Computer (1)
Computer (1)
1 .In computational thinking standard algorithms are fundamental method used to solve ------
problems.
A. Generic B. Special
C. Common D. Complex
3. In which standard algorithms list divides into a sorted and an unsorted part?
A. Sorting algorithm B. Merge sort
C. bubble sort D. Selection sort
4. In bubble sort steps repeat compares adjacent elements and swaps them if they are in.____ order
A. Right B. Wrong
C. Both of these D. None of these
5. ________ breakdown larger problem into smaller ones and working on them one by one.
A. Abstraction B. Pattern recognition
C. Decomposition D. Algorithms design
6._______examine the problem for a pattern or similarities between previously solved problem.
A Decomposition B. Abstraction
C. Pattern recognition D. None of these
2.8: Abstraction
10. The problems could be specific but the best solution needs to be _______
A. limited B. Generic
C. Common D. Special
12. Different algorithms used different strategies to sort the list of items however end result of each
algorithm is _________.
A. Opposite B. Same
14. Breaking down system into smaller, manageable and interchangeable parts known as?
A. Algorithms B. Abstraction
C. Modules D. Symbols
15. In-_______ modules complete solution of the whole complex problem is solved
A.Define modules B. Integrate modules
C. Design interfaces D. Test modules.
17. To test an algorithm first step is the selection of specific set of ______values?
A. Output B. Variable
C. Input D. None of these
2.12: Errors
19. Mistakes related to the structure of an expression similar to grammatical error in writing
A .Logical error B. Both of these
C. syntax error D. None of these
Q: Define modules.
A: Modular design is a fundamental concept in software engineering and computational thinking, focused on
breaking down a system into smaller, manageable, and interchangeable part known as modules.
Q: Through which procedure we can check that algorithm answer is correct or not?
A: The final output of the algorithm is crosschecked with the expected result. If it matches then it means
algorithm is correct otherwise we review each step to identify if something have gone wrong.