Categories
Algorithms & Data Structures

data will be provided in excel format. all instructions on what exactly needs to

data will be provided in excel format. all instructions on what exactly needs to be done step by step will also be provided. Tutor will need access to tableau. I am pretty sure there is a free trial to sign up for.

Categories
Algorithms & Data Structures

Do not copy/paste or type the text in your own text editor.cycle0.txt

Provided files:
Grading Criteria
Unix.zip – zipped folder with all data files. For convenience below are direct links to individual files. To download individual files, use right click and Save As. Do NOT copy/paste or type the text in your own text editor.cycle0.txt
data0.txt
data0_rev.txt
data1.txt – like data0.txt but the order of the prerequisite courses is modified on line 2.
slides.txt (graph image) – courses given in such a way that they produce the same graph as in the image. (The last digit in the course number is the same as the vertex corresponding to it in the drawn graph. You can also see this in the vertex-to-course name correspondence in the sample run for this file.)
run.html
data0_easy.txt – If you cannot handle the above file format, this is an easier file format that you can use, but there will be 15 points lost in this case. More details about this situation are given in Part 3.
Specifications:You can use structs, macros, typedef.
All the code must be in C (not C++, or any other language)
Code that does not compile receives 0 credit.
Global or static variables are NOT allowed. The exception is using macros to define constants for the size limits (e.g. instead of using 30 for the max course name size).
E.g. #define MAX_ARRAY_LENGTH 20
You can use static memory (on the frame stack) or dynamic memory. (Do not confuse static memory with static variables.)
The program must read from the user a filename. The filename (as given by the user) will include the extension, but NOT the path. E.g.: data0.txt
You can open and close the file however many times you want.
File format:Unix file. It will have the Unix EOL (end-of-line).
Size limits:The file name will be at most 30 characters.
A course name will be at most 30 characters
A line in the file will be at most 1000 characters.
The file ends with an empty new line. See empty line image
Each line (except for the empty line) has one or more course names.
Each course name is a single word (without any spaces). E.g. CSE1310 (with no space between CSE and 1310).
There is no empty space at the end of the line.
There is exactly one empty space between any two consecutive courses on the same line. (You do not need to worry about having tabs or more than one empty space between 2 courses.)
The first course name on each line is the course being described and the following courses are the prerequisites for it. E.g.CSE2315 CSE1310 MATH1426
ENGL1301
The first line describes course CSE2315 and it indicates that CSE2315 has 2 prerequisite courses, namely: CSE1310 and MATH1426.
The second line describes course ENG1301 and it indicates that ENG1301 has no prerequisites.
You can assume that there is exactly one line for every course, even for those that do not have prerequisites (see ENGL1301 above). Count the number of lines in the file to get the total number of courses.
The courses are not given in any specific order in the file.
You must create a directed graph corresponding to the data in the file.The graph will have as many vertices as different courses listed in the file.
You can represent the vertices and edges however you want.
You do NOT have to use a graph struct. If you can do all the work with just the 2D table (the adjacency matrix) that is fine. You HAVE TO implement the topological sorting covered in class (as this assignment is on Graphs), but you can organize, represent and store the data however you want.
For the edges, you can use either the adjacency matrix representation or the adjacency list. If you use the adjacency list, keep the nodes in the list sorted in increasing order.
For each course that has prerequisites, there is an edge, from each prerequisite to that course. The direction of the edge indicates the dependency. The actual edge will be between the vertices in the graph corresponding to these courses.
E.g. file data0.txt has:c100
c300 c200 c100
c200 c100
Meaning:c100—–> c200
|
|
|
|
|
|
V V
c300
(The above drawing is provided here to give a picture of how the data in the file should be interpreted and the graph that represents this data.
Your program should not print this drawing. See the sample run for expected program output.)
From this data you should create the correspondence:vertex 0 – c100
vertex 1 – c300
vertex 2 – c200
and you can represent the graph using adjacency matrix (the row and column indexes are provided for convenience): | 0 1 2
—————–
0| 0 1 1
1| 0 0 0
2| 0 1 0
e.g. E[0][1] is 1 because vertex 0 corresponds to c100 and vertex 1 corresponds to c300 and c300 has c100 as a prerequisite. Notice that E[1][0] is not 1.
If you use the adjacency list representation, print the adjacency list. The list must be sorted in increasing order (e.g. see the list for 0). It should show the corresponding node numbers. E.g. for the above example the adjacency list will be:0: 1, 2,
1:
2: 1,
You must use the correspondence given here: vertex 0 for the course on the first line, vertex 1 for the course on the second line, etc.Print the courses in topological sorted order. This should be done using the topological sorting covered in class, including the DFS covered in class.
There is no topological order if there is a cycle in the graph; in this case print an error message.
If in DFV-visit when looking at the (u,v) edge, the color of v is GRAY then there is a cycle in the graph (and therefore topological sorting is not possible). See the Lecture on topological sorting.
(6 points) create and submit 1 test file. It must cover a special case. Indicate what special case you are covering (e.g. no course has any prerequisite). At the top of the file indicate what makes it a special case. Save this file as special.txt. It should be in Unix EOL format.
Part 2: Suggestions for improvements (not for grade)
CSE Advisors point out to students the “longest path through the degree”. That is the longest chain of course prerequisites (e.g. CSE1310 —> CSE1320 –> CSE3318 –>…). It gives a lower bound on the number of semesters needed until graduation. Can you find this path? Can you calculate for each course the LONGEST chain ending with it? E.g. in the above example, there are 2 chains ending with c300 (size 2: just c100–>c300, size 3: c100–>c200–>c300) and you want to show longest path 3 for c300. Can you calculate this number for each course?
Allow the user to the enter a list of courses taken so far (from the user or from file) and print a list of the courses they can take (they have all the prerequisites for).
Ask the user to enter a desired number of courses per semester and suggest a schedule (by semester).
Part 3: Implementation suggestions
Reading from file:(15 points) For each line in the file, the code can extract the first course and the prerequisites for it.
If you cannot process each line in the file correctly, you can use a modified input file that shows on each line, the number of courses, but you will lose the 15 points dedicated to line processing. If your program works with the “easy files”, in order to make it easy for the TAs to know which file to provide, please name your C program courses_graph_easy.c. Here is the modification shown for a new example. Instead ofc100
c300 c200 c100
c200
the file would have:1 c100
3 c300 c200 c100
1 c200
that way the first data on each line is a number that tells how many courses (strings) are after it on that line. Everything is separated by exactly one space. All the other specifications are the same as for the original file (empty line at the end, no space at the end of any line, length of words, etc). Here is data0_easy.txt
Make a direct correspondence between vertex numbers and course names. E.g.the **first** course name on the first line corresponds to vertex 0,
the **first** course name on the second line corresponds to vertex 1,
etc…
To add an edge in the graph you will need to find the vertex number corresponding to a given course name. E.g. find that c300 corresponds to vertex 1 and c200 corresponds to vertex 2. Now you can set E[2][1] to be 1. (With the adjacency list, add node 1 in the adjacency list at index 2 and keep the lists sorted.)
To help with this, write a function that takes as arguments the list/array of [unique] course names and one course name and returns the index of that course in the list. You can use that index as the vertex number. (This is like the indexOf() method in Java.)
To see all the non-printable characters that may be in a file, find an editor that shows them. E.g. in Notepad++ : open the file, go to View -> Show symbol -> Show all characters. YOU SHOULD TRY THIS!
In general, not necessarily for this homework, if you make the text editor show the white spaces, you will know if what you see as 4 empty spaces comes from 4 spaces or from one tab or show other hidden characters. This can help when you tokenize. E.g. here I am using Notepad++ to see the EOL for files saved with Unix/Mac/Windows EOL (see the CR/LF/CRLF at the end of each line): EOL_Mac_Unix_Windows.png

