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
Develop a domain model for the Case Study. Express your model with a class diagram, showing any inheritance and compositional relationships. For each of the two selected most es

Q. Describe about Unit Testing? Unit Testing: The unit testing is completed to test the individual module of the software. Test cases are designed to test the program functiona

Define about the Integration testing - This test is performed to verify interfaces between system components, interactions between application and file system, hardware and ot

Determine the Higher order programming languages Higher order programming languages such as COBOL and PASCAL came into existence. Use of these made programming much easier. In

Problem: (a) Briefly explain the requirement capture methods. (c) Using examples, write short notes on the following: i) Aggregation ii) Composition iii) Generalisation

You are to create a decision table to help you decide what to do for the day. If it is a weekday and it is not a holiday, then you go to work. However, if it is a weekday and it

Q. Explain the software life cycle model that incorporates risk factor. Ans. The problem with traditional software process models is that they don't deal sufficiently with th

Software for Searching Online Retrieval Systems : Each of the major online systems has its own software which supports its activities oil a host computer. Many of these hosts h

What is Control Chart? Ans) A statistical method for distinguishing among common and special cause variation exhibited by processes.

A group process that takes large quantity of language data, like as a list developed by brainstorming, and separates it into categories.