Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 1

Similar documents
Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 1

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 145 Dwinelle, last SID# 2

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 2050 VLSB, Last Name: Tong-Zzz

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Midterm 1. Exam location: 60 Evans, last digit SID= 6

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Midterm 1

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1. Exam location: 1 Pimentel (Odd SID + 61C)

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Final Exam

EECS 16A Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Final. Exam location: RSF Back Left, last SID# 1, 4, + 5

Designing Information Devices and Systems I Spring 2018 Midterm 1. Exam Location: 155 Dwinelle Last Name: Cheng - Lazich

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 1. Exam Location: 2050 VLSB

Designing Information Devices and Systems I Fall 2017 Midterm 1. Exam Location: 155 Dwinelle

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 2. Exam location: 145 Dwinelle, last SID# 2

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Midterm 2. Exam location: 145 Dwinelle, last SID# 2

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: You re Done!!

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Final Exam. Exam location: 145 Dwinelle, last SID# 2

CS 170 Algorithms Spring 2009 David Wagner Final

2. (10 pts) How many vectors are in the null space of the matrix A = 0 1 1? (i). Zero. (iv). Three. (ii). One. (v).

Discrete Mathematics and Probability Theory Summer 2014 James Cook Final Exam

MATH 1553, JANKOWSKI MIDTERM 2, SPRING 2018, LECTURE A

Designing Information Devices and Systems I Spring 2019 Midterm 2. Exam Location: Cory 521 (DSP)

Exam 2 MAS 3105 Applied Linear Algebra, Spring 2018

Math 51 Midterm 1 July 6, 2016

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 1

Midterm 1 Solutions, MATH 54, Linear Algebra and Differential Equations, Fall Problem Maximum Score Your Score

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2. Exam Location: 100 Genetics & Plant Bio

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Midterm 1

Designing Information Devices and Systems I Fall 2017 Homework 3

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1

Problem Point Value Points

MATH 223 FINAL EXAM APRIL, 2005

Midterm II. Introduction to Artificial Intelligence. CS 188 Spring ˆ You have approximately 1 hour and 50 minutes.

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 1

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Homework 12

Practice Midterm 1 Solutions, MATH 54, Linear Algebra and Differential Equations, Fall 2014

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Homework 4

Final. for Math 308, Winter This exam contains 7 questions for a total of 100 points in 15 pages.

Math 110 (Fall 2018) Midterm II (Monday October 29, 12:10-1:00)

MATH 1553, FALL 2018 SAMPLE MIDTERM 2: 3.5 THROUGH 4.4

Q1 Q2 Q3 Q4 Tot Letr Xtra

Practice Midterm Solutions, MATH 110, Linear Algebra, Fall 2013

Midterm 2. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

MATH 33A LECTURE 3 PRACTICE MIDTERM I

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

Math 51 First Exam October 19, 2017

2018 Fall 2210Q Section 013 Midterm Exam II Solution

Math 54 First Midterm Exam, Prof. Srivastava September 23, 2016, 4:10pm 5:00pm, 155 Dwinelle Hall.

Shorts

Problem # Max points possible Actual score Total 120

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 1

Question Total Score

Math 51 Second Exam February 23, 2017

Be sure this exam has 9 pages including the cover. The University of British Columbia

Exam 3. Math Spring 2015 April 8, 2015 Name: } {{ } (from xkcd) Read all of the following information before starting the exam:

STUDENT NAME: STUDENT SIGNATURE: STUDENT ID NUMBER: SECTION NUMBER RECITATION INSTRUCTOR:

MATH 153 FIRST MIDTERM EXAM

MTH 310, Section 001 Abstract Algebra I and Number Theory. Sample Midterm 1

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note 6

Math 290, Midterm II-key

EECS 16A Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Final. Exam location: Solutions

EK102 Linear Algebra PRACTICE PROBLEMS for Final Exam Spring 2016

Fog Chamber Testing the Label: Photo of Fog. Joshua Gutwill 10/29/1999

TEST 1: Answers. You must support your answers with necessary work. My favorite number is three. Unsupported answers will receive zero credit.

You have 3 hours to complete the exam. Some questions are harder than others, so don t spend too long on any one question.

EECS 16A: SPRING 2015 MIDTERM 2

Prob. 1 Prob. 2 Prob. 3 Total

Seat Number. Print and sign your name, and write your Student ID Number and seat number legibly in the spaces above.

Midterm 1. Your Exam Room: Name of Person Sitting on Your Left: Name of Person Sitting on Your Right: Name of Person Sitting in Front of You:

Coding for Digital Communication and Beyond Fall 2013 Anant Sahai MT 1

Midterm Exam 1 Solution

Total 100

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Homework 6

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Midterm 2

No calculators, cell phones or any other electronic devices can be used on this exam. Clear your desk of everything excepts pens, pencils and erasers.

Physics 218 Exam II. Spring 2018 (all UP sections) March 19 th, 2018

Physics 218 Exam I. Fall 2017 (all sections) September 27 th, 2017

Linear Algebra FALL 2013 MIDTERM EXAMINATION Solutions October 11, 2013

Spring 2015 Midterm 1 03/04/15 Lecturer: Jesse Gell-Redman

MATH 1553, SPRING 2018 SAMPLE MIDTERM 1: THROUGH SECTION 1.5

Test 3, Linear Algebra

MATH 1553, SPRING 2018 SAMPLE MIDTERM 2 (VERSION B), 1.7 THROUGH 2.9

MATH 1553, C. JANKOWSKI MIDTERM 3

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2018 Kannan Ramchandran February 14, 2018.

Efficient Algorithms and Intractable Problems Spring 2016 Alessandro Chiesa and Umesh Vazirani Midterm 2

Math 353, Practice Midterm 1

80 min. 65 points in total. The raw score will be normalized according to the course policy to count into the final score.

University of Ottawa

Discrete Mathematics and Probability Theory Summer 2015 Chung-Wei Lin Midterm 2

Midterm 2 Solutions, MATH 54, Linear Algebra and Differential Equations, Fall 2014

Math 1020 ANSWER KEY TEST 3 VERSION B Spring 2018

MLC Practice Final Exam. Recitation Instructor: Page Points Score Total: 200.

MATH 260 LINEAR ALGEBRA EXAM III Fall 2014

Physics 206 Exam I. Spring 2019 (all UP sections) February 18 th, 2019

Math 2B Spring 13 Final Exam Name Write all responses on separate paper. Show your work for credit.

MATH 1553, C.J. JANKOWSKI MIDTERM 1

EECS 126 Probability and Random Processes University of California, Berkeley: Spring 2017 Kannan Ramchandran March 21, 2017.

Transcription:

EECS 16A Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 1 Exam location: 2050 Valley Life Sciences Building, last SID# 9 + 3 PRINT your student ID: PRINT AND SIGN your name:, (last) (first) (signature) PRINT your Unix account login: ee16a- PRINT your discussion section and GSI (the one you attend): Row Number (front row is 1): Seat Number (left most is 1): Name and SID of the person to your left: Name and SID of the person to your right: Name and SID of the person in front of you: Name and SID of the person behind you: Section 0: Pre-exam questions (3 points) 1. What other courses are you taking this term? (1 pt) 2. What activity do you really enjoy? Describe how it makes you feel. (2 pts) Do not turn this page until the proctor tells you to do so. You can work on Section 0 above before time starts. EECS 16A, Spring 2016, Midterm 1 1

Section 1: Straightforward questions (24 points) Unless told otherwise, you must show work to get credit. There will be very little partial credit given in this section. Each problem is worth 8 points. 3. Mechanical Johann Invert the following matrix: 1 2 6 0 1 4 2 4 10 EECS 16A, Spring 2016, Midterm 1 2

PRINT your name and student ID: 4. Freedom! Let A and B be n n matrices. Suppose A is invertible, but B is not. Prove that Rank(AB) < Rank(A). (That is, show that the number of linearly independent columns in AB is strictly less than the number of linearly independent columns in A). 5. True or False? You only need to write True or False under each subpart. (a) There exists an invertible n n matrix A for which A 2 = 0. (b) If A is an invertible n n matrix, then for all vectors b R n, the system A x = b has a unique solution. (c) If A and B are invertible n n matrices, then the product AB is invertible. 1 1 1 0 (d) The two vectors v 1 = 1 and v 2 = 1 form a basis for the subspace Span({ 0, 1 }). 0 0 0 0 (e) A set of n linearly dependent vectors in R n can span R n. (f) For all matrices A and B, where A is 5 5 and B is 4 4, it is always the case that Rank(A) > Rank(B). EECS 16A, Spring 2016, Midterm 1 3

PRINT your name and student ID: [If you are want the work on this page be graded, please state CLEARLY which problem(s) this space is for.] EECS 16A, Spring 2016, Midterm 1 4

PRINT your name and student ID: Section 2: Free-form Problems (100 points) 6. Faerie Battles (20 points) In a war of civilizations, the light dragons are fighting for survival against the invading evil imp empire. It is the night before the deciding battle, and Ela Dalon the Human Hobo has proposed using faerie lights to determine enemy numbers. There are four enemy camps. The faerie lights begin completely dark and get brighter directly proportional to the number of imps present around them, i.e. if Camp X has n imps, any faerie light that visits Camp X will gain n brightness units. Unfortunately, faerie lights are notoriously difficult to control, and they are so small that the dragons can only measure the total brightness of groups of faerie lights. The Human Hobo therefore proposes to send four groups of faerie lights, and is fortunately able to keep track of how many faerie lights he sent and which camps these faeries actually visited. This results in the following: Group 1 gained 7 total brightness units 1 faerie light visited Camp A 5 faerie lights visited Camp B 1 faerie light visited Camp C Group 3 gained 10 total brightness unints 2 faerie lights visited Camp C Group 2 gained 26 total brightness units 2 faerie lights visited Camp B 4 faerie lights visited Camp C 6 faerie lights visited Camp D Group 4 gained 9 total brightness units 3 faerie lights visited Camp D 2 faerie lights visited Camp D (a) Write the system of equations that relates the number of imps in each camp to the total measured brightness units from each group. EECS 16A, Spring 2016, Midterm 1 5

(b) From the given information, can you determine how many imps are at each campsite? If so, report their numbers to help the faeries! If not, explain why not. (c) Oh no! You just found out that the evil imps manipulated the faerie lights from Group 1, rendering their information useless. You send in an emergency group of faeries to make up for the loss. They gained a total of 10 brightness units, and visited camps as follows: 1 faerie light visited Camp B 2 faerie lights visited Camp C 3 faerie lights visited Camp D From this information (together with the information from Groups 2, 3, 4), can you determine how many imps are at each campsite? If so, report their numbers to help the faeries! If not, explain why not. EECS 16A, Spring 2016, Midterm 1 6

PRINT your name and student ID: 7. A Tale of a Million Technocrats and the Four Dream Cities (24 Points) This problem is a tale of one million Technocrats and four Dream Cities. Listed in order from West to East, the four cities are (I) San Francisco, (II) Denver, (III) Chicago, and (IV) New York City. The Technocrats don t die. They don t reproduce. In other words, their total population size is a constant from the initial time n = 0 to the end of time as n. At the strike of each second on a Universal Clock, each Technocrat chooses to either remain at the city he or she is already in, or move instantaneously to another of the four Dream Cities, according to the following rules: Every Technocrat who moves to either San Francisco or New York City will stay in that city forever (no more moving thereafter!); Whether eastward or westward, every Technocrat moves in single hops so for example, no direct move from San Francisco to either Chicago or New York City is allowed; At each second, the fraction of Technocrats in each city who move eastward legally (e.g. from Denver to Chicago, or from Chicago to New York City) is β; At each second, the fraction of Technocrats in each city who move westward legally (e.g. from Chicago to Denver, or from Denver to San Francisco) is α; The following inequality must be true: α + β 1. The following diagram summarizes these restrictions graphically. 1 α β β 1 α β β 1 I II III IV 1 α α Let the state vector for this system be at time n be: s 1 [n] s[n] = s 2 [n] s 3 [n], s 4 [n] where s l [n] denotes number of Technocrats in City l at time n; for example, s 3 [n] denotes the Technocrat population in Chicago at time n. The state-evolution equation for this system is given by where A is the state-transition matrix. s[n + 1] = A s[n], EECS 16A, Spring 2016, Midterm 1 7

(a) Determine the state-transition matrix A. (b) In this part, we re interested in backward inference of the state vector s[n] from a future state vector, say s[n + 1]. As you know, this is possible only if a matrix A 1 exists, so that s[n] = A 1 s[n + 1]. Consider a model of the Technocrat migration system described above with β = α = 1/3. Assume s[1] = 1, where 1 denotes the vector of all ones. 1 1 = 1 1 1 For this model of the system described above, either explain why time-reversed inference of the state vector is not possible, or determine s[0] from s[1] explicitly by computing A 1 first. EECS 16A, Spring 2016, Midterm 1 8

For the remainder of the problem, assume β = α = 1/4 and that the state transition matrix A is: 1 1/4 0 0 A = 0 1/2 1/4 0 0 1/4 1/2 0. 0 0 1/4 1 Recall that the following equation governs s[n], the state of the system at time n, and the initial state s[0]: s[n] = A n s[0]. For each of the remaining parts, assume that a limiting state vector exists, given by lim s[n] = s. n (c) Suppose the initial state of the system is given by the vector 1/2 s[0] = 0 0. 1/2 This means that, initially, 500,000 Technocrats are in San Francisco, and the other 500,000 are in New York City. Without complicated mathematical derivations, determine the state vector s[n] for all n 1. EECS 16A, Spring 2016, Midterm 1 9

(d) Now suppose the initial state of the system is given by the vector 0 s[0] = 1/2 1/2. 0 This means that, initially, 500,000 Technocrats are in Denver, and the other 500,000 are in Chicago. Without complicated mathematical derivations, determine the limiting state vector lim n s[n]. (e) Finally, now suppose the initial state of the system is given by the vector 1/4 s[0] = 1/4 1/4. 1/4 This means that, initially, the Technocrats are equally distributed among the four Dream Cities. Without complicated mathematical derivations, determine lim n s[n]. EECS 16A, Spring 2016, Midterm 1 10

PRINT your name and student ID: 8. Ayy - Reflections on SIXTEEN (28 points) You are involved in the design of a robot called SIXTEEN-AYY that has arms with a certain range of motion and certain operations that the arms can perform. For parts (a) (e) of this problem, we will look at a simplified case where we pretend that the robot s arm can move only in [ a 2-dimensional ] space. Thus, we will represent the position of the end of the robot s arm with px a vector p =. Let s further assume that the robot will be built to perform two movement commands p y determined by the following transformations: T 1 : Reflects p about the line y = x. T 2 : Rotates p clockwise about the origin by 45 (a) Write the matrix A 1 that applies the transformation T 1. (b) Write the matrix A 2 that applies the transformation T 2. EECS 16A, Spring 2016, Midterm 1 11

(c) Leah commands SIXTEEN-AYY to perform T 1 followed by T 2 - find the matrix A 12 that captures the effect of this sequence of commands. (d) Being the contrarian that he is, Bob instead wants to command SIXTEEN-AYY to perform T 2 followed by T 1. Find the matrix A 21 that captures the effect of this sequence of commands. (e) If SIXTEEN-AYY started out in the same initial configuration for both Bob and Leah, will its arm end up in the same place after executing Leah s command as it does after executing Bob s command? Briefly justify why or why not. EECS 16A, Spring 2016, Midterm 1 12

(f) Now let s go back to 3-dimensional space, with the position of the end of the robot arm represented as vectors P x P y P z R 3. Suppose the end of the robot s arm can reach only points in the span of the vectors 1 0 0 and 1. Circle the graph below that corresponds to this possible range of motion. 0 0 (g) Finally, we d like to allow the robot to place the end of its arm at a point that is θ radians above the x-y plane, but as shown below, is still restricted to a two-dimensional plane at that angle. Write the basis vectors that would correspond to this possible range of motion for a fixed θ. (Hint: If you had a point along the y- axis and wanted to rotate it by an angle of θ radians relative to the y-axis while remaining on the y-z plane, what transformation would you apply?) EECS 16A, Spring 2016, Midterm 1 13

PRINT your name and student ID: 9. Goodness Gracious, Great Balls of Fur! (28 points) You are a biologist who has discovered a new species of rodents that live in tunnels underground, and you have named the species "furballs". You have been observing a particular network of tunnels. Figure 1 shows the network of tunnels with three chambers in it. To document their behavior, you observe the number of furballs in each chamber at every minute. After observing the furballs behavior for a while, you have figured out that their behavior follows a regular pattern. Each minute, a well defined fraction of the furballs in a given chamber move to the other chambers. The fractions you have observed are shown in Figure 1. The fractions of furballs leaving the Play Room could not be determined through your observations, and are shown as the variables p 1, p 2, and p 3 Figure 1 (a) Let the number of furballs in the Food Storeroom at time n be x f [n], the number of furballs in Sleep room at time n be x s [n], and the number of furballs in the Play Room at time n be x p [n]. We would like x f [n + 1] x f [n] to find the transition matrix A such that, x s [n + 1] = A x s [n]. Write A using the numbers and the x p [n + 1] x p [n] variables in the diagram. EECS 16A, Spring 2016, Midterm 1 14

(b) We know that no furballs enter or leave the configuration of tunnels shown above and that during the time you re observing the behavior, and no furballs die or are born. What constraint does this place on the values of p 1, p 2, p 3? Write your answer in equation form. p 1 x f [n + 1] x f [n] (c) Suppose we let p = p 2, x[n + 1] = x s [n + 1] and x[n] = x s [n], and that we are sure that x p [n] p 3 x p [n + 1] x p [n] is nonzero. Express p as a function of the numbers in the diagram, x[n], and x[n + 1]. (Hint: what is the relationship between x[n + 1] and x[n]) EECS 16A, Spring 2016, Midterm 1 15

22 20 (d) Using part (c), solve for p given that x[n + 1] = 30 and x[n] = 30. 48 50 (e) You discover a new system of tunnels where furballs live. You know this system has 3 chambers like the last one did, but you do not know how the chambers are connected, or the behavior of this colony x 1 [n] of furballs. However, if x[n] = x 2 [n] where x i [n] represents the number of furballs in chamber i at x 3 [n] 60 timestep n, where time starts at n = 0, you observe that x[2] = 24. Which of the following pump 16 diagrams in Figure 2 represent a possible set of behaviors for this colony? 0.5 0.4 0 0.4 0.4 0.2 1 0.25 0.25 A i = 0.5 0.6 1 A ii = 0.4 0.4 0.2 A iii = 0 0.5 0.25 0 0 0 0.2 0.2 0.6 0 0 0.5 Figure 2 EECS 16A, Spring 2016, Midterm 1 16

PRINT your name and student ID: [If you are want the work on this page be graded, please state CLEARLY which problem(s) this space is for. You can also draw us something if you want or give us suggestions or complaints. You can also use this page to report anything suspicious that you might have noticed.] EECS 16A, Spring 2016, Midterm 1 17