4 votes 4 votes The number of 8-bit strings beginning with either 111 or 101 is 64 128 265 None of the above Theory of Computation theory-of-computation ugcnetsep2013ii + – im.raj asked Jun 16, 2016 • recategorized Oct 19, 2018 by Pooja Khatri im.raj 5.3k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 8 votes 8 votes Number of 8-bit strings beginning with 111 are 32. First 3 bits are fixed and the remaining 5 bits can be 0 or 1. So the total combinations are $2^5=32$. Same is the case with the strings starting with 101. So total number of strings are $32+32=64$. rude answered Jun 16, 2016 • selected Jun 16, 2016 by im.raj rude comment Share Follow See all 3 Comments See all 3 3 Comments reply shekhar chauhan commented Jun 16, 2016 i moved by shekhar chauhan Jun 16, 2016 reply Follow Share Answer :64 0 votes 0 votes Kaluti commented Sep 2, 2017 reply Follow Share should not we subtract the case where strings begining with 111 and ending with 101 that is 2^(2) 64 - 4 = 60 should this not be the answer? 0 votes 0 votes abhinav kumar commented Mar 9, 2020 reply Follow Share Ans. 60 0 votes 0 votes Please log in or register to add a comment.