Question

In: Computer Science

"Einstein riddle" The riddle asked us to complete a table of answers in a way that...

"Einstein riddle" The riddle asked us to complete a table of answers in a way that ensured various constraints were satisfied. A "correct" answer to the riddle was a completed table that satisfied all the constraints provided. The table was 5 rows by 5 columns. For each row you could pick the order of 5 parameters - for example, the order of 5 different colours or 5 different car models. In this particular problem there were no duplicate assignments - i.e. you couldn't have two cars of the same colour or make.

Would enforcing less constraints have made our program find a solution faster or slower. Why ? . How large was the search space for this problem before we applied constraints ? (i.e. how many different ways were there to complete the table) . Explain why understanding the size of the search space is one of the first things you should do when investigating a new problem . How would allowing duplication on the colour of the cars affected the problem ?

Solutions

Expert Solution

EXPLANATION:

Ques) Would enforcing less constraints have made our program find a solution faster or slower. Why ?

Answer) Enforcing less constraints in the program would help the program find a solution faster. This is because the program searches for the possible solutions in the search space. It needs to check all the constraints for each sample in the search space for a solution. Having less of these contraints would mean checking for less constraints for each sample and would take less time for each sample which means for many samples it would add up considerably. Also, having less constraints means it is more likely that the sample which we are checking would turn out to be a solution. Hence, we are more likely to find solutions quickly as the samples would need to satisfy less constraints.

It is recommended to ask different questions seperately as I am only allowed to answer 1 question at a time.

THANKS,

PLEASE UPOTE THE ANSWER.


Related Solutions

Complete the following statements by typing your answers in the spaces provided.  If you are asked to...
Complete the following statements by typing your answers in the spaces provided.  If you are asked to determine the probabilities, state your answers to 4 decimal places.  If you are asked to determine a value of Y, state your answers to 2 or 3 decimal places.  Because you will be typing in your answers,  I cannot ask you to draw diagrams as I have done in my previously posted practice finals and solutions to examples, I suggest when you are working on your answers...
Complete the following statements by typing your answers in the spaces provided.  If you are asked to...
Complete the following statements by typing your answers in the spaces provided.  If you are asked to determine the probabilities, state your answers to 4 decimal places.  If you are asked to determine a value of Z, state your answers to 2 or 3 decimal places.  Because you will be typing in your answers,  I cannot ask you to draw diagrams as I have done in my previously posted practice finals and solutions to examples, I suggest when you are working on your answers...
Complete the following statements by typing your answers in the spaces provided. If you are asked...
Complete the following statements by typing your answers in the spaces provided. If you are asked to determine the probabilities, state your answers to 4 decimal places. If you are asked to determine a value of Y, state your answers to 2 or 3 decimal places. Because you will be typing in your answers, I cannot ask you to draw diagrams as I have done in my previously posted practice finals and solutions to examples, I suggest when you are...
Complete the analysis of variance table for the following data. Treat it as a two way...
Complete the analysis of variance table for the following data. Treat it as a two way Block Design.  (Use α = 0.05). In each cee there are 2 observations. For example in cell 1,1 they are 13 and 1 DATA Source A Means I II III Source B Level 1 13, 11 9, 15 8, 10 11 Source B Level 2 15,13 9, 7 6, 4 9 Means 13 10 7 Grand Mean = 10 ANOVA TABLE Sources D.F. S.S. M.S....
Complete the analysis of variance table for the following data. Treat it as a two       way...
Complete the analysis of variance table for the following data. Treat it as a two       way Block Design.  (Use α = 0.05). In each cell there are 2 observations, except for         the last cell, which has only one observation. DATA             Source A Means I II III Source B Level 1 20    18 12    14 9    11 14 Source B Level 2 12    10 10      8 8 9.6 Means 15 11 9.33 Grand Mean = 12 ANOVA TABLE Sources D.F. S.S. M.S. F Source A Source B...
Complete the analysis of variance table for the following data. Treat it as a two way...
Complete the analysis of variance table for the following data. Treat it as a two way Block Design.  (Use α = 0.05). In each cee there are 2 observations. For example in cell 1,1 they are 13 and 1 DATA Source A Means I II III Source B Level 1 13, 11 9, 15 8, 10 11 Source B Level 2 15,13 9, 7 6, 4 9 Means 13 10 7 Grand Mean = 10 ANOVA TABLE Sources D.F. S.S. M.S....
Complete the following table: (Use Table 15.1) (Do not round intermediate calculations. Round your answers to...
Complete the following table: (Use Table 15.1) (Do not round intermediate calculations. Round your answers to the nearest cent.) First Payment Broken Down Into— Selling price Down payment Amount mortgage Rate Years Monthly payment Interest Principal Balance at end of month $150,000 $30,000 $120,000 7% 30 $ $ $ $
2. For the summary table for one-way ANOVA shown on the answers sheet in cells D79...
2. For the summary table for one-way ANOVA shown on the answers sheet in cells D79 to G81: a. fill in the missing items (highlighted in yellow) b. identify the null and alternative hypotheses c. use the 0.025 level of significance to find the critical value of F and to reach a conclusion regarding the null hypothesis. 2. 12 SS df MS F a. Treatment 665.00 4 Error 60 Total 3736.30 b. Define H0 : Define H1 : c. Fcrit...
11.27) Complete the computations in the ANOVA table (2 way ANOVA) shown below and determine the...
11.27) Complete the computations in the ANOVA table (2 way ANOVA) shown below and determine the critical table F values. Interpret the analysis. Discuss this problem, including the structure of the design, sample sizes and decisions about the hypotheses. Source of variation df SS MS F Row 2 ? ? ? Column 2 1.852 ? ? Interaction 4 4.370 ? ? Error ? 14.00 ? Total 26 20.519
1. Consider the partially completed​ one-way ANOVA summary table below. ​a) Complete the remaining entries in...
1. Consider the partially completed​ one-way ANOVA summary table below. ​a) Complete the remaining entries in the table. ​b) How many population means are being​ tested? ​c) Using alphaαequals=0.05​, what conclusions can be made concerning the population​ means? Source Sum of Squares Degrees of Freedom Mean Sum of Squares F Between ​? 33 ​? ​? Within 96 ​? ​? Total 165 19 Click the icon to view a table of critical​ F-scores for alphaα equals=0.05 ​a) Complete the ANOVA table...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT