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 3 fuera de 16 páginas
Examen

WGU C949 Terminology Exam – Questions with Verified Answers A Grade

Document preview thumbnail
Vista previa 3 fuera de 16 páginas

Ace WGU C949 terminology exam with verified answers covering ADTs (list, queue, stack, dictionary, set, bag), sorting algorithms (bubble, quick, bucket, shell), Big-O complexity, and data structures.

Vista previa del contenido

WGU C949 TERMINOLOGY EXAM
QUESTIONS AND CORRECT ANSWERS
(VERIFIED ANSWERS); A GRADE


__init__ - correct answer- instantiation of a class
automatically calls this method defined in the class def


this is also known as the constructor


(high + low)/2 - correct answer- mid-values
calculation for binary search. toCeil()


// - correct answer- symbol for floored division


Add(int index, Object x) - correct answer- command
that inserts object x at position index in a list


ADT (Abstract data Type) - correct answer- data type
described by predefined user operations, such as "insert data at
rear", without indication how each operation is implemented

,array - correct answer- a data structure that stores
an ordered list of items, with each item is directly accessible by a
positional index


homogeneous data elements


assignment - correct answer- type of operation for
setting a var


Bag - correct answer- ADT for stroing items in which
the order does not matter and duplicate items are allowed


binary tree - correct answer- A data structure that
consists of nodes, with one root node at the base of the tree,
and two nodes (left child and right child) extending from the
root, and from each child node


can have no children, single left or right, or both right and left


bubble sort - correct answer- for i from 0 to N -1
if a[i] > a[i+1]
swap(a[i], a[i +1]

, end for


Bubble Sort Algorithm - correct answer- def
shortSort(alist):
exchanges = True
passnum = len(alist)-1
while passnum > 0 and exchanges:
exchanges = False
for i in range(passnum):
if alist[i]>alist[i+1]:
exchanges = True
temp = alist[i]
alist[i] = alist[i+1]
alist[i+1] = temp
passnum = passnum-1


bucket sort - correct answer- Best: O(n+k)
Avg: O(n+k)
Worst: O(n^2)
Space: O(nk)

Información del documento

Subido en
30 de abril de 2026
Número de páginas
16
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$17.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.
Delmahubcham
4.5
(13)
Vendido
57
Seguidores
1
Artículos
4004
Última venta
6 horas 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