Categories
Algorithms & Data Structures

Can you calculate this number for each course?

Provided files:
Grading Criteria
Unix.zip – zipped folder with all data files. For convenience below are direct links to individual files. To download individual files, use right click and Save As. Do NOT copy/paste or type the text in your own text editor.cycle0.txt
data0.txt
data0_rev.txt
data1.txt – like data0.txt but the order of the prerequisite courses is modified on line 2.
slides.txt (graph image) – courses given in such a way that they produce the same graph as in the image. (The last digit in the course number is the same as the vertex corresponding to it in the drawn graph. You can also see this in the vertex-to-course name correspondence in the sample run for this file.)
run.html
data0_easy.txt – If you cannot handle the above file format, this is an easier file format that you can use, but there will be 15 points lost in this case. More details about this situation are given in Part 3.
Specifications:You can use structs, macros, typedef.
All the code must be in C (not C++, or any other language)
Code that does not compile receives 0 credit.
Global or static variables are NOT allowed. The exception is using macros to define constants for the size limits (e.g. instead of using 30 for the max course name size).
E.g. #define MAX_ARRAY_LENGTH 20
You can use static memory (on the frame stack) or dynamic memory. (Do not confuse static memory with static variables.)
The program must read from the user a filename. The filename (as given by the user) will include the extension, but NOT the path. E.g.: data0.txt
You can open and close the file however many times you want.
File format:Unix file. It will have the Unix EOL (end-of-line).
Size limits:The file name will be at most 30 characters.
A course name will be at most 30 characters
A line in the file will be at most 1000 characters.
The file ends with an empty new line. See empty line image
Each line (except for the empty line) has one or more course names.
Each course name is a single word (without any spaces). E.g. CSE1310 (with no space between CSE and 1310).
There is no empty space at the end of the line.
There is exactly one empty space between any two consecutive courses on the same line. (You do not need to worry about having tabs or more than one empty space between 2 courses.)
The first course name on each line is the course being described and the following courses are the prerequisites for it. E.g.CSE2315 CSE1310 MATH1426
ENGL1301
The first line describes course CSE2315 and it indicates that CSE2315 has 2 prerequisite courses, namely: CSE1310 and MATH1426.
The second line describes course ENG1301 and it indicates that ENG1301 has no prerequisites.
You can assume that there is exactly one line for every course, even for those that do not have prerequisites (see ENGL1301 above). Count the number of lines in the file to get the total number of courses.
The courses are not given in any specific order in the file.
You must create a directed graph corresponding to the data in the file.The graph will have as many vertices as different courses listed in the file.
You can represent the vertices and edges however you want.
You do NOT have to use a graph struct. If you can do all the work with just the 2D table (the adjacency matrix) that is fine. You HAVE TO implement the topological sorting covered in class (as this assignment is on Graphs), but you can organize, represent and store the data however you want.
For the edges, you can use either the adjacency matrix representation or the adjacency list. If you use the adjacency list, keep the nodes in the list sorted in increasing order.
For each course that has prerequisites, there is an edge, from each prerequisite to that course. The direction of the edge indicates the dependency. The actual edge will be between the vertices in the graph corresponding to these courses.
E.g. file data0.txt has:c100
c300 c200 c100
c200 c100
Meaning:c100—–> c200
|
|
|
|
|
|
V V
c300
(The above drawing is provided here to give a picture of how the data in the file should be interpreted and the graph that represents this data. Your program should not print this drawing. See the sample run for expected program output.)
From this data you should create the correspondence:vertex 0 – c100
vertex 1 – c300
vertex 2 – c200
and you can represent the graph using adjacency matrix (the row and column indexes are provided for convenience): | 0 1 2
—————–
0| 0 1 1
1| 0 0 0
2| 0 1 0
e.g. E[0][1] is 1 because vertex 0 corresponds to c100 and vertex 1 corresponds to c300 and c300 has c100 as a prerequisite. Notice that E[1][0] is not 1.
If you use the adjacency list representation, print the adjacency list. The list must be sorted in increasing order (e.g. see the list for 0). It should show the corresponding node numbers. E.g. for the above example the adjacency list will be:0: 1, 2,
1: 2: 1,
You must use the correspondence given here: vertex 0 for the course on the first line, vertex 1 for the course on the second line, etc.Print the courses in topological sorted order. This should be done using the topological sorting covered in class, including the DFS covered in class.
There is no topological order if there is a cycle in the graph; in this case print an error message.
If in DFV-visit when looking at the (u,v) edge, the color of v is GRAY then there is a cycle in the graph (and therefore topological sorting is not possible). See the Lecture on topological sorting.
(6 points) create and submit 1 test file. It must cover a special case. Indicate what special case you are covering (e.g. no course has any prerequisite). At the top of the file indicate what makes it a special case. Save this file as special.txt. It should be in Unix EOL format.
Part 2: Suggestions for improvements (not for grade)
CSE Advisors point out to students the “longest path through the degree”. That is the longest chain of course prerequisites (e.g. CSE1310 —> CSE1320 –> CSE3318 –>…). It gives a lower bound on the number of semesters needed until graduation. Can you find this path? Can you calculate for each course the LONGEST chain ending with it? E.g. in the above example, there are 2 chains ending with c300 (size 2: just c100–>c300, size 3: c100–>c200–>c300) and you want to show longest path 3 for c300. Can you calculate this number for each course?
Allow the user to the enter a list of courses taken so far (from the user or from file) and print a list of the courses they can take (they have all the prerequisites for).
Ask the user to enter a desired number of courses per semester and suggest a schedule (by semester).
Part 3: Implementation suggestions
Reading from file:(15 points) For each line in the file, the code can extract the first course and the prerequisites for it.
If you cannot process each line in the file correctly, you can use a modified input file that shows on each line, the number of courses, but you will lose the 15 points dedicated to line processing. If your program works with the “easy files”, in order to make it easy for the TAs to know which file to provide, please name your C program courses_graph_easy.c. Here is the modification shown for a new example. Instead ofc100
c300 c200 c100
c200 the file would have:1 c100
3 c300 c200 c100
1 c200 that way the first data on each line is a number that tells how many courses (strings) are after it on that line. Everything is separated by exactly one space. All the other specifications are the same as for the original file (empty line at the end, no space at the end of any line, length of words, etc). Here is data0_easy.txt
Make a direct correspondence between vertex numbers and course names. E.g.the **first** course name on the first line corresponds to vertex 0,
the **first** course name on the second line corresponds to vertex 1, etc…
To add an edge in the graph you will need to find the vertex number corresponding to a given course name. E.g. find that c300 corresponds to vertex 1 and c200 corresponds to vertex 2. Now you can set E[2][1] to be 1. (With the adjacency list, add node 1 in the adjacency list at index 2 and keep the lists sorted.)
To help with this, write a function that takes as arguments the list/array of [unique] course names and one course name and returns the index of that course in the list. You can use that index as the vertex number. (This is like the indexOf() method in Java.)
To see all the non-printable characters that may be in a file, find an editor that shows them. E.g. in Notepad++ : open the file, go to View -> Show symbol -> Show all characters. YOU SHOULD TRY THIS!
In general, not necessarily for this homework, if you make the text editor show the white spaces, you will know if what you see as 4 empty spaces comes from 4 spaces or from one tab or show other hidden characters. This can help when you tokenize. E.g. here I am using Notepad++ to see the EOL for files saved with Unix/Mac/Windows EOL (see the CR/LF/CRLF at the end of each line): EOL_Mac_Unix_Windows.png

