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

CMSC 132 Final Exam Questions with 100% Correct Answers | Verified | Latest Update 2024

Puntuación
-
Vendido
-
Páginas
3
Grado
A+
Subido en
03-07-2024
Escrito en
2023/2024

Procedural abstraction - ANSSpecifies actions, hides algorithms Data Abstraction - ANSSpecifies data objects, hides representation Encapsulation - ANSConfine information so that it is only visible/accessible through an external interface Comparable - ANScompareTo, natural ordering Comparator - ANSSupports generics, separate classes for each ordering Iterator - ANSnext, hasNext, remove Iterable - ANSIterator<T> iterator(); Abstraction vs. Interfaces - ANSAbstract methods have inheritance, but you can implement multiple interfaces Abstract methods - ANSMethods that contain no body, subclasses provide implementation Abstract classes - ANSNecessary if there is an abstract method, can contain non-abstract methods Implementing equals - ANSPass in Object obj 1. obj==this, return true 2. (!(obj instanceof classA)), return false 3. A x=(A)obj; 4. Specific comparisons based on class A Cloning - ANSMakes a shallow copy Creating a variable in an inner class - ANSOuter.Inner in = Out.Inner(); GUI Model - ANSModel, View, Controller Creating a GUI - ANS1. Define a container 2. Choose a Layout Manager (FlowLayout, BorderLayout, GridLayout) 3. Add components (JCheckBox, JRadioButton, JTree) 4. Add actions/event listeners 5. Schedule processing in the EDT Comparing complexities - ANSlim f(n)/ n->inf g(n) if inf, f(n) is larger if 0, g(n) is larger Multiplicative Congruency Method - ANSHash value = M((a * keyValue) % N) N is table size, a is a large prime number Hash Code Contract - ANS1. If s(b) == true, then we must guarantee Code( ) == Code( ) 2. hashCode() Must return same value for an object each time, provided information used in equals( ) comparisons on the object is not modified User Datagram Protocol (UDP) - ANSUnreliable, packet oriented. Packets may get lost with no notification. Useful with small messages. Transmission Control Protocol (TCP) - ANSReliable, connection oriented Domain Name System (DNS) - ANSProtocol for translating domain names to IP addresses Uniform Resource Locators (URLs) - ANSConsists of protocol (http), IP address/domain name, port Client/Server Model - ANSClient initiates communication and requests services Software Life Cycle - ANS1. Problem specification 2. Program design 3. Algorithm and data structures 4. Coding and debugging 5. Testing and verification 6. Documentation and support 7. Maintenance Software Process Models - ANSWaterfall, Iterative, Unified, Agile Automated Testing - ANSThe software is tested by a completely automatic process Manual Testing - ANSA person uses the software, perhaps guided by a script, and notes bug Clear box testing - ANSAllowed to examine code, attempt to improve thoroughness of test Black box testing - ANSNo knowledge of code, test behavior in response to inputs Stub - ANSSkeleton code in place of unfinished method / class Mock objects - ANSSimilar to stubs, but they record calls and if the wrong calls are made to them, the test fails

Mostrar más Leer menos
Institución
CMSC 132
Grado
CMSC 132








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

Escuela, estudio y materia

Institución
CMSC 132
Grado
CMSC 132

Información del documento

Subido en
3 de julio de 2024
Número de páginas
3
Escrito en
2023/2024
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$11.19
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
Kiranga
5.0
(1)

Conoce al vendedor

Seller avatar
Kiranga John Hopkins University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
1
Miembro desde
1 año
Número de seguidores
0
Documentos
122
Última venta
1 año hace

Here we offer revised study materials to elevate your educational outcomes. We have verified learning materials (Research, Exams Questions and answers, Assignments, notes etc) for different courses guaranteed to boost your academic results. We are dedicated to offering you the best services and you are encouraged to inquire further assistance from our end if need be. Having a wide knowledge in Nursing, trust us to take care of your Academic materials and your remaining duty will just be to Excel. Remember to give us a review, it is key for us to understand our clients satisfaction. We highly appreciate refferals given to us. Also clients who always come back for more of the study content we offer are extremely valued. All the best

Lee mas Leer menos
5.0

1 reseñas

5
1
4
0
3
0
2
0
1
0

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