StudentShare
Contact Us
Sign In / Sign Up for FREE
Search
Go to advanced search...
Free

Logics in Computer Science - Essay Example

Cite this document
Summary
Aspirin aggravates peptic ulcer, so that tree is not possible. The next option is alcohol for pain and that is possible. Second, he also complains of diarrhoea and does not have impaired liver function, so…
Download full paper File format: .doc, available for editing
GRAB THE BEST PAPER93.4% of users find it useful
Logics in Computer Science
Read Text Preview

Extract of sample "Logics in Computer Science"

Logics in Computer Science Question Backward Chaining Method Final target is Peter X 2. Mary Y 3. Frank Z Where X, Y and Z are the variables for the medicine administered. Step 1: X, Y and Z should suppress pain and / or Diarrhoea. Aspirin / alcohol and lomotil need to be administered to all the three. Step 2: X cannot aggravate peptic ulcer. This rules out aspirin. Therefore, Peter is administered alcohol for pain and lomotil for Diarrhoea. Y cannot impair lever-function. This rules out lomotil. Therefore, Mary is administered either aspirin or alcohol. Z cannot aggravate eczema. None of the medicines under consideration do that. Therefore, Frank can be administered any of the two pain killers and lomotil. 1. recommended (Peter, alcohol+lomotil) 2. recommended(Mary, aspirin) – there is no solution for diarrhoea. 3. recommended (Frank, aspirin+lomotil) Depth-first search strategy For Peter, he complains of pain and expands down the tree to aspirin. Aspirin aggravates peptic ulcer, so that tree is not possible. The next option is alcohol for pain and that is possible. Second, he also complains of diarrhoea and does not have impaired liver function, so lomotil is administered. Recommended(peter, alcohol+lomotil). Similarly, for Mary: recommended(mary, aspirin) – no medicine for diarrhoea. For Frank: recommended(frank, aspirin+lomotil). Question 2: Logic program Civil(x) not barbarians(y), educated(not drunk); Europeans(x,y)civil(x)V barbarians(y); Barbarians(x) football_supporters(x) unless educated(not drunk); Question 3 Situational Calculus The initial situation owns(X,Obj) V marbles(Y,R)  S0 do(Sells(X, Obj, Y, P), S0)  location(owns(Y, Obj), marbles(X, Q)); where Q>=P and R>=P; Read More
Cite this document
  • APA
  • MLA
  • CHICAGO
(“Logics in Computer Science Essay Example | Topics and Well Written Essays - 1000 words - 1”, n.d.)
Logics in Computer Science Essay Example | Topics and Well Written Essays - 1000 words - 1. Retrieved from https://studentshare.org/information-technology/1538629-logics-in-computer-science
(Logics in Computer Science Essay Example | Topics and Well Written Essays - 1000 Words - 1)
Logics in Computer Science Essay Example | Topics and Well Written Essays - 1000 Words - 1. https://studentshare.org/information-technology/1538629-logics-in-computer-science.
“Logics in Computer Science Essay Example | Topics and Well Written Essays - 1000 Words - 1”, n.d. https://studentshare.org/information-technology/1538629-logics-in-computer-science.
  • Cited: 0 times

CHECK THESE SAMPLES OF Logics in Computer Science

Narrow versus Wide Mechanism by Copeland and Bounded Rationality in Social Science by Simon

The review "Narrow versus Wide Mechanism by Copeland and Bounded Rationality in Social science by Simon" discusses the mind-machine connection, the mind in mechanism terms, comparing it with computers, human rationality and methods of social sciences to explain unpredictability in decision-making.... Simon in his paper entitled, Bounded Rationality in Social science: Today and Tomorrow (Simon, 2000).... - The creation of the computer was to make a machine capable of doing the computing work of hundreds to thousands of humans at the same time, proving the notion that similar to humans following a specific set of guidelines, logical computing machines when programmed with the appropriate procedures to do can also do anything that is within the set of instructions, making the process mechanical in nature (Copeland, 2000, pp....
9 Pages (2250 words) Literature review

Computer Architecture

There have been notable milestones covered in computer architecture thanks to contributions of the likes of Jon Von Neumann.... It shall summarize the use of Boolean operators in computer-based calculations.... The control unit help execute coded instructions saved in computer memory.... The use of Boolean operators in computer-based calculations Boolean operators can be used in the... computer Architecture Author Institution computer Architecture computer as we know it today has had quite a history....
4 Pages (1000 words) Essay

History of Computing

hellip; Chomsky's significance to computer science is anchored on his theory of the “transformational generative grammar” as a universal model that can be applied universally to all human languages.... computer scientists find this theory invaluable in solving many computing problems particularly in the computer's interaction with its human users....
5 Pages (1250 words) Essay

Career Profile - Computer Programmer

Adams observes that as the world advances into more digital engagements, courses such as computer science, programming and engineering would be lucrative in the near future.... The writer of the essay "Career Profile - computer Programmer" suggests that computer programming is an intriguing field to those with an interest in it.... hellip; Who in the modern world would survive without knowledge of a computer and its applications?...
4 Pages (1000 words) Essay

The Ambiguity of the Notion of Knowledge

“Some people do not take into account that the real development of science takes place particularly in interdisciplinary fields” (Morton).... None of the local science is able to solve a problem and more of that it is not able to realize a serious issue, which is always multifold, integrated and requires a systematic approach.... Culture is the complex of science, arts, ethics, law, religion and mass communication.... Both reason and imagination are represented in different fields such as arts, science, social psychology, ethics, law, education, mass communication, religion....
6 Pages (1500 words) Essay

Graph Theory in Computer Science

The paper 'Graph Theory in computer science' presents graph theory which is an essential part of computer science.... The significance of graph theory in computer science is remarked by Dr.... Thinking about the applications of graph theory in computer science, the first point that comes to mind is that "the World Wide Web can be modeled as a directed graph where each node is a Web page and each hyperlink is an edge or line.... The Internet is a similar, large graph, and if you want to isolate certain cyber attacks or something, you can do it using graph theory" (Deo) Due to the importance of graph theory in computer science, computer scientists have developed many interesting and deep graph algorithms....
8 Pages (2000 words) Assignment

The Gradual Transformation of Computers and the Technical Aspect of the Development

Though the absolute basic engineering logic remained the same invention of super potent microchips changed the entire rulebook of the computer manufacturer.... The paper describes the product metamorphosed – almost from a caterpillar to a butterfly – purely as a response to consumer demands....
11 Pages (2750 words) Research Paper

The Essential Topics in Computer Science and Information Theory

The paper "The Essential Topics in computer science and Information Theory" analyzes the use of a computer.... This report gives a brief technical overview of data compression and its need in the computer world, the compression techniques of lossless and lossy compression discussing one technique of each; Huffman coding (lossless compression) and JPEG image compression (lossy compression).... s mentioned previously, owing to the resource limitations (space, computational, bandwidth, and transfer time), the data that is shared on the Internet/Intranet or archived in a computer or storage discs need to be reduced in size (Salomon, 2007)....
6 Pages (1500 words) Essay
sponsored ads
We use cookies to create the best experience for you. Keep on browsing if you are OK with that, or find out how to manage cookies.
Contact Us