To which class does the Euler's circuit problem belong?
P class
NP class
Partition class
Complete class
Browse topic-based Data Structure And Algorithm practice sets.
302 practice sets · Page 15 of 16
To which class does the Euler's circuit problem belong?
P class
NP class
Partition class
Complete class
The Euler's circuit problem can be solved in?
O(N)
O(N log N)
O(log N)
O(N^2)
Problems that cannot be solved by any algorithm are called?
Tractable problems
Intractable problems
Undecidable problems
Decidable problems
________ is the class of decision problems that can be solved by non-deterministic polynomial algorithms.
NP
P
Hard
Complete
The sum and composition of two polynomials are always polynomials.
True
False
Problems that can be solved in polynomial time are known as?
Intractable
Tractable
Decision
Complete
The worst-case efficiency of solving a problem in polynomial time is?
O(p(n))
O(p(n log n))
O(p(n^2))
O(p(m log n))
What is the rate of the hamming code of parity bit m=8?
0.94
0.92
0.90
0.97
For a hamming code of parity bit m=8, what is the total bits and data bits?
(255, 247)
(127, 119)
(31, 26)
(0, 8)
What is the code rate of a repetition Hamming code (3, 1)?
1
3
1/3
1.3
An Extended Hamming code is also called as:
SEDDEC
SEDDED
SECDED
SECDEC
________ is the mechanism of sending data bits multiple times to ensure consistency.
Repetition
Duplication
Mirroring
Redundancy
Including a parity bit along with the data surely detects all errors.
True
False
A two-out-of-five code consists of:
Two 0s and three 1s
Three 0s and two 1s
Four 0s and one 1
One 0 and four 1s
What is the rate of hamming codes?
1 - r/(2^r - 1)
1 - r/2^r
1 + r/2^r
r/2^r + 1
What is the message length 'k' of a Hamming(7, 4) code?
2^r - 1
2^r - r + 1
2^r - r - 1
2^(r+1) - r
What is the total block length 'n' of a Hamming code?
2^r
2^r - 1
2^(r-1) - 1
2^r + 1
Who invented Hamming codes?
Richard Hamming
Ross Hamming
Shannon
Huffman
Hamming codes can be used for both single-bit error and burst error detection and correction.
True
False
Why do we require hamming codes?
Error correction
Encryption only
Decryption
Bit stuffing