Consider the following statements about the use of backpatching in a compiler for intermediate code generation: 1. Backpatching can be used to generate code for Boolean expressions in one pass. 2. Backpatching can be used to generate code for flow-of-control statements in one pass. Which ONE of the following options is CORRECT?
Consider the following C program:
Consider the routing protocols given in List I and the names given in List II:
For matching of items in List I with those in List II, which ONE of the following options is CORRECT?
Consider the following statements:Which ONE of the following is CORRECT?
Consider the following C code:
int main() { sum = 0; for (n = 1; n < 3; n++) { n++; sum += g(f(n)); } printf("%d", sum); } int g(n) { return 10 + n; } int f(n) { return g(2 * n); }
What is the output?
A certain reaction is 50 complete in 20 minutes at 300 K and the same reaction is 50 complete in 5 minutes at 350 K. Calculate the activation energy if it is a first order reaction. Given: \[ R = 8.314 \, \text{J K}^{-1} \, \text{mol}^{-1}, \quad \log 4 = 0.602 \]
The value printed by the given C program is __________ (Answer in integer).
Refer to the given 3-address code sequence. This code sequence is split into basic blocks. The number of basic blocks is __________. (Answer in integer)1001: i = 11002: j = 11003: t1 = 10i1004: t2 = t1+j1005: t3 = 8t21006: t4 = t3-881007: a[t4] = 0.01008: j = j+11009: if j <= 10 goto 10031010: i = i+11011: if i <= 10 goto 10021012: i = 11013: t5 = i-11014: t6 = 88t51015: a[t6] = 1.01016: i = i+11017: if i <= 10 goto 1013
Suppose in a multiprogramming environment, the following C program segment is executed. A process goes into the I/O queue whenever an I/O related operation is performed. Assume that there will always be a context switch whenever a process requests an I/O, and also whenever the process returns from an I/O. The number of times the process will enter the ready queue during its lifetime (not counting the time the process enters the ready queue when it is run initially) is _________ (Answer in integer).
The maximum value of \(x\) such that the edge between the nodes B and C is included in every minimum spanning tree of the given graph is ___________ (answer in integer).
Consider the following C programThe value printed by the given C program is _________ (Answer in integer).