1.

If in a bits string of {0,1}, of length 4, such that no two ones are together. Then the total number of such possible strings are?(a) 1(b) 5(c) 7(d) 4This question was posed to me in an interview for job.My enquiry is from Logic and Bit Operations topic in chapter The Foundation: Logics and Proofs of Discrete Mathematics

Answer»

Right CHOICE is (c) 7

Easy EXPLANATION: STRINGS can be {1001, 1010, 0101, 1000, 0100, 0010, 0001}.



Discussion

No Comment Found

Related InterviewSolutions