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
CMM = 'Capability Maturity Model', now known as the CMMI ('Capability Maturity Model Integration'), developed by the SEI. It's a model of five levels of process 'maturity' that ver

Illustrate the Introduction to Flowcharts This mainly covers four areas: 1 Common flow chart symbols 2 Writing flowcharts to solve problems 3 Dry running of flowcharts

Enginnering the product Because of complexity involved in software development, engineering approach is being used in software design. Use of engineering approach in area of re

Behavioral Analysis Model The Behavioral analysis is an operational technique for all requirement analysis techniques. When a sensor event is recognized the software invokes


Q. Explain Information Flow index? Information Flow index Information flow metrics are practical to the components of a system design. For any component A We are able to defi

Define maintenance. Maintenance is explained as the process in which changes are executed by either modifying the existing system's architecture or by adding latest components

Define Black box testing Black box testing Black-box test design care for the system as a "black-box", so it doesn't explicitly use knowledge of the internal structure. It ta

Explain Length of code This is a measure of the size of a program. Usually, the larger the size of the code of a component, the more difficult and error-prone that component is

Question: (a) ‘Information Strategy involves the encompassing of an organisation's information requirements and information systems planning with its long-term objectives.' T