UGC NET Paper 2 (Computer Science)Hard
In Diffie-Hellman with p = 23 and g = 5, Alice picks a = 6 and Bob picks b = 15. The shared secret key is:
- A. 8
- B. 19
- C. 4
- D. 2
Correct answer: D. 2
A = 5^6 mod 23 = 8, B = 5^15 mod 23 = 19, key = 19^6 mod 23 = 2 = 8^15 mod 23.
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
- For 20 parties to communicate securely pairwise, the number of keys needed in symmetric and asymmetric systems respectively is:
- A flow graph has 17 edges and 13 nodes with one connected component. McCabe's cyclomatic complexity V(G) is:
- Among the cohesion types, the weakest and strongest respectively are:
- A program has 10 distinct operators, 15 distinct operands, 40 total operators and 60 total operands. Halstead volume V = N log2 n is about:
- A 5-stage pipeline executes 100 instructions with no stalls. The speed-up over the non-pipelined processor is approximately:
- A 32 KB direct-mapped cache has 64-byte lines and the address is 32 bits. The number of tag bits is: