Consider the following program fragment that deals with a table T with 17 rows and 1024 columns, computing an average for each column and printing it to screen, where i is row index and j is column index:
for j = [0.....1023] {
temp = 0;
for i = [0.....16]:
temp = temp + T[i][j];
print(temp/17.0);
}
T[i][j] and temp are 32 bit floating point values and memory is word addressable. The temporary variable temp is kept in a processor register so access to temp does not involve a memory reference. The main memory is paged and holds 16 pages of size 1024 words, the page replacement policy is "least recently used", if T is stored in the virtual address space in row major format.
What is fault ratio of row major to column major arrangements?
Previous 10 Questions — UGC NET Computer Science June 2023 (Paper II)
Nearest first
1
2
3
4
5
6
7
8
9
10
Consider the following program fragment that deals with a table T with 17 rows and 1024 columns, computing an average f…
Topic: UGC NET Computer Science June 2023 (Paper II)
Consider the following program fragment that deals with a table T with 17 rows and 1024 columns, computing an average f…
Topic: UGC NET Computer Science June 2023 (Paper II)
Consider again that T is stored in column major format, what is the main memory hit ratio?
Topic: UGC NET Computer Science June 2023 (Paper II)
Consider the following program fragment that deals with a table T with 17 rows and 1024 columns, computing an average f…
Topic: UGC NET Computer Science June 2023 (Paper II)
An observational technique that can be used to understand operational process and help to derive requirement for softwa…
Topic: UGC NET Computer Science June 2023 (Paper II)
Consider universe positive integer $X = {1 \le n \le 8}$, proposition P = "n is an even integers", Q = "$(3 \le n \le 7…
Topic: UGC NET Computer Science June 2023 (Paper II)
Match List I with List II LIST ILIST II A. CDMA I. It provides mobile internet connection with fas…
Topic: UGC NET Computer Science June 2023 (Paper II)
Consider the following statements:A. The set of Turing machine codes for TM's that accept all inputs that are palindrom…
Topic: UGC NET Computer Science June 2023 (Paper II)
Which one of the following is NOT a part of ACID properties of a database transaction?
Topic: UGC NET Computer Science June 2023 (Paper II)
Let $(Z,+)$ denote the group of all integers under addition. Then the number of all automorphisms of $(Z,+)$ is
Topic: UGC NET Computer Science June 2023 (Paper II)
Next 10 Questions — UGC NET Computer Science June 2023 (Paper II)
Ascending by ID
1
2
3
4
5
IP datagram has arrived with following partial information in the header in hexadecimal:45000054000300002006.....What i…
Topic: UGC NET Computer Science June 2023 (Paper II)
IP datagram has arrived with following partial information in the header in hexadecimal:45000054000300002006.....What i…
Topic: UGC NET Computer Science June 2023 (Paper II)
IP datagram has arrived with following partial information in the header in hexadecimal:45000054000300002006.....What i…
Topic: UGC NET Computer Science June 2023 (Paper II)
IP datagram has arrived with following partial information in the header in hexadecimal:45000054000300002006.....What i…
Topic: UGC NET Computer Science June 2023 (Paper II)
IP datagram has arrived with following partial information in the header in hexadecimal:45000054000300002006.....How ma…
Topic: UGC NET Computer Science June 2023 (Paper II)