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 are the roles of glass-box and black-box testing tools? Glass Box (or white box) testing is the method of giving i/p to the system and checking how the system processes i/

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

What are the benefits of smoke testing? Integration risk is decreased. The quality of the end-product is getting better. Error diagnosis and correction are simplified. Assessme

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

Q. Presume a program will experience a total of 200 failures. Preliminary failure intensity is 16 failure/ CPU hr. It has currently experienced 50 failures. Determine the following

Question: (a) (i) Define the following terms briefly: COCOMO, DSI, FSP, MM, ACT, TDEV, (MM)AM. (ii) State the assumptions underlying the Basic COCOMO model. (b) Suppos

Explain Inspection? Ans) An inspection is more formalized than a 'walkthrough', typically with 3-8 people containing a moderator, reader, and a recorder to take notes. The subje

Explain fan out and fan in with example.

Give detail discussion about Black box testing. Black box or behavioural testing emphasis on the functional needs of the software. It is used during the last stage of tes

What are the tools are mainly used for information gathering 1.  Record review: A review of recorded documents of organisation is performed.Manuals procedures, forms and book