Categories
Algorithms & Data Structures

Choose a 41-grid point mesh with

Hello,
Please write code as per given instructions mentioned in PDF
Instruction: If you were caught copying program or code from online source, you will receive
zero score for this project.
Project Prompt:
Solve the wave equation
0
u u
t x
 
+ =
 
using
i. First order upwind scheme
ii. MacCormack scheme
for the initial conditions
u x( ,0) 1 = x 10
u x( ,0) 0 = x 10
and Dirichlet boundary conditions. Choose a 41-grid point mesh with
 =x 1
and
compute to t=18. Solve this project for

= 1.0, 0.6, and 0.3.
Each student has to submit the following items to Canvas portal to receive full credits:
a. Tabulated results of u for exact and numerical solutions at t=18 (2 points)
b. Graphs for comparison between exact and numerical solutions (4 points)
c. An electronic MATLAB file for my code execution. (4 point )

Categories
Algorithms & Data Structures

I am just too busy to do them.

3 Questions include: – Binary Search Tree, hash tables, performance based questions, red-black trees.
All the questions are easy theory based questions if you understand these concepts. I am just too busy to do them.
I need the answers to be fully explained and no half-assed answers please.

Categories
Algorithms & Data Structures

Choose a 41-grid point mesh with

Hello,
Please write code as per given instructions mentioned in PDF Instruction: If you were caught copying program or code from online source, you will receive
zero score for this project.
Project Prompt: Solve the wave equation
0
u u
t x
 
