Back to AI Flashcard MakerInformation Technology /Software Testing and Programming Concepts

Software Testing and Programming Concepts

Information Technology23 CardsCreated 4 months ago

This deck covers key concepts in software testing and programming, including definitions, testing types, and programming principles. It is designed to help students understand and memorize important terms and their applications.

Acceptance Testing

Tests that are run before a system is released into active service.
Tap or swipe ↕ to flip
Swipe ←→Navigate
1/23

Key Terms

Term
Definition
Acceptance Testing
Tests that are run before a system is released into active service.
Aliases
Two different naming expressions that name the same thing.
Base Case
A properly designed recursive function must have at least one of these to avoid infinite regress.
Bottom-up
Whenever possible, before testing a given function, X, test all functions that X calls or that prepare data that X uses.
Dangling Pointer
A naming expression to a memory location that has been returned to the pool of unallocated storage.
Inaccessible storage
A dynamically allocated block of storage that can no longer be accessed to read its value or store a new value into it.

Related Flashcard Decks

Study Tips

  • Press F to enter focus mode for distraction-free studying
  • Review cards regularly to improve retention
  • Try to recall the answer before flipping the card
  • Share this deck with friends to study together
TermDefinition
Acceptance Testing
Tests that are run before a system is released into active service.
Aliases
Two different naming expressions that name the same thing.
Base Case
A properly designed recursive function must have at least one of these to avoid infinite regress.
Bottom-up
Whenever possible, before testing a given function, X, test all functions that X calls or that prepare data that X uses.
Dangling Pointer
A naming expression to a memory location that has been returned to the pool of unallocated storage.
Inaccessible storage
A dynamically allocated block of storage that can no longer be accessed to read its value or store a new value into it.
Infinite regress
Occurs when a recursive program calls itself endlessly and never encounters a base case.
Information hiding
Hiding things inside a module to prevent external users from accessing them. Can protect their internal mechanisms from external tampering.
Integration Testing
You check that combinations of the functions work together properly.
Loop Invariant
An assertion with the property that it is always true no matter how many times a loop is executed.
Module
Provides a way of grouping together collections of related data and operations; presents clean, well-defined interfaces to users of their services; hides internal details of operation to prevent interface; and can be separately compiled.
Postcondition
Logical conditions that are true after the program is executed.
Precondition
Logical conditions that are true before the program is executed.
Priority Queue
Enables insertion of items in any order, but when an item is removed it is always the item with highest priority.
Procedural Abstraction
A named unit of action for which it is necessary to know only what it does not how it achieves its result.
Recursion
A function calls itself inside itself.
Regression Testing
Checking that everything that used to work before a change was made still continues to work after the change is installed.
Test drivers
For function S, is a function that enumerates test cases for S, calls S for each test case, and checks the outputs afterwards to see that they are correct.
Top-down Programming
Method of starting with a top-level design and expanding its details progressively until an actual program is developed.
Unit Testing
Testing a given function.
Auxiliary function
A function which assists another function.
Linked
A type of data representation in which individual blocks of storage are managed using pointers.
Test Plan
A document that specifies a systematic schedule of testing activities in a software project and gives the inputs and expected correct outputs for each part of the system.