What are Useful Abstractions

Useful Abstractions: We discuss here several useful data abstractions for integer domains. Abstractions for other numeric domains can be defined similarly.

A) A Range abstraction tracks concrete values between lower and upper bounds l and u and abstracts away the rest of the values. The abstract domain is {below_l, l, …, u, above_u}.

B) The Signs abstraction is a special case of the Range abstraction where l=u=0.

C) A Set abstraction can be used instead of a Range abstraction when only equality operations are performed, as when integers are used to simulate an enumerated type. For example, a Set abstraction that tracks only the concrete values 0 and 2 will have the abstract domain {zero, two, other}.

D) A Modulo abstraction merges all integers that have the same remainder when divided by a given value.

E) The EvenOdd abstraction with abstract domain {even, odd} is a Modulo 2 abstraction.

F) Finally, the Point abstraction collapses all integer values into an abstract value unknown. This abstraction is effectively throwing away all the information about a variable, and it is useful when abstracting variables that have no significant effect on the property under analysis.

   Related Questions in Science

  • Q : Describe Data Independence Data

    Data Independence: A system is data independent if the values of the infinite program data it manipulates are not relevant to the behavior of the system—for example, a protocol that transmits messages may be proved correct regardless of the cont

  • Q : Access of kernel objects structures

    Normal 0 false false

  • Q : Test-Related Code Annotation and

    Test-Related Code Annotation and Runtime System: As useful as test systems like JUnit are, test cases do require a significant amount of work to create and maintain, especially since they are implemented outside of the SUT sources, and need to be kept

  • Q : Programming to make updates Normal 0

    Normal 0 false false

  • Q : RTOS memory problem Normal 0 false

    Normal 0 false false

  • Q : Characteristics of Electronic

    What are the Characteristics of Electronic Communications? Explain briefly.

  • Q : Define SYSVOL folder SYSVOL folder :

    SYSVOL folder: The SYSVOL folder on a Windows domain controller is employed to replicate file-based data among the domain controllers. Since junctions are employed within the SYSVOL folder structure, Windows NT file system (that is, NTFS) version 5.0

  • Q : What is Domino theory Domino theory:

    Domino theory: The reason for war during 1950s to 1980s started by US, that kept a look on states coming under the influence of communism. In any case some country came under communism influence then all other countries surrounding it would follow the

  • Q : Bearer types for WAP What bearer types

    What bearer types are utilized for WAP in GSM? In GSM, WAP can be run over the Short Message Service (SMS) or by means of Circuit Switched Data (CSD). The latter provides much greater bandwidth.   

  • Q : How come code Normal 0 false false

    Normal 0 false false

©TutorsGlobe All rights reserved 2022-2023.