Company: nvidia_22sep
Difficulty: medium
Given the following C program, determine its output when the array m is initialized as {8, 3, 3, 11, 20}. main() { int m[] = {8, 3, 3, 11, 20}; int i, sum=0, *n=m+4; for (i=0; i<5; i++) { sum=sum+(*n-i)-*(n-i); } printf("%d\n", sum); return 0; } 10 15 20 25 A 4-bit shift register circuit configured for right-shift operation transitions from the initial state 1101 to the final state 1010. Determine the number of clock cycles required for this transition. 1 2 3 4 A system has a 1 MB, 4-way set associative cache with a block size of 32 Bytes. The processor generates 64-bit addresses. Each cache line includes the tag, 2 valid bits, 1 replacement bit, and 1 modified bit. Calculate the size of the tag array in KBytes. 180 KB 212 KB 256 KB 512 KB Given a recursive function defined by f(x + 2) = f(x) + f(x + 1) for all positive integers x, with f(7) = 15 and f(15) = 135, calculate the value of f(10). 35 40 45 50 In a sequential circuit, Flip-Flops have t_setup = 3 ns, t_hold = 2 ns, and t_c