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
Q. Describe the Types of Structure Charts? Transaction structure it control module calls subordinate modules each of which handles a particular transaction Many afferent

Question: (a) Show two main approaches to identify risk in a project. (b) John finds that IOE recovers some overheads as oncosts on direct staff costs although others are

Evolutionary prototyping: Evolutionary Prototyping (also called as breadboard prototyping) is quite dissimilar from Throwaway Prototyping. The main goal when using Evolutionary Pr

What is function point? Function point is the size of measure it is also used to calculate approximately the software cost. Function point (FP)=Function Count (FC) * Value a

What are the different types of Cohesion? i. Coincidentally cohesive -The modules in which the set of tasks are related with each other loosely then such modules are called as

What is recovery testing? Recovery testing is a system test that forces the software to fail in a various of ways and verifies that recovery is properly done.

What is the difference between Print Preview and Layout Preview? Print Preview and Layout Preview When a report is observed in Print preview, it appears almost exactly as it

Q. Explain about Total Quality Management? TQM is a part of management practices throughout the organization, geared to make sure the organization consistently exceeds or meets

QUESTION (a) Explain why making some replica managers read-only may improve the performance of a gossip system. (b) In the gossip architecture, why does a replica manager ne

What is boundary data- Test data Extreme/boundary data -  This is data at the limits of validity/acceptability (for instance, if a date is being input, two values at the