![2 Q[4:0] ITO O Q = o O 4 3 2 Ö la Q[4] Q[3] Qi[3] = 1 ü) Q [2] = q [3]; 8 [2] =. 10 9 [4] 1602 Q [4] = 1 8[:] Q[o] = 0 g)](http://img.homeworklib.com/questions/66b43470-006d-11eb-a55d-656b66875e5e.png?x-oss-process=image/resize,w_560)
![But 9 [2] is updated to 1. -QD] Q[2] = 1. Q 1.1.0 Q. [3] Q [3] = a[4]; Q [2]€ Q. [3]; Q.[2] = 1 Q [4] llbo 9[4] = 1 Q[o Q [1]](http://img.homeworklib.com/questions/68c804e0-006d-11eb-b786-ddf1c4a41d12.png?x-oss-process=image/resize,w_560)
2. Evaluate these two pieces of code if Q starts with a value of Q [4:0]...
2. Evaluate these two pieces of code if Q starts with a value of Q [4:0] = 11001. Show work so that it is obvious that you understand. Q[3] = Q [4]; Q [2] = Q [3]; Q[4] = 1'60; Q [0]=Q [1]; Q [1]=Q [2]; Q[3] <= Q [4]; Q [2] <= Q [3]; Q [4] <= 1'b0; Q [0] <= Q [1]; Q [1] <= Q [2};
4. Consider the following code: ires - 0; for indexl - 10:-2:4 for index2 = 2:2: indexl if index2 - 6 break end ires = ires + 2; end end Evaluate in the space below the number of times indexl runs, the number of times index2 runs, and the value of ires at the end of the loop. You can verify the ires results from MATLAB but no screenshots are needed. You are required to show all work below to...
coding theory
1. If 100 031 Go 01 0 0 9 0001 27 01 0 054 is a generator matrix for a linear code over Fi encode the message stream m(2, 3,9, 6, 1,4,3, 8) (by breaking it into encodable pieces). 2. If T (1 0 1 2 3 4 be the transpose of a parity-check matrix for a perfect 1-error-correcting code over Fs, with implicit generator matrix 4410 0 0 3 4 0 1 0 0 1400 01
1....
These two pieces of code are executed on a 5 stage pipelined processor. Code-A : Counting sum of 1 to 100 using a for loop . Code-B : Looping through 100 values and printing if values are +ve or -ve. There is 50-50 chance of value being positive or negative. This processor always predicts 'branch is taken'. Which code does suffer more from purging / aborting instruction on fly? a) Both will suffer equal b) Insufficient information c) Code A ...
Evaluate 20 % 8 - (2, 4, 6, or 8)? valuate 10 % 2 - (0, 2, 4, 5)? Given the line of code: x = 5 + 5 / 5; what value will be stored in x? - (2, 5, 6, or 10)? Given the following code: int a,b=10,c=3; a = b/c; what value will be stored in the variable a? - (0, 3, 3.333333, or 4)? Given the following code: Float a, b...
Problem 5: Evaluate log(x) Jo 4+2 0 3. Show that 2x cos(e) Jo 1-cos(0)
Problem 5: Evaluate log(x) Jo 4+2 0 3. Show that 2x cos(e) Jo 1-cos(0)
1. Evaluate the following expressions if p = 8, 9 = 3, and the value of the variable found is False. Show your work. . q <= p . not (p == 4-5) . q != p % 5 . found or p > 5 and q == p + 5 2. Are you able to draw the truth tables for AND, OR, and NOT logical expressions? - Translate the following problem descriptions into Python. 3. If score is greater...
Q.4 A train starts in a train station at time t = 0 s at position r = 0 m. For 1 minute, the train has a constant acceleration a = 1 ms? then it has zero acceleration for 5 minutes, then it has a constant acceleration a = -0.25 m s-2 for 4 minutes until it stops with zero velocity at the next train station. The train track is a straight line. Draw a graph of the velocity of...
Evaluate the following problems.
a)
1. Evaluate den(Y,0,16)
2. Evaluate hex(Y[0],2)
3. Evaluate HEX(*(Y+4),2)
4. Evaluate oct(*(Y+4),3)
5. Convert Y into 13-bit binary
6. Evaluate den(Y[4],0,2)
7. What is the octal representation (3 digit) of denary 256?
8) What is the Hex ...... (3 Hex digit) of denary 256?
1530:Y 11111101 1531 01010101 1532 10000 1111 1533 1000 0000 1534 11111111 1535 10001 1101 1536 0010 1010 1537 1000 0011
Evaluate the determinant. 1 2 0 -5 4 0 -2 2 -4 1 2 0 - 54 0 = - 2 2 - 4