UGC NET Paper 2 (Computer Science)Hard
The 8-bit two's complement representation of -45 is:
- A. 10101101
- B. 11010010
- C. 11010011
- D. 10101100
Correct answer: C. 11010011
45 = 00101101; invert to 11010010 and add 1 giving 11010011; 11010010 is the 1's complement.
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 cache hit time is 2 ns, the miss rate is 5% and the miss penalty is 50 ns. The average memory access time is:
- A disease has prevalence 1%; a test has sensitivity 90% and false-positive rate 5%. The probability of disease given a positive test is…
- Alpha-beta pruning with perfect move ordering reduces the search complexity of minimax from O(b^d) to:
- A single-layer perceptron cannot learn the XOR function because XOR is:
- The number of Boolean functions of 3 variables is:
- In a Unix file system, the Linux system call that creates a new process by duplicating the caller and returns 0 in the new process is: