(Created page with "Category:ECE Category:QE Category:CE Category:problem solving Category:algorithms <center> <font size= 4> ECE_PhD_Qualifying_Exams|ECE Ph.D. Qualifying...")
 
 
(5 intermediate revisions by the same user not shown)
Line 46: Line 46:
 
'''Part 2.'''
 
'''Part 2.'''
  
Let <math>Z(t), t\ge 0</math>, be a random process obtained by switching between the values 0 and 1 according to the event times in a counting process <math>N(t)</math>. Let <math>P(Z(0)=0)=p</math> and
+
Professor Stillinbed has constructed a polynomial-time-bounded program that converts 3-CNF Boolean formulas into graphs. A formula with <math>n</math> Boolean variables and <math>k</math> clauses is converted into a graph with <math>nk</math> vertices. The professor has proven that there is a size 3 clique in the graph if and only if the original 3-CNF formula was satisfiable. Is this a notable or significant result? (In other words, does it add significantly to what is known about efficient problem solution?) Why or why not?
  
<math>P(N(t)=k) =
+
:'''Click [[ECE_PhD_QE_CE_2015_Problem1.2|here]] to view student [[ECE_PhD_QE_CE_2015_Problem1.2|answers and discussions]]'''
\frac{1}{1+\lambda t}(\frac{\lambda t}{1+\lambda t})^k</math>
+
 
+
for <math> k = 0, 1, ...</math>. Find the pmf of <math> Z(t)</math>.
+
 
+
:'''Click [[ECE_PhD_QE_CNSIP_2015_Problem1.2|here]] to view student [[ECE_PhD_QE_CNSIP_2015_Problem1.2|answers and discussions]]'''
+
 
----
 
----
 
'''Part 3.'''
 
'''Part 3.'''
  
Let <math>X</math> and <math>Y</math> be independent identically distributed exponential random variables with mean <math>\mu</math>. Find the characteristic function of <math>X+Y</math>.  
+
Show a directed acyclic graph with no more than 5 vertices with edge costs in the real numbers and a designated source vertex for which Dijkstra's algorithm does not compute correct shortest path costs. Label the vertices with letter from <math>\{a,b,c,d,e\}</math>, using <math>a</math> as the source; but note you do not necessarily need all five. Also show the order in which Dijkstra's algorithm will assign shortest path costs and what those assigned costs are, as well as what the correct values are.
  
:'''Click [[ECE_PhD_QE_CNSIP_2015_Problem1.3|here]] to view student [[ECE_PhD_QE_CNSIP_2015_Problem1.3|answers and discussions]]'''
+
:'''Click [[ECE_PhD_QE_CE_2015_Problem1.3|here]] to view student [[ECE_PhD_QE_CE_2015_Problem1.3|answers and discussions]]'''
 
----
 
----
 
'''Part 4.'''
 
'''Part 4.'''
  
Consider a sequence of independent and identically distributed random variables <math>X_1,X_2,... X_n</math>, where each <math>X_i</math> has mean <math>\mu = 0</math> and variance <math> \sigma^2</math>. Show that for every <math>i=1,...,n</math> the random variables <math>S_n</math> and <math>X_i-S_n</math>, where <math>S_n=\sum_{j=1}^{n}X_j</math> is the sample mean, are uncorrelated.
+
A company has built houses on <math>n</math> lots and needs to decide on where to build streets connecting the houses. Modeling this as selecting a set of pairs of houses to connect so that all houses in the end have a connected path between them, the company assigns a positive cost <math>\alpha(x,y)</math> for constructing each possible street connecting two of the houses <math>x</math> and <math>y</math> (the streets will all be two-way). However, some of the possible streets cross (and would thus damage) environmentally sensitive sites and it is required to minimize the number of such streets. It is a political constraint that a minimum number of such streets will be selected for being built. Subject to this political constraint, the company wishes to build the cheapest-cost street network (by connecting pairs of houses as above) that connects all the houses.
 +
 
 +
Describe an efficient algorithm for finding this network, given the costs <math>\alpha(\cdot,\cdot)</math> and the set <math>E</math> of environmentally sensitive pairs <math>(x,y)</math>. Sketch a correctness argument for the algorithm. State the worst case asymptotic complexity of your algorithm in terms of <math>n</math>. You may use any algorithm defined in the reading list without presenting its details as long as you are clear about how it is used. In fact, your solution should be a small adaptation of an algorithm defined in the reading list to ensure that the network returned will respect the political constraint.
  
:'''Click [[ECE_PhD_QE_CNSIP_2015_Problem1.4|here]] to view student [[ECE_PhD_QE_CNSIP_2015_Problem1.4|answers and discussions]]'''
+
:'''Click [[ECE_PhD_QE_CE_2015_Problem1.4|here]] to view student [[ECE_PhD_QE_CE_2015_Problem1.4|answers and discussions]]'''
 
----
 
----
 
[[ECE_PhD_Qualifying_Exams|Back to ECE Qualifying Exams (QE) page]]
 
[[ECE_PhD_Qualifying_Exams|Back to ECE Qualifying Exams (QE) page]]

Latest revision as of 21:18, 7 March 2016


ECE Ph.D. Qualifying Exam

Computer Engineering (CE)

Question 1: Algorithms

August 2015



Question

Part 1.

In the proof of the Master Theorem, a recursion tree is considered for the general recurrence form shown below, representing the contribution of $ f() $ at internal nodes of the tree and of the $ \Theta $(1) base case at the leaves of the tree.

$ T(n) = \begin{cases} \Theta (1) & if\,n = 1 \\ aT(n/b)+f(n) & if\,n=b^i,\,for\,i>0\\ \end{cases} $

Analyzing the recurrence tree for $ n $ an exact power of $ b $, all cases of the proof rely on a $ \Theta $ bound on the contribution of the base case leaves to the sum $ T(n) $. (By asymptotically bounding this expression under the different case assumptions, each case of the Master Theorem is proven.)


$ \bullet $ What is the depth of the tree in terms of $ n,\,a\, $, and $ b $?

$ \bullet $ State the $ \Theta $ bound on the total contribution of all the leaves in the tree. Explain briefly.

$ \bullet $ Give an expression representing the contribution of all the internal nodes of the recursion tree at a given depth $ j $, explaining briefly.

Click here to view student answers and discussions

Part 2.

Professor Stillinbed has constructed a polynomial-time-bounded program that converts 3-CNF Boolean formulas into graphs. A formula with $ n $ Boolean variables and $ k $ clauses is converted into a graph with $ nk $ vertices. The professor has proven that there is a size 3 clique in the graph if and only if the original 3-CNF formula was satisfiable. Is this a notable or significant result? (In other words, does it add significantly to what is known about efficient problem solution?) Why or why not?

Click here to view student answers and discussions

Part 3.

Show a directed acyclic graph with no more than 5 vertices with edge costs in the real numbers and a designated source vertex for which Dijkstra's algorithm does not compute correct shortest path costs. Label the vertices with letter from $ \{a,b,c,d,e\} $, using $ a $ as the source; but note you do not necessarily need all five. Also show the order in which Dijkstra's algorithm will assign shortest path costs and what those assigned costs are, as well as what the correct values are.

Click here to view student answers and discussions

Part 4.

A company has built houses on $ n $ lots and needs to decide on where to build streets connecting the houses. Modeling this as selecting a set of pairs of houses to connect so that all houses in the end have a connected path between them, the company assigns a positive cost $ \alpha(x,y) $ for constructing each possible street connecting two of the houses $ x $ and $ y $ (the streets will all be two-way). However, some of the possible streets cross (and would thus damage) environmentally sensitive sites and it is required to minimize the number of such streets. It is a political constraint that a minimum number of such streets will be selected for being built. Subject to this political constraint, the company wishes to build the cheapest-cost street network (by connecting pairs of houses as above) that connects all the houses.

Describe an efficient algorithm for finding this network, given the costs $ \alpha(\cdot,\cdot) $ and the set $ E $ of environmentally sensitive pairs $ (x,y) $. Sketch a correctness argument for the algorithm. State the worst case asymptotic complexity of your algorithm in terms of $ n $. You may use any algorithm defined in the reading list without presenting its details as long as you are clear about how it is used. In fact, your solution should be a small adaptation of an algorithm defined in the reading list to ensure that the network returned will respect the political constraint.

Click here to view student answers and discussions

Back to ECE Qualifying Exams (QE) page

Alumni Liaison

Basic linear algebra uncovers and clarifies very important geometry and algebra.

Dr. Paul Garrett