WGU C949 PRE-ASSESSMENT NEW EXAM QUESTIONS
AND CORRECT ANSWERS FOR TOP PERFORMANCE
What is the name for an object creation template? ANSWER Class
Which of an algorithm's properties is independent? ANSWER use a repository
of agnostic code
A data structure that holds subitems is called what? Record of Answers
Which of the following factors accounts for an algorithm's ease of updating?
The maintainability of the answer
Which part of an algorithm designates a stopping point? The finiteness of the
answer
Which phrase describes a particular kind of search algorithm? ANSWER Linear
What is a high-level factor to take into account when designing an algorithm?
The simplicity of the answer
Which technique is most frequently used to look for an item in a sorted array?
Binary Search Answer
Which algorithm review takes place following implementation? ANSWER
Analysis after the fact
What metric is used to assess an algorithm's reusability? The extensibility of the
answer
Which search algorithm applies the strategy of divide and conquer? Binary
search is the answer.
Which algorithm necessitates sorting data first? ANSWER Binary
, What is included in an algorithm's temporal complexity analysis? ANSWER
The worst situation
What kind of data types are compatible with heap sorts? ANSWER A data
structure based on trees
Which function is combined with an algorithm for merge sorting? ANSWER
Recursive
What distinguishes a recursive function from others? ANSWER makes a call on
its own
In the logic block that follows, what is x?
x = 28
If x < 20 and x >= 10, then x = 20; if x <= 30 then x = 25; if x >= 50 then x =
100; otherwise, x = 500 - ANSWER 25
What is the term for an if statement enclosed within another if statement?
ANSWER Nestled
Until the desired object is located or the data set is depleted, which search
algorithm repeatedly divides the data set in half? Binary Search Answer
After sorting the data set, which search algorithm performs the best? ANSWER
Binary Search, for example, Interval Search
Which phrase best sums up a method for arranging, storing, and manipulating
data? ANSWER Structure of Data
A dictionary data type is implemented using this data structure? The Hash Table
for Answers
Which component of a list abstract data type (ADT) pertains to the numerical
positions? ANSWER Indexes
What feature of a class makes it suitable for usage as an abstract data type
(ADT)? ANSWER It includes methods and variables.
When 6 is enqueued to queues 7, 9, and 8 (with 7 at the front), what happens?
ANSWERS 7, 9, 8, and 6
AND CORRECT ANSWERS FOR TOP PERFORMANCE
What is the name for an object creation template? ANSWER Class
Which of an algorithm's properties is independent? ANSWER use a repository
of agnostic code
A data structure that holds subitems is called what? Record of Answers
Which of the following factors accounts for an algorithm's ease of updating?
The maintainability of the answer
Which part of an algorithm designates a stopping point? The finiteness of the
answer
Which phrase describes a particular kind of search algorithm? ANSWER Linear
What is a high-level factor to take into account when designing an algorithm?
The simplicity of the answer
Which technique is most frequently used to look for an item in a sorted array?
Binary Search Answer
Which algorithm review takes place following implementation? ANSWER
Analysis after the fact
What metric is used to assess an algorithm's reusability? The extensibility of the
answer
Which search algorithm applies the strategy of divide and conquer? Binary
search is the answer.
Which algorithm necessitates sorting data first? ANSWER Binary
, What is included in an algorithm's temporal complexity analysis? ANSWER
The worst situation
What kind of data types are compatible with heap sorts? ANSWER A data
structure based on trees
Which function is combined with an algorithm for merge sorting? ANSWER
Recursive
What distinguishes a recursive function from others? ANSWER makes a call on
its own
In the logic block that follows, what is x?
x = 28
If x < 20 and x >= 10, then x = 20; if x <= 30 then x = 25; if x >= 50 then x =
100; otherwise, x = 500 - ANSWER 25
What is the term for an if statement enclosed within another if statement?
ANSWER Nestled
Until the desired object is located or the data set is depleted, which search
algorithm repeatedly divides the data set in half? Binary Search Answer
After sorting the data set, which search algorithm performs the best? ANSWER
Binary Search, for example, Interval Search
Which phrase best sums up a method for arranging, storing, and manipulating
data? ANSWER Structure of Data
A dictionary data type is implemented using this data structure? The Hash Table
for Answers
Which component of a list abstract data type (ADT) pertains to the numerical
positions? ANSWER Indexes
What feature of a class makes it suitable for usage as an abstract data type
(ADT)? ANSWER It includes methods and variables.
When 6 is enqueued to queues 7, 9, and 8 (with 7 at the front), what happens?
ANSWERS 7, 9, 8, and 6