100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4,6 TrustPilot
logo-home
Examen

WGU C949 Data Structures and Algorithms Practice Study Guide Questions with Distinction level Marking scheme version 2024/2025

Puntuación
-
Vendido
-
Páginas
46
Grado
A+
Subido en
12-11-2024
Escrito en
2024/2025

WGU C949 Data Structures and Algorithms Practice Study Guide Questions with Distinction level Marking scheme version 2024/2025 An algorithm's best case - correct answer is the scenario where the algorithm does the minimum possible number of operations. An algorithm's worst case - correct answer is the scenario where the algorithm does the maximum possible number of operations. The variable value N - correct answer cannot be replaced with a constant of 0 to describe a best case scenario. A best case scenario must describe the contents of the data being processed. Lower bound: - correct answer A function f(N) that is ≤ the best case T(N), for all values of N ≥ 1. Upper bound - correct answer A function f(N) that is ≥ the worst case T(N), for all values of N ≥ 1 Upper Bound for algorithms - correct answer An algorithm's worst case runtime complexity is always an upper bound for the algorithm. Lower Bound for an algorithm - correct answer An algorithm's best case runtime complexity is always a lower bound for the algorithm. Asymptotic notation - correct answer Is the classification of runtime complexity that uses functions that indicate only the growth rate of a bounding function. Asymptotic notation: O notation - correct answer provides a growth rate for an algorithm's upper bound. Asymptotic notation: Ω notation - correct answer provides a growth rate for an algorithm's lower bound. Asymptotic notation: Θ notation - correct answer provides a growth rate that is both an upper and lower bound. Linear search - correct answer may require searching all list elements, which can lead to long runtimes.

Mostrar más Leer menos
Institución
WGU C949 Data Structure And Algorithm
Grado
WGU C949 Data Structure and Algorithm











Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Escuela, estudio y materia

Institución
WGU C949 Data Structure and Algorithm
Grado
WGU C949 Data Structure and Algorithm

Información del documento

Subido en
12 de noviembre de 2024
Número de páginas
46
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

Vista previa del contenido

WGU C949 Data Structures and Algorithms
Practice Study Guide Questions with
Distinction level Marking scheme version
2024/2025

An algorithm's best case - correct answer is the scenario
where the algorithm does the minimum possible number of
operations.


An algorithm's worst case - correct answer is the scenario
where the algorithm does the maximum possible number of
operations.


The variable value N - correct answer cannot be replaced
with a constant of 0 to describe a best case scenario. A best case
scenario must describe the contents of the data being processed.


Lower bound: - correct answer A function f(N) that is ≤ the
best case T(N), for all values of N ≥ 1.


Upper bound - correct answer A function f(N) that is ≥ the
worst case T(N), for all values of N ≥ 1


Upper Bound for algorithms - correct answer An algorithm's
worst case runtime complexity is always an upper bound for the
algorithm.

,Lower Bound for an algorithm - correct answer An
algorithm's best case runtime complexity is always a lower
bound for the algorithm.


Asymptotic notation - correct answer Is the classification of
runtime complexity that uses functions that indicate only the
growth rate of a bounding function.


Asymptotic notation: O notation - correct answer provides a
growth rate for an algorithm's upper bound.


Asymptotic notation: Ω notation - correct answer provides a
growth rate for an algorithm's lower bound.


Asymptotic notation: Θ notation - correct answer provides a
growth rate that is both an upper and lower bound.


Linear search - correct answer may require searching all list
elements, which can lead to long runtimes.


Binary Search - correct answer is a faster algorithm for
searching a list if the list's elements are sorted and directly
accessible (such as an array). Binary search first checks the
middle element of the list. If the search key is found, the
algorithm returns the matching location. If the search key is not
found, the algorithm repeats the search on the remaining left
sublist (if the search key was less than the middle element) or
the remaining right sublist (if the search key was greater than
the middle element).

,Binary search equation - correct answer log2(Size of
elements) + 1


Selection sort - correct answer is a sorting algorithm that
treats the input as two parts, a sorted part and an unsorted part,
and repeatedly selects the proper next value to move from the
unsorted part to the end of the sorted part.


Selection sort, comparing sort times - correct answer A list
with twice as many elements requires 4 times as many
comparisons.


Insertion sort - correct answer is a sorting algorithm that
treats the input as two parts, a sorted part and an unsorted part,
and repeatedly inserts the next value from the unsorted part into
the correct location in the sorted part.


Insertion sort's typical runtime is - correct answer O(N^2)


A nearly sorted list - correct answer only contains a few
elements not in sorted order. Ex: (4, 5, 17, 25, 89, 14) is nearly
sorted having only one element not in sorted position.


Shell sort - correct answer is a sorting algorithm that treats
the input as a collection of interleaved lists, and sorts each list
individually with a variant of the insertion sort algorithm.

, Shell sort: Gap Value - correct answer The gap value equals
the number of interleaved lists.


ShellSort will properly sort an array using any collection of gap
values, provided the collection contains - correct answer True


Quicksort - correct answer is a sorting algorithm that
repeatedly partitions the input into low and high parts (each part
unsorted), and then recursively sorts each of those parts.


Quicksort: midpoint - correct answer lowIndex + (highIndex -
lowIndex) / 2


The quicksort algorithm's runtime - correct answer is
typically O(N log N)


Quicksort: Sorted partitions - correct answer The elements
within each part can be in any order once the algorithm
completes. The only requirement is that all elements in the left
partition are less than or equal to all elements in the right
partition.


Merge sort - correct answer is a sorting algorithm that
divides a list into two halves, recursively sorts each half, and
then merges the sorted halves to produce a sorted list. The
recursive partitioning continues until a list of 1 element is
reached, as list of 1 element is already sorted.

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
KieranKent55 NONE
Ver perfil
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
42
Miembro desde
2 año
Número de seguidores
18
Documentos
6239
Última venta
1 mes hace

3.6

9 reseñas

5
4
4
1
3
2
2
0
1
2

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes