Tricks to Solve Questions on Binary Strings

Duration: 10 min

This video lesson is available to enrolled students.

Return to /learn/LTI-MINDTREE-PREPARATION/quantitative-ability/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. English Comprehension/Verbal Ability: Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Vocabulary, Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Subject Verb Agreement (Verb Noun Agreement), Tenses, Verb, Articles, Preposition, Conjunction, Pronoun, Noun, Adjectives, Adverb, Modals, Cloze Test (Cloze Passage), Active Passive Voice (Voice), Direct and Indirect Speech, Sentence Construction
  2. Logical Ability: Coding Decoding, Directions (Direction Test), Analogy, Inequality, Data Sufficiency, Series (Number and Letter Series) (Numerical Relations and Reasoning), Syllogisms, Seating Arrangements, Puzzle Solving (Puzzles), Blood Relations, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Ranking, Order and Sequence, Logical Sequence Of Words, Data Arrangement, Venn Diagram, Calendar, Clock
  3. Quantitative Ability: Logarithm, Permutation and Combination, Probability, Profit and Loss, Speed Time and Distance, Mixture and Alligation, Partnership, Simple Interest and Compound Interest, Percentage, Ratio and Proportion (Ratios), Average, Time and Work, Pipe and Cistern, Number System, Divisibility Rules, HCF LCM, Algebra, Powers and Exponents (Surds and Indices), Mensuration and Geometry, Age Problems, Data Interpretation, Sequence and Series (Series)
  4. Basic Analytical Ability: Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Analytical Reasoning (Counting Figures Reasoning), Cubes & Dices, Selection Decision Table (Decision Making)
  5. Computer Programming: Pseudo Codes, Coding Questions by Yash Sir, C Programming by Yash Sir, Programming in C++, Java, Python for Placements by Yash Sir
  6. DBMS (Computer Science): Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Transaction Management, Concurrency Control, Database Security & Authorization
  7. SQL (Computer Science): SQL
  8. OS (Computer Science): Introduction to OS, Process Management, CPU Scheduling, Deadlock, Process Synchronization, Threads & Process Creation, Memory Management, Virtual Memory, File Management
  9. Computer Networks (Computer Science): Introduction to CN, Data Communication, DLL: Access Control, DLL: Flow Control, DLL: Error Control, DLL: Framing, Data Link Layer - Ethernet, Net Layer: IPv4 & Proto, Net Layer: IP Addressing, Net Layer:Routing Protocol, Transport Layer Services, TL: Congestion & UDP, Application Layer, Hardware basics, Network Security
  10. Data Structures (Computer Science): Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing
  11. OOPs (Computer Science): Object Oriented Programming (OOPS)
  12. Software Engineering (Computer Science): Fundamentals of Software Engineering, Software Requirements and Quality Assurance, Software Design, Estimation and Metrics, Software Testing, Software Maintenance and Configuration Management
  13. SVAR Conversational - Spoken English: Communication Assessment
  14. HR Interview: MR & HR Interview Preparation
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…