Given the following information: The logical address (L.A.) is 32 bits. The physical address (P.A.) is 20 bits. The page size (P.S.) is 2048 bytes (2 KB). What is the maximum number of entries in the page table?
Let \( A \) be a \( 3 \times 3 \) matrix defined as:
Find the eigenvalues of \( A^{13} \).
What is the time complexity of the following algorithm? int func(int n) { for (int i = 1; i < = n; i++) { for (int j = 1; j < = n; j++) { printf("Hello"); } } }
Given an array \( A[n] \) such that:
Find the time complexity to find \( A[i] \).
Given the matrix \( A = \begin{bmatrix} 1 & 2 \\ 2 & -1 \end{bmatrix} \), find \( A^8 \).
Consider the following operations on an initially empty stack: Push 10 Push 20 Pop Push 30 Pop Push 40 What is the final content of the stack?
Consider the following process information for Shortest Remaining Time First (SRTF) scheduling:
Find the turnaround time for each process.
Given the following cache parameters:
Find the size of the main memory and the size of the cache memory.
Which of the following is true about the binary search algorithm when applied to a sorted array?
Given a pipeline with 5 stages, the delay for each stage is as follows:
The buffer delay is 10 ns. Find the time for \( n = 1000 \) instructions.
Consider the following code:
main() { int x = 126, y = 105; { if (x > y) x = x - y; else y = y - x; } while (x != y) printf("%d", x); }
Consider the following read-write schedule $ S $ over three transactions $ T_1, T_2, \text{and } T_3 $, where the subscripts in the schedule indicate transaction IDs: $ S: r_1(z); w_1(z); r_2(x); r_3(y); w_3(y); r_2(y); w_2(x); w_2(y); $ Which of the following transaction schedules is/are conflict equivalent to $ S $?