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
Examen

CMPT 280 NEW EXAM WITH COMPLETE SOLUTIONS 100% VERIFIED

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

CMPT 280 NEW EXAM WITH COMPLETE SOLUTIONS 100% VERIFIED...

Institución
CMPT 280
Grado
CMPT 280

Vista previa del contenido

CMPT 280 NEW EXAM WITH COMPLETE SOLUTIONS 100% VERIFIED



List - Answer An ADT with a linear ordering that manages a collection of data



What are the two main approaches to implementing a linear data structure? - Answer
Linked List (node chain) or Arrayed List (array)



Regression Testing - Answer Testing of a previously tested program following
modification to ensure that defects have not been introduced or uncovered in
unchanged areas of the software, as a result of the changes made. It is performed when
the software or its environment is changed



A good regression test... - Answer Tests thoroughly, is easy to run, and is easily
expanded.



Black-box Testing - Answer A testing method where you identify the expected inputs and
outputs without looking at the code



White-box Testing - Answer A testing method where you create test cases directly
based on the code being tested



What are the five possible cases regarding exceptions? - Answer 1. An exception is
expected, and it occurs.

2. An exception is expected, and no exception occurs.

3. An exception is expected, and a different exception occurs.

4. An exception is not expected, but an exception occurs.

5. An exception is not expected, and none occurs.



How do you measure efficiency? - Answer Efficiency of an algorithm can be measured

, for any resource that the algorithm consumes.

The most commonly measured resource is time.



Time Complexity - Answer The amount of time taken by an algorithm to run; commonly
expressed using big-O notation



Statement Counting - Answer A very basic form of grading algorithms where you try to
determine the exact number of statements executed to perform a task. This assumes
that each line of code takes the same amount of time to execute



Active Operation Approach - Answer Counts time by identifying one statement in the
algorithm that executes at least as often as any other, and is "central" to the algorithm;
this statement is called the active operation. Once we have selected the active
operation, we then determine the exact number of times the active operation executes
and this is our T(n) for the algorithm.



Big-Oh Notation - Answer A method of classifying the time complexity of an algorithm by
providing the upper bounds of the function



Big-Theta Notation - Answer A method of classifying the time complexity of an algorithm
by providing both the upper and lower bounds of the function. Big-Theta is a stronger
statement than Big-Oh or Big-Omega individually.



Big-Omega Notation - Answer A method of classifying the time complexity of an
algorithm by providing lower bounds of the function



Collection - Answer A data structure that is comprised of a set of data elements in some
conceptual arrangement (e.g. in a linear order in the case of a list)



Iteration - Answer A process of repeating a set of instructions a specified number of
times or until a condition is met

Escuela, estudio y materia

Institución
CMPT 280
Grado
CMPT 280

Información del documento

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

Temas

$13.49
Accede al documento completo:

¿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


Documento también disponible en un lote

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.
Easton West Virgina University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
571
Miembro desde
3 año
Número de seguidores
221
Documentos
28055
Última venta
5 días hace

3.9

120 reseñas

5
56
4
21
3
25
2
7
1
11

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