Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 13-04-2009
Member
 
Join Date: Feb 2009
Posts: 64
What is Program Slicing ?

What do you mean by program slicing ? Does anybody have an information regarding this....... then please provide your ideas

thanks
Reply With Quote
  #2  
Old 13-04-2009
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: What is Program Slicing ?

In computer programming, program slicing is the computation of a program slice. The program slice consists of the parts of a program that may affect the values computed at some point of interest, referred to as a slicing criterion. Program slicing can be used in debugging to locate source of errors more easily. Other applications of slicing include software maintenance, optimization, program analysis, and information flow control.
Reply With Quote
  #3  
Old 13-04-2009
Member
 
Join Date: May 2008
Posts: 2,008
Re: What is Program Slicing ?

Program Slicing

In software applications, program slicing is a method of identifying the core elements of a software program and gently extracting them from the more complicated code that allows the program to function.

The process of program slicing is especially important to software engineering efforts, as it allows the software engineer to find the way through complicated strings of code in order to access the source code that actually drives the application. Being able to extract these subprograms and view the source code makes it possible to identify a wide range of potential bugs and thus make the software run with more efficiency.

There are two basic approaches or dimensions to program slicing -
  1. Static Slicing
  2. Dynamic Slicing
Reply With Quote
  #4  
Old 13-04-2009
Member
 
Join Date: Apr 2008
Posts: 2,001
Re: What is Program Slicing ?

Program slicing is a method used by experienced computer programmers for abstracting from programs.
Starting from a subset of a program's behavior, slicing reduces that program to a minimal form which still produces that behavior.
The reduced program, called a “slice”, is an independent program guaranteed to faithfully represent the original program within the domain of the specified subset of behavior. Finding a slice is in general unsolvable.
A dataflow algorithm is presented for approximating slices when the behavior subset is specified as the values of a set of variables at a statement. Experimental evidence is presented that these slices are used by programmers during debugging. Experience with two automatic slicing tools is summarized.
New measures of program complexity are suggested based on the organization of a program's slices.
Reply With Quote
  #5  
Old 13-04-2009
Member
 
Join Date: May 2008
Posts: 2,293
Re: What is Program Slicing ?

Definition - Program slicing is a technique for simplifying programs by focusing on selected aspects of semantics.

Purpose/Objective -
The process of slicing deletes those parts of the program which can be determined to have no effect upon the semantics of interest.

Application - Slicing has applications in testing and debugging, re-engineering, program comprehension and software measurement.

For example, in debugging, there is little point in the (human) debugger analysing sections of the source code which cannot have caused the bug. Slicing avoids this by removing these parts of the program, focusing attention on those parts of the program which may contain a fault.

Dimension - There are two dimensions to slicing -
  1. a semantic dimension
  2. a syntactic dimension

In semantic dimension, there are three approaches -
  • Static dimension
  • Dynamic dimension
  • Conditioned dimension

In syntactic dimension, there are two approaches -
  • syntax-preserving
  • amorphous
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags:



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What is Program Slicing ?"
Thread Thread Starter Forum Replies Last Post
?This program is using by another program? error message in windows 7 SchuRacer Operating Systems 3 28-01-2011 01:57 PM
Windows DEP program continuously closes the MSN mail program Charioteer Windows Software 4 19-10-2010 11:52 AM
what is object slicing in c++? Madaleno Software Development 5 28-11-2009 06:59 PM
Running a program under WOW64 on a program X64 Pratyush Software Development 2 08-04-2009 09:51 PM
End Program ccSvcHst Program not responding Leena Operating Systems 6 29-08-2008 01:58 PM


All times are GMT +5.5. The time now is 04:22 AM.