1.

Define slice splicing in the field of software testing? State the types of slice splicing?

Answer»

A program slice is a collection of statements from a program. If we wanted to build software in terms of compatible slices, we could code a slice and test it right away. We can then code and test more slices before putting them together into usable software. This PROCEDURE is known as slice splicing.

Static and dynamic slicing are the two types of slicing:

  • Slicing in a static state: A static slice of a program is MADE up of all statements that have the potential to modify the VALUE of a variable at any time during the program's execution. Static slices are, on average, bigger. It takes into account every possible programme execution scenario.
  • Dynamic Slicing: A dynamic slice of a program is made up of all the statements that affect the value of a variable at any given time throughout the program's execution. Dynamic slices are, on average, SMALLER. It only takes into consideration the execution of a single program.


Discussion

No Comment Found