Testing & Debugging Flashcards

(27 cards)

1
Q

Define unit testing.

A

A software testing method where individual components are tested for correctness.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of integration testing?

A

To verify that different modules or services work together as intended.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or false: Debugging is the process of identifying and fixing errors in code.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: Logging helps in _______ the behavior of an application.

A

monitoring

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a staging environment?

A

A replica of the production environment used for testing before deployment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define smoke testing.

A

A preliminary test to check the basic functionality of an application.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does code review involve?

A

Evaluating code changes by peers to ensure quality and adherence to standards.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or false: Performance testing assesses how well an application performs under load.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fill in the blank: Continuous integration involves _______ code changes frequently.

A

merging

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the role of error monitoring tools?

A

To automatically track and report errors in applications in real-time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define load testing.

A

Testing an application to determine its behavior under expected load conditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is A/B testing?

A

A method comparing two versions of an application to determine which performs better.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

True or false: Static analysis checks code without executing it.

A

TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Fill in the blank: User acceptance testing ensures the software meets _______ requirements.

A

business

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a rollback in deployment?

A

Reverting to a previous version of the application after a failed update.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Define debugging tools.

A

Software applications that help identify and fix bugs in code.

17
Q

What is hotfix?

A

A quick solution to fix a critical issue in a deployed application.

18
Q

True or false: End-to-end testing validates the entire application flow.

19
Q

Fill in the blank: Feature flags allow developers to _______ features in production.

20
Q

What is version control?

A

A system that records changes to files over time, allowing for recovery.

21
Q

Define test-driven development (TDD).

A

A software development process where tests are written before code implementation.

22
Q

What does monitoring involve post-deployment?

A

Tracking application performance and user behavior to ensure stability.

23
Q

True or false: Canary releases involve deploying changes to a small user group first.

24
Q

Fill in the blank: Regression testing ensures new changes do not _______ existing functionality.

25
What is a **debugging session**?
An interactive process where developers inspect and modify code to fix issues.
26
Define **mocking** in testing.
Creating simulated objects to mimic the behavior of real objects in tests.
27
What is the purpose of **test cases**?
To define specific conditions under which a test will be executed.