+ =
 
using
i. First order upwind scheme
ii. MacCormack scheme
for the initial conditions
u x( ,0) 1 = x 10
u x( ,0) 0 = x 10
and Dirichlet boundary conditions. Choose a 41-grid point mesh with
 =x 1
and
compute to t=18. Solve this project for

= 1.0, 0.6, and 0.3. Each student has to submit the following items to Canvas portal to receive full credits: a. Tabulated results of u for exact and numerical solutions at t=18 (2 points) b. Graphs for comparison between exact and numerical solutions (4 points) c. An electronic MATLAB file for my code execution. (4 point )

Categories
Algorithms & Data Structures

Answer the following questions

Hello,
Please answer the following tasks as per the guidelines in word document
Assignment: 1.3 Ozobot Shape Tracer
Browse to https://games.ozoblockly.com/shapetracer-basic and investigate the “line tracing games” there. After you become familiar with the coding tasks in “Shape Tracer 1,” browse to “Shape Tracer 2” –
https://games.ozoblockly.com/shapetracer-advanced and complete levels 1, 2, and 3. [home for these and others is, https://ozobot.com/create/challenges]
Using a screen capture app (and not your phone or camera), capture your code for each level after you successfully complete it. Ensure both your code and the path traced by the ozobot are visible in the screen capture.
Insert your screen images into a Microsoft Word data file. Save your file with the name assignment 1.3 and upload it here. Be sure your name is in the document and you have labeled the images with the level number.
Homework Assignment 1.3 is worth 10 points and will be graded based upon accuracy and completeness of information along with properly inserting the images into the document.
See the Technology Assignment Rubric for grading criteria. ========================================================
Assignment: 1.4 Ozobot Programming
Using your Ozobot, create code, load it into the robot, and execute it to perform the following:
A – travel in a square
B – travel in two “back to back” triangles [imagine a crude bow tie shape]
C – travel in the shape of an infinity sign [imagine two crude circles back to back]
Upload your code pasted into a document here. You can test out your code before downloading it to your Ozobot (or in the absence of a real robot) by using the simulator https://games.ozoblockly.com/shapetracer-freeform or by using https://games.ozoblockly.com/shapetracer-advanced?… and “ignore” the challenge and just code the assignment
See the Technology Assignment Rubric for grading criteria.
===============================================================
Assignment: 1.5 Search Trees
After you have thoroughly read sections 11.1 – 11.3 in chapter 11 of Computer Science: An Overview. Answer the following questions
A) Draw the search tree that is generated by a breadth-first search in an attempt to solve the eight-puzzle from the following start state without the assistance of any heuristic information. Continue the tree for 5 levels or until a solution is obtained.
1 3
4 2 5
7 8 6
B) Draw the search tree that is generated by the best-fit algorithm below in an attempt to solve the eight-puzzle from the state shown in the first problem if the number of tiles out of place is used as a heuristic. [the first heuristic]
C) Draw the search tree that is generated by the best-fit algorithm as detailed in the previous question in an attempt to solve the eight-puzzle from the following start state, assuming the heuristic used is as follows:
Measure the distance each tile is from its destination and add these values to obtain a single quantity. [the second heuristic]
1 2 3
5 7 6
4 8
D) When solving the eight-puzzle, why would the number of tiles out of place [the first heuristic] not be as good a heuristic as the one described in the question above [the second heuristic]?
See the Technology Assignment Rubric for grading criteria.

