Computability and Complexity: Calibration Homework CSE 200, Exercises of Applications of Computer Sciences

The calibration homework for the computability and complexity course (cse 200) at the university of california, berkeley. The homework is due on april 9, 2012, and includes four problems. The first problem is about the relationship between deterministic finite automata with a certain number of states. The second problem deals with the big o notation and a specific function. The third problem is about prime numbers and factorials. The fourth problem involves independent sets in graphs and their expected size in a probabilistic graph model.

Typology: Exercises

2012/2013

Uploaded on 04/24/2013

bandana
bandana ๐Ÿ‡ฎ๐Ÿ‡ณ

4.4

(36)

87 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CSE 200
Computability and Complexity
Calibration Homework
Due April 9
April 2, 2012
1. Let Regkbe the class of languages accepted by a deterministic finite automaton with at most k
states. Prove that for every k > 0, Regkis a strict subset of Regk+1.
2. Let fbe a non-decreasing, positive integer-valued function over the positive integers. Prove that
if f(2n)โˆˆO(f(n)), then there is a kso that f(n)โˆˆO(nk). Is the coverse always true? Prove it or
give a counter-example.
3. Let pbe a prime number. Prove that (pโˆ’1)! + 1 is divisible by p.
4. Let Gbe an undirected graph. An independent set Iis a set of vertices so that for any two nodes
uโˆˆIand vโˆˆI, there is no edge between uand v. Consider the distribution on graphs where each
pair of nodes has an edge between them with probability 1/2, and these choices are independent.
Do an experiment to determine the expected size of the maximum independent set in such a graph,
as a function of n, the number of nodes. Give a conjecture as to the order of this function. Describe
your experiment and give data in a clear format.
1

Partial preview of the text

Download Computability and Complexity: Calibration Homework CSE 200 and more Exercises Applications of Computer Sciences in PDF only on Docsity!

CSE 200

Computability and Complexity

Calibration Homework

Due April 9

April 2, 2012

  1. Let Regk be the class of languages accepted by a deterministic finite automaton with at most k states. Prove that for every k > 0, Regk is a strict subset of Regk+1.
  2. Let f be a non-decreasing, positive integer-valued function over the positive integers. Prove that if f (2n) โˆˆ O(f (n)), then there is a k so that f (n) โˆˆ O(nk). Is the coverse always true? Prove it or give a counter-example.
  3. Let p be a prime number. Prove that (p โˆ’ 1)! + 1 is divisible by p.
  4. Let G be an undirected graph. An independent set I is a set of vertices so that for any two nodes u โˆˆ I and v โˆˆ I, there is no edge between u and v. Consider the distribution on graphs where each pair of nodes has an edge between them with probability 1/2, and these choices are independent. Do an experiment to determine the expected size of the maximum independent set in such a graph, as a function of n, the number of nodes. Give a conjecture as to the order of this function. Describe your experiment and give data in a clear format.