Design a system for managing software packages on a computer

Assignment Help Computer Engineering
Reference no: EM131926569

Assignment

You are designing a system for managing software packages on a computer. To that end, you will have information about the available software packages, stored in the form of Prolog facts. The types of facts are as follows: package(package_2name) Package_name is the name of a package which is available on the system. depends(p1,p2) Indicates that package p1 depends on package p2 (meaning that p1 can only be installed if p2 is also installed). Any package may have multiple dependencies. You can and should make up your own facts to test your code, although be sure to keep the same format for the facts, because we can and will replace your facts with our own for testing. You may assume that there are no circular dependencies represented in the facts. Given the facts above, you are to provide predicates which will perform the following 5 tasks: valid_list(L) Returns true when every element in list L is the name of a package which is available on the system. unsatisfied_dependency(P,L) Returns true when P is a dependency of some member of L, but P is not a member of L itself. unsatisfied_dependency(L) Returns true when any member of L has an unsatisfied dependency. dependency_check(L) Returns true when L has no unsatisfied dependencies. ext_depends(P1,P2) Returns true when P1 depends on package P2, either directly or inderectly by some sequence of of dependencies.

Reference no: EM131926569

Questions Cloud

What is the value of the cash coverage ratio : A firm has sales of $4,840, costs of $2,640, interest paid of $179, and depreciation of $493. The tax rate is 34 percent.
What is the role of keratin in the skin : 1. What is the role of keratin in the skin? 2. What yeasts commonly cause opportunistic infections?
What will be the terms of the swap in given case : The manager of a newly organized corporation wants to hedge the company's market related risk for the next three years.
Breakdown of glycogen in the liver : Consider again the discussion of how epinephrine triggers the breakdown of glycogen in the liver, begun in Concept 11.1. For this pathway
Design a system for managing software packages on a computer : You are designing a system for managing software packages on a computer. To that end, you will have information about the available software packages.
Determine the project after-tax net present worth : A corporate expects to receive $36224 each year for 15 years if a particular project is undertaken. There will be an initial investment of $110383.
Economic pressures faced by zoos-namely space : What are some of the economic pressures faced by zoos-namely space, capacity, and resources-that can affect their conservation efforts?
What is the projected long-term growth rate of the dividends : ABC pays consistent dividends that grow at a constant rate. ABC is expected to pay a dividend one year from now of $1.24 and the current price of the stock.
What is the npv of buying the machine : The machine is expected to increase revenues minus expenses by $55,000 per year. What is the NPV of buying the machine?

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd