• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 11 páginas
Examen

WGU C949 Data Structures And Algorithms – Questions With Relevant Solutions

Document preview thumbnail
Vista previa 2 fuera de 11 páginas

WGU C949 Data Structures And Algorithms – Questions With Relevant Solutions

Vista previa del contenido

WGU C949 Data Structures And Algorithms –
Questions With Relevant Solutions
A functions whose cost scales linearly with the size of the input
Correct Answer - O(n)

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

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

Which type of function works by breaking down large problem into
smaller and smaller chunks? Correct Answer - 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. Correct Answer - O(log n)


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

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

Which type of function gets really expensive really quickly?
Correct Answer - O(n^2)

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

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

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

Which statement is static?

readonly Contact[] contacts = new Contact[];

readonly Contact contacts = new Contacts[100]; Correct Answer -
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 Correct Answer - Linked
List

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

Linking together complex nodes into a single structure Correct
Answer - Linked List

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

What two things do nodes contain? Correct Answer - 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. Correct Answer - Node head = new Node(1);

Información del documento

Subido en
11 de julio de 2025
Número de páginas
11
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$13.49

¿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

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.
LeCrae
4.0
(449)
Vendido
2150
Seguidores
1409
Artículos
22852
Última venta
2 semanas 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