WGU C949 EXAM 2 QUESTIONS AND
CORRECT ANSWERS!!
Which term refers to a template for creating an object?
Class
Which characteristic of an algorithm is independent in nature?
Uses an agnostic code repository
What is referred to as a data structure that stores subitems?
Record
Which factor takes the ability to easily update an algorithm into consideration?
Maintainability
What is a component of an algorithm that specifies a stopping point?
Finiteness
Which term refers to a type of search algorithm?
Linear
What is a high-level consideration in an algorithm's design?
Simplicity
What is the primary method used to search for an item in a sorted array?
Binary search
Which review of an algorithm happens after implementation?
, A posteriori analysis
Which factor helps measure the reusability of an algorithm?
Extensibility
Which search algorithm utilizes the divide-and-conquer strategy?
Binary search
Which algorithm requires data sorting as its first step?
Binary
What does a time complexity analysis of an algorithm include?
Worst case
Which data type do heap sorts work with?
Tree-based data structure
Which function is used in conjunction with a merge sort algorithm?
Recursive
Which attribute of a recursive function makes it unique?
Calls itself
What is x in the following block of logic?
x=28
CORRECT ANSWERS!!
Which term refers to a template for creating an object?
Class
Which characteristic of an algorithm is independent in nature?
Uses an agnostic code repository
What is referred to as a data structure that stores subitems?
Record
Which factor takes the ability to easily update an algorithm into consideration?
Maintainability
What is a component of an algorithm that specifies a stopping point?
Finiteness
Which term refers to a type of search algorithm?
Linear
What is a high-level consideration in an algorithm's design?
Simplicity
What is the primary method used to search for an item in a sorted array?
Binary search
Which review of an algorithm happens after implementation?
, A posteriori analysis
Which factor helps measure the reusability of an algorithm?
Extensibility
Which search algorithm utilizes the divide-and-conquer strategy?
Binary search
Which algorithm requires data sorting as its first step?
Binary
What does a time complexity analysis of an algorithm include?
Worst case
Which data type do heap sorts work with?
Tree-based data structure
Which function is used in conjunction with a merge sort algorithm?
Recursive
Which attribute of a recursive function makes it unique?
Calls itself
What is x in the following block of logic?
x=28