Prolog, Software Engineering

package(''python'', ''2.6.5'').
package(''python'', ''2.5.4'').
package(''python'', ''1.5.2'').
package(''python'', ''3.1.0'').
and I already have these functions that provide me:

?- split_version(''2.13.17'', List).
List = [''2'', ''13'', ''17''].

integer_list([''2'', ''13'', ''17''], IntList).
IntList = [2, 13, 17].

?- cmp_list([2,3,4], [2,3,5], C).
C = lt ;
C = le .
I have to write a code to satisfy this function:

satisfies_req(''python'', ''3'', le, V).
V = ''2.6.5'' ;
V = ''2.5.4'' ;
V = ''1.5.2'' .
Posted Date: 7/30/2012 11:41:50 PM | Location : United States







Related Discussions:- Prolog, Assignment Help, Ask Question on Prolog, Get Answer, Expert's Help, Prolog Discussions

Write discussion on Prolog
Your posts are moderated
Related Questions
What is meant by Information flow Continuity? When we refine a fundamental model for a system, the information flow continuity should be maintained .ie, input & output to each

Define System Modeling? Explain the processes that serve requirements of the view under consideration. Shows the behaviour of the processes and the assumptions on which t

What is the use of knowledge of risk acceptance to engineers?  The past experience and historical data give better information about safety of products designing there are stil

Differentiate between testing and QA. - Quality Assurance is more a preventive thing, which ensures quality in company and hence the product instead of just testing the product

Q. Illustrate the Features of function count? Features:- Function point goes forward is independent of the language tools or methodologies used for implementation.

A computer program is "user friendly", when it is designed with simple of use, as one of the primary purposes of its design.

Q. What are basic Key process areas in CMM? Ans) Key Process Areas (KPAs) adds the areas an organization could focus to improve its software process to the next level. Except f

What is Data Binding?    The matrix that attempts to capture the module-level concept of coupling is data binding. Data binding are a calculate that captures the data interacti


The aim of regression testing is to test that the fixes have not formed any other problems elsewhere. The aim is to ensure the software has remained intact. A baseline set of data