Categories
Algorithms & Data Structures

Answer the following questions

Hello,
Please answer the following tasks as per the guidelines in word document
Assignment: 1.3 Ozobot Shape Tracer
Browse to https://games.ozoblockly.com/shapetracer-basic and investigate the “line tracing games” there. After you become familiar with the coding tasks in “Shape Tracer 1,” browse to “Shape Tracer 2” –
https://games.ozoblockly.com/shapetracer-advanced and complete levels 1, 2, and 3. [home for these and others is, https://ozobot.com/create/challenges]
Using a screen capture app (and not your phone or camera), capture your code for each level after you successfully complete it. Ensure both your code and the path traced by the ozobot are visible in the screen capture.
Insert your screen images into a Microsoft Word data file. Save your file with the name assignment 1.3 and upload it here. Be sure your name is in the document and you have labeled the images with the level number.
Homework Assignment 1.3 is worth 10 points and will be graded based upon accuracy and completeness of information along with properly inserting the images into the document.
See the Technology Assignment Rubric for grading criteria. ========================================================
Assignment: 1.4 Ozobot Programming
Using your Ozobot, create code, load it into the robot, and execute it to perform the following:
A – travel in a square
B – travel in two “back to back” triangles [imagine a crude bow tie shape]
C – travel in the shape of an infinity sign [imagine two crude circles back to back]
Upload your code pasted into a document here. You can test out your code before downloading it to your Ozobot (or in the absence of a real robot) by using the simulator https://games.ozoblockly.com/shapetracer-freeform or by using https://games.ozoblockly.com/shapetracer-advanced?… and “ignore” the challenge and just code the assignment
See the Technology Assignment Rubric for grading criteria.
===============================================================
Assignment: 1.5 Search Trees
After you have thoroughly read sections 11.1 – 11.3 in chapter 11 of Computer Science: An Overview. Answer the following questions
A) Draw the search tree that is generated by a breadth-first search in an attempt to solve the eight-puzzle from the following start state without the assistance of any heuristic information. Continue the tree for 5 levels or until a solution is obtained.
1 3
4 2 5
7 8 6
B) Draw the search tree that is generated by the best-fit algorithm below in an attempt to solve the eight-puzzle from the state shown in the first problem if the number of tiles out of place is used as a heuristic. [the first heuristic]
C) Draw the search tree that is generated by the best-fit algorithm as detailed in the previous question in an attempt to solve the eight-puzzle from the following start state, assuming the heuristic used is as follows:
Measure the distance each tile is from its destination and add these values to obtain a single quantity. [the second heuristic]
1 2 3
5 7 6
4 8
D) When solving the eight-puzzle, why would the number of tiles out of place [the first heuristic] not be as good a heuristic as the one described in the question above [the second heuristic]?
See the Technology Assignment Rubric for grading criteria.

