Question: Task 9: Describe a method for setting values to be blank characters in the elements of the output of MAKESO- LUTION. You can describe the

 Task 9: Describe a method for setting values to be blankcharacters in the elements of the output of MAKESO- LUTION. You can

Task 9: Describe a method for setting values to be blank characters in the elements of the output of MAKESO- LUTION. You can describe the method in words, use pseudocode, or use a flowchart. The method should take the number n as an input parameter and set n values to be blank characters. You do not need to go into great detail as long as the method makes sense. Maximum word count for the whole task (excluding diagrams): 200 words. [4 marks] Analysing the algorithm In the next task, the goal is to analyse the algorithm in this assignment. The algorithm to generate Pseudoku puzzles outlined here might not produce all possibly valid Pseudoku puzzles. Remember that, generally speaking, the algorithm works by cyclically permuting several rows of a vector until the Pseudoku conditions are satisfied. In the next task you should aim to identify all of the weaknesses you can think of in this algorithm. Task 10: Describe and very briefly explain the limitations of the algorithm in this assignment. Maximum word count for the whole task: 400 words (excluding figures). [6 marks] The puzzle format As mentioned earlier, we will start with a completed puzzle stored in a four-element vector called puzzle where every element is itself a four-element vector, such as 2 41 3 1 3 2 4 3 2 4 1 4 1 3 2 Each row of the puzzle will correspond to an element of a vector, e.g. the first row of the Pseudoku puzzle will be stored as a four-element vector, which itself is an element of a four-element vector. Therefore, this completed Pseudoku puzzle is represented by the following vector: Element1 Element 2 Elements Element 4 We could make this vector by initiating a four-element vector, with each element being empty, and then assign a vector to each element. The goal of the algorithm in this coursework is to generate an unsolved Pseudoku puzzle from a row of four numbers. The first step in the process is to make all four elements of a four-element vector to be the same, and this element will be a four-element vector. For example, given a four-element vector with the numbers 2, 4, 1, 3, we produce the following vector: Element1 Element 2 Element 3 Element 3 Your first task is to write a function in pseudocode that will carry out this process

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Task 9 Method to Set Values to Blank Characters Here is a pseudocode to achieve the task described F... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!