Answer:
Explanation:
( n cards are there initially )
we pick out the first card in random it takes n-1 comparisons to figure out
its Equivalence card - n-1 steps
Two cards have been eliminated ( this leaves us with 2 and n-2 cards)
we pick out the 2nd card in random it takes n-3 comparisons to figure out
its Equivalence card - n-3 steps
we continue to do this.. till all cards are exhausted ( leaves us with 2
and n-4 cards again)
the last comparison will
have
- n-(n-3)
the sum of all these steps - (n-1) + (n-3) + (n-5) + .........+
(n-(n-3))
if you draw this in the form of a tree.
n - n
2
n-2 - n
2
n-4 - n-2
2
n-6 - n-4
2
n-8 - n- 6
the height of the tree will be log n , sum @ each level is at most n
Answer:
010100000001101000101
Explanation:
When an error occurs in data bits, the SEC code is used to determine where the error took place. 5 check-bits are needed to generate SEC code for 16-bits data word. The check bits are:
C16=0, C8=0, C4=0,C2=0,C1=1
Therefore the SEC code is 010100000001101000101
The Correct answer would be C. <span>microphone,mouse,scanner
microphone you talk into to give info (data)
a mouse you use to click on objects to give input
a scanner you input a paper/object
hope this helps!! :)
</span>
Answer:
Disadvantages of Batch Operating System:
- The computer operators should be well known with batch systems.
- Batch systems are hard to debug.
- It is sometime costly.
- The other jobs will have to wait for an unknown time if any job fails.
Answer:
Explanation:
The Truth Table for the JK Function. Then the JK flip-flop is basically an SR flip flop with feedback which enables only one of its two input terminals, either SET or RESET to be active at any one time thereby eliminating the invalid condition seen previously in the SR flip flop circuit.