Categories
Algorithms & Data Structures

Answer the following questions

Hello,
Please answer the following tasks as per the guidelines in word document Assignment: 1.3 Ozobot Shape Tracer
Browse to https://games.ozoblockly.com/shapetracer-basic and investigate the “line tracing games” there. After you become familiar with the coding tasks in “Shape Tracer 1,” browse to “Shape Tracer 2” –
https://games.ozoblockly.com/shapetracer-advanced and complete levels 1, 2, and 3. [home for these and others is, https://ozobot.com/create/challenges]
Using a screen capture app (and not your phone or camera), capture your code for each level after you successfully complete it. Ensure both your code and the path traced by the ozobot are visible in the screen capture.
Insert your screen images into a Microsoft Word data file. Save your file with the name assignment 1.3 and upload it here. Be sure your name is in the document and you have labeled the images with the level number.
Homework Assignment 1.3 is worth 10 points and will be graded based upon accuracy and completeness of information along with properly inserting the images into the document.
See the Technology Assignment Rubric for grading criteria. ========================================================
Assignment: 1.4 Ozobot Programming
Using your Ozobot, create code, load it into the robot, and execute it to perform the following:
A – travel in a square
B – travel in two “back to back” triangles [imagine a crude bow tie shape]
C – travel in the shape of an infinity sign [imagine two crude circles back to back]
Upload your code pasted into a document here. You can test out your code before downloading it to your Ozobot (or in the absence of a real robot) by using the simulator https://games.ozoblockly.com/shapetracer-freeform or by using https://games.ozoblockly.com/shapetracer-advanced?… and “ignore” the challenge and just code the assignment
See the Technology Assignment Rubric for grading criteria. ===============================================================
Assignment: 1.5 Search Trees
After you have thoroughly read sections 11.1 – 11.3 in chapter 11 of Computer Science: An Overview. Answer the following questions A) Draw the search tree that is generated by a breadth-first search in an attempt to solve the eight-puzzle from the following start state without the assistance of any heuristic information. Continue the tree for 5 levels or until a solution is obtained.
1 3
4 2 5
7 8 6
B) Draw the search tree that is generated by the best-fit algorithm below in an attempt to solve the eight-puzzle from the state shown in the first problem if the number of tiles out of place is used as a heuristic. [the first heuristic]
C) Draw the search tree that is generated by the best-fit algorithm as detailed in the previous question in an attempt to solve the eight-puzzle from the following start state, assuming the heuristic used is as follows:
Measure the distance each tile is from its destination and add these values to obtain a single quantity. [the second heuristic]
1 2 3
5 7 6
4 8
D) When solving the eight-puzzle, why would the number of tiles out of place [the first heuristic] not be as good a heuristic as the one described in the question above [the second heuristic]?
See the Technology Assignment Rubric for grading criteria.

Categories
Algorithms & Data Structures

Please make sure about the plagiarism check.

Everything is described in the attached document. It has a solved problem on the top and three questions below the solved question, needed to be solved. Please make sure about the plagiarism check.
Thank You