Question
Divide 54 into 4 parts such that if the first is
increased by 2, the second is decreased by 2, the third is multiplied by 2 and the fourth divided by 2, the result is the same. Find out First part?Solution
Let I, II, III, IV part are A, B, C, D respectively. Then A + B + C + D = 54 According to the question, ABCD x+2x-22xx/2 2x+4+2x-4+4x+x=54×2 9x =108 X=12. So, first number =12+2=14
Huffman Coding uses a greedy approach to achieve what?
In ___ each address field determines two address fields i.e. either a memory word or the processor register.
Ignoring quantization noise and considering only channel noise in pulse coded modulation system, if signal-to-noise ratio is 10 dB, noise power is 2 dB,...
What is the primary purpose of virtual memory in an operating system?
Which of the following is a primary reason for using threads instead of multiple processes for concurrent execution within a single application?
Which of one the below options are the two different types of bus topology ?
Consider the following code:
let data = [1, 2, 3];
function modifyArray(arr) {
arr.push(4);
...
What does "optimal substructure" mean in the context of Dynamic Programming?
What were the early operating systems commonly known as, and what was their primary function?
Which heuristic function property ensures A* algorithm finds an optimal path?