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
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

Configuration Management: Because of several reasons, software changes during its life cycle. As a result of the changes made, many versions of the software exist at one time.

What is the advantage of using prototype software development model instead of waterfall model? The waterfall model: This is the classic SDLC model, with a sequential and line

Determine the various levels of testing The following are various levels of testing: Large systems are built out of subsystems which are made up of modules, modules of funct

Explain the design steps of the transform mapping. Review the fundamental model. Review and refine the DFD for the software. Verify whether the DFD has the transf

Lines of code (LOC) is a software metric used to calculate the size of a software program by counting the number of lines in the text of the program's source code. LOC is typicall

Question 1 . What are the drawbacks of RAD Model Question 2 . Explain why reliability is more important than efficiency? Question 3 . What are the activities of funct


Write definition of state transition diagram? State transition diagram is mainly a collection of states and events. Due to the events the system has to change its state. It als

What are repositories used by QTP to store object properties? QTP uses two kinds of repositories to store object properties. a.) Shared object repository: A global object