Tricks to Solve Questions on Binary Strings

Duration: 10 min

This video lesson is available to enrolled students.

Return to /learn/APTITUDE-FOR-PLACEMENT/aptitude/permutation-and-combination/special-applied-problems/asset-tricks-to-solve-questions-on-binary-strings after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Aptitude: Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Mixture and Alligation, Permutation and Combination, Logarithm, Number System, HCF LCM, Sequence and Series (Series), Speed Time and Distance, Percentage, Average, Powers and Exponents (Surds and Indices), Algebra, Probability, Profit and Loss, Simple Interest and Compound Interest, Time and Work, Pipe and Cistern, TCS NQT Advanced Quantitative Ability, Speed Mathematics and Basic Mathematics, Arithmetic, Statistics, Partnership, Age Problems, Mental Ability, Mensuration and Geometry, Linear Algebra, Calculus, Trigonometry, Vectors, Gamified / Game Based Aptitude
  2. Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Syllogisms, TCS NQT Advanced Reasoning Ability, Ranking, Order and Sequence, Analogy, Inequality, Data Arrangement, Venn Diagram, Logical Sequence Of Words, Selection Decision Table (Decision Making), Cubes & Dices, Clock, Calendar, Puzzle Solving (Puzzles), Analytical Reasoning (Counting Figures Reasoning), Directions (Direction Test), Blood Relations, Seating Arrangements
  3. Verbal Ability (English): Vocabulary, Noun, Subject Verb Agreement (Verb Noun Agreement), Adjectives, Tenses, Pronoun, Preposition, Articles, Direct and Indirect Speech, Conjunction, Modals, Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Cloze Test (Cloze Passage), Verbal Analogy (Word Based Analogy), Sentence Construction, Active Passive Voice (Voice), Determiner, Facts, Inference and Judgements, Adverb, Verb
  4. Mega Test:
  5. Grand Test:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This educational video is a lecture on combinatorics, specifically focusing on permutations, combinations, and binary strings. The instructor begins by introducing the fundamental difference between permutations (where order matters) and combinations (where order does not matter), using a visual metaphor of a detective trying to unlock a door with a permutation or combination lock. The main content then shifts to solving problems related to binary strings. The first problem asks for the number of 8-bit strings that start with '00' or end with '111', which is solved using the principle of inclusion and exclusion. The second problem asks for the number of binary strings with 'n' 0's and 'n' 1's such that the digits alternate, which is solved by recognizing the two possible alternating patterns. The final problem asks for the number of 8-bit numbers with exactly 3 zeros, which is solved using the combination formula C(8,3). The video uses a digital whiteboard for all calculations and explanations.

Chapters

  1. 0:00 – 2:00 00:00-02:00

    The video opens with a title card that visually distinguishes between 'PERMUTATION' and 'COMBINATION' using a casino theme (dice and roulette) and a fruit basket, respectively. The instructor then transitions to a slide titled 'Confused' which poses the question, 'Should I unlock with Permutation or Combination?'. This slide features a cartoon detective with a magnifying glass, standing between two doors labeled 'Permutation' and 'Combination', both of which are locked. The instructor, Yash Jain, introduces the core concept: permutations are about order (like a lock), while combinations are about selection (like a basket). The video then transitions to a new topic, 'Concept of Binary String', with a space-themed background.

  2. 2:00 – 5:00 02:00-05:00

    The instructor presents the first problem: 'Number of 8 bit strings that start with 00 or end with 111'. He explains that this is a classic inclusion-exclusion problem. He writes the formula: |A ∪ B| = |A| + |B| - |A ∩ B|. He calculates |A| (strings starting with 00) as 2^6, |B| (strings ending with 111) as 2^5, and |A ∩ B| (strings starting with 00 and ending with 111) as 2^3. He then adds these values to get the final answer. The second problem is introduced: 'Number of binary strings that has 'n' 0's and 'n' 1's such that 0's and 1's are alternating?'. He explains that for alternating strings, there are only two possible patterns: starting with 0 (010101...) or starting with 1 (101010...). He writes the two patterns on the board to illustrate this.

  3. 5:00 – 9:48 05:00-09:48

    The instructor moves to the third problem: 'Number of 8 bit numbers a) With exactly 3 zeros b) At least 3 zeros'. For part (a), he explains that this is a combination problem, C(8,3), which is the number of ways to choose 3 positions out of 8 for the zeros. He writes the formula C(8,3) = 8! / (3! * 5!) and calculates the result as 56. For part (b), he explains that 'at least 3 zeros' means 3, 4, 5, 6, 7, or 8 zeros. He writes the sum: C(8,3) + C(8,4) + C(8,5) + C(8,6) + C(8,7) + C(8,8). He then provides a more efficient method: total number of 8-bit numbers (2^8) minus the number of strings with fewer than 3 zeros (C(8,0) + C(8,1) + C(8,2)). He writes the formula: 2^8 - (C(8,0) + C(8,1) + C(8,2)) and begins the calculation. The video ends with a 'THANKS FOR WATCHING' screen.

The video provides a structured and clear explanation of key combinatorics concepts. It begins by establishing the fundamental difference between permutations and combinations through a relatable analogy. The core of the lecture is a series of progressively complex problems on binary strings, demonstrating the application of the inclusion-exclusion principle and the combination formula. The instructor uses a digital whiteboard to clearly show the step-by-step logic and calculations, making the problem-solving process transparent and easy to follow. The progression from simple counting to more complex conditional counting effectively builds the student's understanding of combinatorial principles.

Loading lesson…