DISCRETIVE MATHAMATICS THIS BLOG ABOUT ALL DISCRETIVE MATHAMATICS TODAY ZOOM MEETING 22/06/2021 1Q:- How many different bit strings of length seven are there? Solution: STEP:-1 STRING LENTH SEVEN SO 7 PLACES STEP :2 CAN STORE IN COMPUTER IN 0 OR 1 BIT TWO WAYS CAN STORE STEP :3 _ _ __ __ __ __ __ __ PUT 2 IN ALL PLACES BECAUSE 1 OR 0 POSSIBLE WAYS STEP:4 2X2X2X2X2X2X2 =128 OR 2 7 = 128 Each of the seven bits can be chosen in two ways, because each bit is either 0 or 1. Therefore, the product rule shows there are a total of 2 7 = 128 different bit strings of length seven. 2Q:- β’ Example: How many different license plates can be made if each plate contains a sequence of three uppercase English letters followed by three digits? β’ Solution: STEP:-1 THREE LETTERS AND THREE DIGITS SO TOTAL 6 PLACES...
Comments
Post a Comment