Computer Science: An Overview (13th Edition) (What's New in Computer Science)
13th Edition
ISBN: 9780134875460
Author: Glenn Brookshear, Dennis Brylow
Publisher: PEARSON
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 11, Problem 33CRP
Program Plan Intro
Heuristic search:
Heuristic search method is a method of search in which goal is achieved by searching the heuristic value. The heuristic value may be based on a heuristic function. The node with highest heuristic value is chosen first as compared to other nodes which have a lower heuristic value.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
The language must be in python.
Neural Network Units
two training examples:Example 1: [0.9, 10.0, 3.1, 1]Example 2: [0.9, 2.1, 3.7, 1]
Note that you don't have to explicitly include a threshold or bias since the examples include a last element of 1 which means that the last weight effectively operates as a threshold.
Create a single ReLU unit and provide the outputs for those examples.
Calculate the derivative of the ReLU with respect to net input for both examples
The language for coding must be in python
Neural Network Units
Implement a single sigmoid neural network unit with weights of [-1.2, -1.1, 3.3, -2.1]
Calculate the outputs for two training examples:Example 1: [0.9, 10.0, 3.1, 1]Example 2: [0.9, 2.1, 3.7, 1]
Note that you don't have to explicitly include a threshold or bias since the examples include a last element of 1 which means that the last weight effectively operates as a threshold.
Assuming that a sigmoid unit response >0.5 denotes a positive class and <0.5 is negative class, is example 1 positive or negative? is example 2 positive or negative?
Create a single ReLU unit and provide the outputs for those examples.
Calculate the derivative of the sigmoid with respect to net input for both examples
Calculate the derivative of the ReLU with respect to net input for both examples
1. Consider the following algorithm which when fed with another algorithm and an input, tells if the program halts:Simulate the first step of the algorithm given.If the program halts, return Yes, the algorithm halts and terminate.If it does not halt (as of yet), capture a snapshot of the simulation.Compare the snapshot with the previous snapshots. If it is the same as one of the snapshots previously taken, return No, the algorithm does not halt and terminate.Simulate the next step.Go to 2.Now which of the following statements is true? Expound your answer.
A. The construction is correct; The halting problem is only undecidable for computers with infinite memory
B. The construction is wrong; Snapshots of a simulation cannot be captured by a computer program
C. The construction is wrong; The simulation might run into a previously encountered snapshot but still halt.
D. The construction is correct; It solves the halting problem in general for any computer
E. The construction is wrong; The…
Chapter 11 Solutions
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
Ch. 11.1 - Prob. 1QECh. 11.1 - Prob. 2QECh. 11.1 - Prob. 3QECh. 11.1 - Prob. 4QECh. 11.1 - Prob. 5QECh. 11.2 - Prob. 1QECh. 11.2 - Prob. 2QECh. 11.2 - Prob. 3QECh. 11.2 - Prob. 4QECh. 11.2 - Identify the ambiguities involved in translating...
Ch. 11.2 - Prob. 6QECh. 11.2 - Prob. 7QECh. 11.3 - Prob. 1QECh. 11.3 - Prob. 2QECh. 11.3 - Prob. 3QECh. 11.3 - Prob. 4QECh. 11.3 - Prob. 5QECh. 11.3 - Prob. 6QECh. 11.3 - Prob. 7QECh. 11.3 - Prob. 8QECh. 11.3 - Prob. 9QECh. 11.4 - Prob. 1QECh. 11.4 - Prob. 2QECh. 11.4 - Prob. 3QECh. 11.4 - Prob. 4QECh. 11.4 - Prob. 5QECh. 11.5 - Prob. 1QECh. 11.5 - Prob. 2QECh. 11.5 - Prob. 3QECh. 11.6 - Prob. 1QECh. 11.6 - Prob. 2QECh. 11.6 - Prob. 3QECh. 11.7 - Prob. 1QECh. 11.7 - Prob. 2QECh. 11.7 - Prob. 3QECh. 11 - Prob. 1CRPCh. 11 - Prob. 2CRPCh. 11 - Identify each of the following responses as being...Ch. 11 - Prob. 4CRPCh. 11 - Prob. 5CRPCh. 11 - Prob. 6CRPCh. 11 - Which of the following activities do you expect to...Ch. 11 - Prob. 8CRPCh. 11 - Prob. 9CRPCh. 11 - Prob. 10CRPCh. 11 - Prob. 11CRPCh. 11 - Prob. 12CRPCh. 11 - Prob. 13CRPCh. 11 - Prob. 14CRPCh. 11 - Prob. 15CRPCh. 11 - Prob. 16CRPCh. 11 - Prob. 17CRPCh. 11 - Prob. 18CRPCh. 11 - Give an example in which the closed-world...Ch. 11 - Prob. 20CRPCh. 11 - Prob. 21CRPCh. 11 - Prob. 22CRPCh. 11 - Prob. 23CRPCh. 11 - Prob. 24CRPCh. 11 - Prob. 25CRPCh. 11 - Prob. 26CRPCh. 11 - Prob. 27CRPCh. 11 - Prob. 28CRPCh. 11 - Prob. 29CRPCh. 11 - Prob. 30CRPCh. 11 - Prob. 31CRPCh. 11 - Prob. 32CRPCh. 11 - Prob. 33CRPCh. 11 - What heuristic do you use when searching for a...Ch. 11 - Prob. 35CRPCh. 11 - Prob. 36CRPCh. 11 - Prob. 37CRPCh. 11 - Prob. 38CRPCh. 11 - Suppose your job is to supervise the loading of...Ch. 11 - Prob. 40CRPCh. 11 - Prob. 41CRPCh. 11 - Prob. 42CRPCh. 11 - Prob. 43CRPCh. 11 - Prob. 44CRPCh. 11 - Prob. 45CRPCh. 11 - Draw a diagram similar to Figure 11.5 representing...Ch. 11 - Prob. 47CRPCh. 11 - Prob. 48CRPCh. 11 - Prob. 49CRPCh. 11 - Prob. 50CRPCh. 11 - Prob. 51CRPCh. 11 - Prob. 52CRPCh. 11 - Prob. 53CRPCh. 11 - Prob. 54CRPCh. 11 - Prob. 1SICh. 11 - Prob. 2SICh. 11 - Prob. 3SICh. 11 - Prob. 4SICh. 11 - Prob. 5SICh. 11 - Prob. 6SICh. 11 - Prob. 7SICh. 11 - Prob. 8SICh. 11 - Prob. 9SICh. 11 - Prob. 10SICh. 11 - Prob. 11SICh. 11 - Prob. 12SICh. 11 - A GPS in an automobile provides a friendly voice...Ch. 11 - Prob. 14SI
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- In a simulation study on cyber attacks, the researcher is interested to investigate on whether the attack(s) are successfully performed. Let A define the event that an attacker has successfully performed the attack. Let A’ denote the complement of event A. Define A’ in words.arrow_forwardConsider two cooperating processes P5 and P6. Suppose that, at any time, P6 want toenter its critical section. Write an algorithm using Peterson’s solution which shows thatP6 can finally enter into its criticalsection. Consider the turn value for P5 to be 10 andP6 to be 12.arrow_forwardSuppose a train was supposed to start at station A, pause at stationsB, C, D, ... , Y, and finish at station Z. However, it did not arrive at Z. Suppose in yourfactory the piece of equipment or process labeled A makes part B work, which in turnmakes C, D, ... , and Z work. However, Z is not working. You want to find out why.What algorithm do you use? Think of other applications of this technique.arrow_forward
- Figure 4 shows a program that tries to solve the dining philosophers' problem given that itonly includes 3 philosophers who want to eat, where only 3 forks are available and eachphilosopher needs two forks. The outputs after running the program are given .In the outputs, it seems that the program never finishes executing; thus, (a) explain the reasons why it never finishesarrow_forwardTwo layers neural networks consist of 3 input neurons and one output neuron. The input vector is (x1, x2, x3) where x3 is always =1.0. x1, x2 and the desired output d are given by the table below. When using the initial weight vector w = (1.0, 1.0, -3.0) there was an error as shown in the figure. The equation for the decision boundary was: x1*1 + x2*1 - 1*3=0. , (i.e. net = x1*w1+x2*w2+x3*w3), f(net) is the sign of net What are the new values of the vector w after the first input (1,1,1), note that input x3 is always 1.0? What are the new values of the vector w after the second input (9.4, 6.4, 1.0)? Suggest a vector w such that the total error is ZERO for the 10 points.arrow_forwardIs it conceivable, via the use of a variety of strategies, that the overhead caused by NPT might be reduced?arrow_forward
- Write a form algorithm for the following problem with Condition 1 using Round Model, where a round consists of three actions: look, process, move (from location (x,y) to location (x’, y’)): Distributed system of n kids n kids are playing in a ground. How can they form a circle when their teacher asks them to do? Condition 1: Each kid can see all other kids. Condition 2: Each kid can see some kids.arrow_forwardCorrect answer will be upvoted else downvoted. Computer science. in case there are two planes and a molecule is shot with rot age 3 (towards the right), the cycle is as per the following: (here, D(x) alludes to a solitary molecule with rot age x) the primary plane delivers a D(2) to the left and lets D(3) progress forward to the right; the subsequent plane delivers a D(2) to the left and lets D(3) progress forward to the right; the primary plane lets D(2) forge ahead to the left and creates a D(1) to the right; the subsequent plane lets D(1) progress forward to one side (D(1) can't create any duplicates). Altogether, the last multiset S of particles is {D(3),D(2),D(2),D(1)}. (See notes for visual clarification of this experiment.) Gaurang can't adapt up to the intricacy of the present circumstance when the number of planes is excessively huge. Help Gaurang find the size of the multiset S, given n and k. Since the size of the multiset can be extremely huge, you…arrow_forwardSuppose we have a group of proposed talks with preset start and end times. Students of CSE340 were asked to design an algorithm to schedule as many of these talks as possible in a lecture hall, under the assumptions that once a talk starts, it continues until it ends, no two talks can proceed at the same time, and a talk can begin at the same time another one ends. Assume that talk j begins at time sj (where s stands for start) and ends at time ej (where e stands for end). One student proposed the algorithm shown in Algorithm 1 on the next page, which simply adds talks in order of earliest start time (smallest sj ). (a) Prove, using a counter example, that the proposed algorithm does not always produce an optimal schedule (i.e., a schedule with most possible talks). (b) Another student proposed adding talks in order of shortest duration (ej - sj ). Prove, using a counter example, that even with this new criteria, the algorithm does not always produce an optimal schedule.arrow_forward
- By using neural network algorithm solve the XOR problem. Where X1 and X2 are inputs Y is the output. Learning rate is 0.5. Threshold is 1 if weighted sum >= 0.5 otherwise 0 and weights w1 and w2 = 0.9 Add 17 with learning rate and w1, w2 before start solving the question. X1 X2 Y 0 0 0 0 1 1 1 0 1 1 1 0arrow_forwardComputer Science You are told that state machine A has one input x, and one output y, both with type {1, 2}, and that it has states {a, b, c, d}. You are told nothing further. Do you have enough information to construct a state machine B that simulates A? If so, give such a state machine, and the simulation relation.arrow_forwardA robot moves into rooms R1 and R2 and switch the bulbs B1 and B2 on/off. The following are the action schema:1. goto(r, x1, x2) : robot r go to x2 from x12. switchON(s): switchON the bulb s3. switchOFF(s): switchOFF the bulb s 1. Write down preconditions and effects of the above actions. 2. Consider the following: (i) Initial state: < R1;R2;B1;B2 >: Robot is at Room R1 not in Room R2 and both bulbs are off.(ii) Goal state: < R2;B1;B2 >: Robot is at Room R2 and both bulbs are ON.Draw state space diagram for the above by drawing to all possible states.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education