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

SQA Final Exam Prep (150+ Questions) | DRY, TUFs, Model Checking, Performance Metrics | Software Engineering

Puntuación
-
Vendido
-
Páginas
52
Grado
A+
Subido en
29-09-2025
Escrito en
2025/2026

This exam preparation document for Software Quality Assurance (SQA) in the 2025/2026 academic year contains 150+ multiple choice and short-answer questions with verified A+ answers. It is tailored for final exam review and in-depth concept reinforcement, structured to help students succeed in both theoretical and practical assessments. The document thoroughly explores core SQA principles and practices, such as: DRY (Don’t Repeat Yourself) and polymorphism for testability and maintainability Test-Unfriendly Features (TUFs) and Test-Unfriendly Constructs (TUCs) with examples like static and private methods Dependency Injection techniques and the importance of seam creation in legacy code testing Stochastic and Fuzz Testing, including shrinking, invariants, and property-based testing State Space Exploration and Model Checking, with concepts such as symbolic execution, state explosion, and hash compaction Performance Testing Indicators (e.g., response time, throughput, CPU utilization, MTBF, MTTR) using both service-oriented and efficiency-oriented approaches Security Testing methods, such as CIA triad, buffer overflows, cross-site scripting (XSS), and role of sanitization Testing strategies: regression testing, exploratory testing, black-box vs white-box testing, and coverage criteria (statement, branch, path, state) Each concept is broken down using examples, definitions, code snippets, and explanations of tool-based practices (e.g., Google Address/Thread Sanitizer, Java Path Finder). Relevant for: Undergraduate or graduate students in Software Engineering, Computer Science, or Cybersecurity Final year students preparing for SQA exams, certifications, or capstone assessments QA engineers and test professionals aiming to revise core principles or evaluate automation and model checking strategies University instructors seeking extensive question banks and teaching material for exams or mock tests Keywords: software quality assurance, DRY principle, testability, TUF, TUC, seam, dependency injection, legacy code, fuzz testing, invariants, symbolic execution, model checking, regression testing, exploratory testing, static testing, performance testing, MTBF, MTTR, response time, throughput, CIA triad, XSS, Java Path Finder, test automation, unit testing, stochastic testing

Mostrar más Leer menos
Institución
SQA
Grado
SQA

Vista previa del contenido

SQA Final Exam Prep 2025/2026 Exam
Questions and Verified Answers |
Already Graded A+



segment code - 🧠ANSWER ✔✔methods should perform one well-defined

functionality


how does segment code increase testability? - 🧠ANSWER ✔✔more

reusable and maintainable, the methods don't depend on each other

anymore


DRY - 🧠ANSWER ✔✔Don't Repeat Yourself


DRYL why shouldn't we repeat ourselves? - 🧠ANSWER ✔✔- Increased

code to maintain, more room for error

- Less timetable → have to do increased testing and when there is a defect,

the bug fix has to be replicated in all copies

,DRY: what do i do with similar code? - 🧠ANSWER ✔✔merge them!


functionally similar w/ diff types? - 🧠ANSWER ✔✔polymorphism


DRY: which type of classes and methods should we make use of? -

🧠ANSWER ✔✔- generic ones


- parameterized types


use generic classes when - 🧠ANSWER ✔✔there is no superclass


TUFs - 🧠ANSWER ✔✔Test-Unfriendly Features


TUCs - 🧠ANSWER ✔✔Test-Unfriendly Constructs


no TUFs inside - 🧠ANSWER ✔✔TUCs


TUFs are - 🧠ANSWER ✔✔features that you want to fake using stubs

(because they take too long to set up to work correctly, or test, or testing

them causes unwanted side-effects


examples of TUFs - 🧠ANSWER ✔✔- printing to console


- reading / writing from a database / to a filesystem

- access a diff program or system / the network

,TUCs are - 🧠ANSWER ✔✔methods that are hard to fake using stubbing or

overriding


stubbing def - 🧠ANSWER ✔✔replacing a method in a mocked object using

Mockito


overriding def - 🧠ANSWER ✔✔overriding a method in a "fake" class that

subclasses real class


TUCs examples - 🧠ANSWER ✔✔- object constructors / destroctors


- private methods

- final methods




(the above four are impossible to override)




- static methods: impossible to override or to stub (since static methods are

called on classes not objects)


so what does no TUFs inside TUCs mean? - 🧠ANSWER ✔✔do not put

code that you want to fake (TUFs) inside methods that are hard to fake

(TUCs)

3
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
STATEMENT. ALL RIGHTS RESERVED

, make it easy to satisfy preconditions - 🧠ANSWER ✔✔- depnednece on

external data is bad for testing


external data examples - 🧠ANSWER ✔✔- val of global vars


- val extracted from a global data structure

- val read from a file / database

- basically any val that you did not pass in as args

- aka side-effects

pass in data using args (will need less external data) and for the remaining

external data - 🧠ANSWER ✔✔- segregate hard-to-test code w/ side-effects

into a small corner

- keep as many methods pure as possible


make it easy to reprouce - 🧠ANSWER ✔✔- dependence on random data is

bad for testing

- random data = impossible to reproduce result


if you pass in Die d var, - 🧠ANSWER ✔✔you can do

Escuela, estudio y materia

Institución
SQA
Grado
SQA

Información del documento

Subido en
29 de septiembre de 2025
Número de páginas
52
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas

Temas

$15.99
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


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.
JOSHCLAY West Governors University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
247
Miembro desde
2 año
Número de seguidores
14
Documentos
17795
Última venta
22 horas hace
JOSHCLAY

JOSHCLAY EXAM HUB, WELCOME ALL, HERE YOU WILL FIND ALL DOCUMENTS & PACKAGE DEAL YOU NEED FOR YOUR SCHOOL WORK OFFERED BY SELLER JOSHCLAY

3.6

53 reseñas

5
22
4
8
3
11
2
5
1
7

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