Why we need each section of prologprogram?

Answers

Answer 1
Answer:

Answer:

Prolog program are used in the artificial intelligence and the web development in a systematic manner process. As, it is also sometimes known as declarative language which basically consist of some facts and list. Prolog program are divided into the sections that are:

  • Domain sections
  • Clauses sections
  • Predicates sections
  • Goal sections

We need each section of the prolog program because all the sections introduced the systematic program and performed there particular functions so by using all these processing steps an efficient function are formed.


Related Questions

Describe how the presence or absence of balance can affect a visitor’s perceptions of a Web page.
For selection purposes, it is critical that application items have a proven relationship between a selection device and some relevant criterion. This is called
My friend Leo wants to have an emergency plan for his final exams on University of Southern Algorithmville. He has N subjects to prepare for, and for each subject, his score is determined only by the time he spend on learning. It's not surprising that Leo found out he actually spent zero time on preparing before. At least he knows when he can start learning all of these subjects. For each subject i, there is a start time, si when he can get all materials ready to start learning. And there is also a ending time ei for each subject, when his learning materials expire and he can't learn anymore. We know that si and ei are integers, and Leo can only dedicate to a single subject within each time phase. Universtiy of Southern Algorithmville (USA), a student's total grade is the minimum grade among all subjects. Leo wants you to help him find out the best outcome. Given N subjects and their time intervals (si; ei ), design an algorithm to find out the maximum time possible for the least prepared subject. Prove the correctness of your algorithm. (Hint: It's not enough to use the network ow algorithm alone to determine the answer.)
Give the one simple program using c++programming language​
Repeat Programming Project 5 but in addition ask the user if he or she is a. Sedentary b. Somewhat active (exercise occasionally) c. Active (exercise 3–4 days per week) d. Highly active (exercise every day) If the user answers "Sedentary," then increase the calculated BMR by 20 percent. If the user answers "Somewhat active," then increase the calculated BMR by 30 percent. If the user answers "Active," then increase the calculated BMR by 40 percent. Finally, if the user answers "Highly active," then increase the calculated BMR by 50 percent. Output the number of chocolate bars based on the new BMR value.

What are keyboards that include all the keys found on a typical virtual keyboard, as well as extra keys, such as function and navigation keys

Answers

The keyboards that include all the keys found on a typical virtual keyboard including function and navigation keys are called;

Laptops

  • A virtual keyboard is one that appears only when we require it and then goes away after we are done using it. Due to the nature of them, they occupy a small space. Examples of these virtual keyboards are the keyboards in touch screen mobile phones as well as tablets. Also, there are some computer operating systems that support virtual keyboards such as Windows 10.

  • Now, it is pertinent to know that virtual keyboards don'trequire physical keys to operate and also they don't possess the function and navigation keys that traditional keyboards have.

  • The only other unit that has a keyboard that possesses the function and navigation keys are Laptops.

Read more at; https://brainly.in/question/11722276

Answer:

multimedia keyboard i think

Explanation:

Which of the following statements is true of recombinant batteries? A. They recombine oxygen.
B. They're able to produce a higher voltage.
C. They're vented to release gassing.
D. They recombine sulfuric acid.

Answers

I’d go for (A) as the right choice.

The basic principles of Oxygen-recombination chemistry hasbeen combined to traditional lead batteries technology to produceValve-regulated lead-acid battery (VRLA), also called recombinant batteries. The applicationof oxygen cycle to VRLA, at first, is much more difficult. However, if correctprinciples are followed, it becomes easy.

Write an if-else statement with multiple branches. If givenYear is 2101 or greater, print "Distant future" (without quotes). Else, if givenYear is 2001 or greater (2001-2100), print "21st century".

Answers

Answer:

import java.util.Scanner;

public class num9 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter year");

       int givenYear =in.nextInt();

       if(givenYear>=2101){

           System.out.println("Distant Future");

       }

       else if(givenYear>=2001){

           System.out.println("21st Century");

       }

   }

}

Explanation:

  • Using Java programming Language
  • Import Scanner class to receive user input of the variable givenYear
  • Use if statement to check the first condition if(givenYear>=2101)
  • Use else if statement to check the second condition if(givenYear>=2001)
  • print Distant future and 21st century respectively

What is the speedup of going from a 1-issue processor to a 2-issue processor? use your code from part a for both 1-issue and 2-issue, and assume that 1,000,000 iterations of the loop are executed. as in part b, assume that the processor has perfect branch predictions, and that a 2-issue processor can fetch any two instructions in the same cycle?

Answers

I think it is sped up by around 0.6 GHz

What is the analysis and complexity of a shell sortalgorithms?

Answers

Answer: The shell sort is based on insertion sort. Here the list of elements are divided into smaller sub list which are sorted based on insertion sort.

Its best case time complexity is O(n* logn) and worst case is O(n* log^2 n)

Explanation:

Shell sort is an inplace sorting here we begin by dividing the list into sublist and sorting the list with insertion sort. We create interval for dividing the list into sub list until we reach the smallest interval of 1.

The best case is O(n* logn).

What game is this? help mee?

Answers

Answer:

nooooooo

Explanation: