You are on page 1of 1

NAME:_____________________________________________ Date: ___________________

COURSE & YEAR: ___________________________ Score: __________________

ASSESSMENT

TASK 1: Answer the following questions (20 points each)

1. Are there any cases in which a population of n l−bit strings contains exactly n × 2l different schemas?

2. Define the fitness of bit string x to be the number of ones in x. Give a formula, in terms of l (the string
length) and k, for the average fitness of a schema H that has k defined bits, all set to 1.

3. What is the total payoff after 10 games of TIT FOR TAT playing against (a) a strategy that always defects; (b)
a strategy that always cooperates; (c) ANTI−TIT−FOR−TAT, a strategy that starts out by defecting and always
does the opposite of what its opponent did on the last move? (d) What is the expected payoff of TIT FOR TAT
against a strategy that makes random moves? (e) What are the total payoffs of each of these strategies in
playing 10 games against TIT FOR TAT? (For the random strategy, what is its expected average payoff?)

1 |AL 101 PRELIM EXAM

You might also like