Answer:
B) (x<=1)
Explanation:
Though this code given will run perfectly without any requirement of base case.But still we have to include a base case I will suggest (x<=1) because the value of x is decreased by one at each recursive call so it can handle it very well and it can handle negative values of x also if user enters it by mistake since factorial is for positive numbers only.
Answer:
The number of bits allocated to information transmission should be 1216.
Explanation:
Efficiency is given as
Efficiency=Bits of Information/Total Bits
where
Bits of Information is x which is to be calculated
Total Bits is given as TB which is the sum of Bits of Information and the additional bits.
The additional bits above are the sum of Flags, Address , Control and CRC bits which are all given in the question and add up to 16+8+8+32=64 bits.
So Total Bits is given as TB which is 64+x
The efficiency is given as 95% or 0.95 so the equation becomes
So the number of bits allocated to information transmission should be 1216.
Answer:
Javascript
Explanation:
Ive learned about it and its the most known one.
I think the corect answer is c