UGC NET Paper 2 (Computer Science)Very hard
Relations R (1000 blocks) and S (500 blocks) are joined with block nested-loop join, R as the outer relation, using 12 buffer blocks in total (10 for buffering R, 1 for S, 1 for output). The number of block transfers is approximately:
- A. 51,000
- B. 500,000
- C. 1,500
- D. 11,000
Correct answer: A. 51,000
R is read in ceil(1000/10) = 100 chunks; for each chunk all of S (500 blocks) is scanned, giving 100 x 500 = 50,000, plus the 1000 blocks to read R once, totalling 51,000.
Practise more UGC NET Computer Science and Applications questionsUGC NET Computer Science and Applications: notes and key points
More UGC NET Computer Science and Applications questions
- The Durability property of ACID transactions is primarily guaranteed by:
- Compared to a ripple-carry adder, a carry-lookahead adder reduces the worst-case addition delay of one block mainly because it:
- A cache is 64 KB in total, 2-way set associative, with 32-byte blocks and a 32-bit address. The number of tag bits is:
- Function Point Analysis estimates software size primarily by:
- In the Capability Maturity Model (CMM), the level at which software processes are characterised as ad hoc, and sometimes chaotic, with…
- Consider. I. For an LL(1) grammar, the FIRST sets of a nonterminal's alternative productions must be pairwise disjoint. II. If one…