Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 4 fuera de 49 páginas
Examen

WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE ASSESSMENT EXAM QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES (VERIFIED ANSWERS) |AGRADE

Document preview thumbnail
Vista previa 4 fuera de 49 páginas

WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE ASSESSMENT EXAM QUESTIONS AND CORRECT DETAILED ANSWERS WITH RATIONALES (VERIFIED ANSWERS) |AGRADE

Vista previa del contenido

1|Page


WGU C949 DATA STRUCTURES AND ALGORITHMS I OBJECTIVE
ASSESSMENT EXAM QUESTIONS AND CORRECT DETAILED
ANSWERS WITH RATIONALES (VERIFIED ANSWERS) |AGRADE


Iterating over a collection of data once often indicates an ______
algorithm. (alphabet for-loop example)
O(n)




A functions whose cost scales logarithmically with the input size
O(log n)




Which type of function works by breaking down large problem into
smaller and smaller chunks?
O(log n)




As the size of the input grows the cost of the algorithm does not
increase at the same rate. The overall cost of performing an operation
on 1,000,000 items is only twice that of performing the operation on
1,000 items.
O(log n)

,2|Page


Image: As the size of the input grows the cost of the algorithm does not
increase at the same rate. The overall cost of performing an operation
on 1,000,000 items is only twice that of performing the operation on
1,000 items.




A function that exhibits quadratic growth relative to the input size
O(n^2)




An example of this type of function is doubly nested loop
O(n^2)




Which type of function gets really expensive really quickly?
O(n^2)
Image: Which type of function gets really expensive really quickly?




A function that has two inputs that contribute to growth
O(nm)

,3|Page


An example of this type of function is when there is a nested loop that
iterates of two distinct collections of data
O(nm)




Are Big-O cases used in the best or worst situations?
Worst




Which statement is static?


readonly Contact[] contacts = new Contact[];


readonly Contact contacts = new Contacts[100];
readonly Contact contacts = new Contacts[100];




A container where data is stored in nodes consisting of a single data
item and a reference to the next node
Linked List

, 4|Page


A ______ is a container where nodes of data are linked together into a
list
Linked List




Linking together complex nodes into a single structure
Linked List




Each link in a chain for a linked lists is called a ______
node




What two things do nodes contain?
1. the value
2. reference to next item in the list




Give a coded example on how to create a 3 chained linked list of nodes.
Node head = new Node(1);


head.Next = new Node(2);

Información del documento

Subido en
11 de agosto de 2026
Número de páginas
49
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$20.09

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Vendido
8
Seguidores
0
Artículos
830
Última venta
3 días hace



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