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
Aim to follow the weekly schedule - some time in each tutorial class will be devoted to working in your teams of two under the guidance of your tutor on this project.  However, te

Handling customer complaints There are always some customers who complain after completing the sales. Like customer objections, don't take complaints negatively. Other than

Advantage of microcomputer software packages: i)  compilation and maintenance of reference and fact files;  ii)  compilation of current and retrospective bibliographies

Define the types of Requirements management Requirements management comprises the below processes: 1. Identifying controls and tracking requirements. 2. Checking complete

Q. Differentiate between failures and faults? Ans. Failure: -Failure is the disappearance of external results of program operation from requirements. Consequently failure is

Core dumps Core dumps are a debugging method. A printout of all relevant memory locations is obtained and studied. All dumps should be well documented and retained for possible

What is meant by software prototyping? Software prototyping is a process of creating a model for the software product. This is developed based on the currently known requiremen

Give a complete example that how to tackle with it.

Software Engineering 1. What is the impact of "information era"? 2. Illustrate whether the linear sequential model of the software process is an accurate reflection of softw

Define Software design. Software design is an iterative process by requirements are translated into a "blue print" for constructing the software. The blue print dep