所屬科目:研究所、轉學考(插大)、學士後-計算機概論
(a) Please draw the heuristic search tree for solving the famous8 puzzle problem. The puzzle is contained in a tray that can bethought of as a grid of nine squares. The tray contains onlyeight tiles, which means that one of the grids is always empty.The tiles are numbered from 1 to 8. The rule of the game isthat a tile can be slid into an empty slot. The initial and goalstates of an 8-puzzle are shown as the follows. Please draw theheuristic search tree for solving the puzzle.Initial stateGoal state4 1 3 1 2 37 2 6 4 5 65 8 7 8
(b) Use a truth table to find whether the following argument isvalid.{P → Q, Q → R} |− (P → R)
(a) List and define three kinds of identification witness in entityauthentication.
(b) Define a certification authority (CA) and its relation to public-key cryptography.
(a) The input data to a program is made up of a combination ofthree integers in the range of 1000 to 1999 (inclusive). Findthe number of exhaustive tests to test all combinations of thesenumbers.
(b) A random number generator creates a number between 0and 0.999. How can this random number generator be used todo random testing for the system described in (a).
(a) Write a recursive algorithm in pseudocodeto find thecombination of n objects taken k at a time using the followingdefinition.
(b) Using the above definition, find C(10,3) and C(2,7).
(a) Sending a frame to the next node.
(b) Sending a packet from the source to the destination.
(c) Delivery of a long message from the source computer to thedestination computer.(d) Logging in to a remote computer.