Time to Complete Work Together

Duration: 2 min

This video lesson is available to enrolled students.

Return to /learn/DELOITTE-NLA/technical-skills-coding/coding-questions/coding-question/asset-time-to-complete-work-together after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. Language Skills (English): Vocabulary Verbal Analogy (Word Based Analogy) Noun Pronoun Verb Adjectives Adverb Preposition Articles Conjunction Tenses Modals Subject Verb Agreement (Verb Noun Agreement) Determiner Active Passive Voice (Voice) Direct and Indirect Speech Sentence Correction (Error Correction) Sentence Completion (Fill in the blanks) Sentence Construction Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing) Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions) Cloze Test (Cloze Passage)
  2. General Aptitude (Quantitative Ability): Percentage Ratio and Proportion (Ratios) Average Profit and Loss Simple Interest and Compound Interest Time and Work Pipe and Cistern Speed Time and Distance Mixture and Alligation Age Problems Partnership Number System HCF LCM Divisibility Rules Powers and Exponents (Surds and Indices) Algebra Data Interpretation Statistics Sequence and Series (Series) Logarithm Arithmetic
  3. General Aptitude (Reasoning Ability): Series (Number and Letter Series) (Numerical Relations and Reasoning) Coding Decoding Syllogisms Blood Relations Directions (Direction Test) Ranking, Order and Sequence Inequality Logical Sequence Of Words Seating Arrangements Puzzle Solving (Puzzles) Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning) Cubes & Dices Venn Diagram Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning) Selection Decision Table (Decision Making) Analytical Reasoning (Counting Figures Reasoning) Clock Calendar Data Sufficiency Analogy
  4. Technical Skills MCQ - Data Structure: Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing
  5. Technical Skills MCQ - Networking: 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 Application Layer Network Security
  6. Technical Skills MCQ - Operating System: Introduction to OS Process Management CPU Scheduling Process Synchronization Deadlock Threads & Process Creation Memory Management Virtual Memory File Management Windows OS Linux OS Security Virtual Machines
  7. Technical Skills MCQ - DBMS: Basics of DBMS ER Diagram Relational Model & Functional Dependencies Keys & Integrity Constraints Normalization (1NF - BCNF) File Organization & Indexing Relational Algebra SQL Transaction Management Concurrency Control Database Recovery Database Security & Authorization NoSQL
  8. Technical Skills MCQ - Software Engineering: Fundamentals of Software Engineering Software Requirements and Quality Assurance Software Design, Estimation and Metrics Software Testing Software Maintenance and Configuration Management
  9. Technical Skills MCQ - Cloud Computing: Cloud Computing and IoT
  10. Technical Skills MCQ - Cyber Security: Cyber and Info Security Security in Mobile and Wireless Computing
  11. Technical Skills (Coding): Coding Questions by Yash Sir C Programming by Yash Sir Programming in C++ Java Python for Placements by Yash Sir Object Oriented Programming (OOPS) DSA by Prashant sir Coding Questions Bank
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This video is a programming tutorial from Knowledge Gate, presented by an instructor named Yash Jain Sir. The lesson focuses on solving a classic work-rate problem using C programming. The problem states that three individuals, Ajay Devgan, Shraddha Kapoor, and Deepika Padukone, can each make a 'Vimal Packet' in 'x', 'y', and 'z' days respectively, and asks for the time it takes for them to complete the packet together. The instructor first explains the mathematical concept, using the formula for combined work rate: 1 / (1/x + 1/y + 1/z), which simplifies to (x*y*z) / (x*y + y*z + x*z). He then demonstrates the solution by writing a C program. The code includes the necessary header files, declares variables, uses scanf to take user input for x, y, and z, and prints the result using printf with a precision of two decimal places. The video uses a humorous meme format with images of the actors to illustrate the problem, and the instructor's on-screen handwriting reinforces the mathematical derivation.

Chapters

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

    The video begins with the Knowledge Gate logo, followed by a slide showing the company's various educational offerings like GATE, Placement Prep, and Coding. The main content starts with a problem statement presented on a slide. The text reads: 'If Ajay Devgan makes a Vimal Packet in 'x' days, Shraddha Kapoor makes the same packet in 'y' days, and Deepika Padukone makes the same packet in 'z' days. You need to write a program where the inputs 'x', 'y', and 'z' are taken from the user and the output is the number of Vimal days it will take for all three to work together.' The slide uses images of the actors to represent the characters in the problem. The instructor, Yash Jain Sir, is visible in a small window at the bottom right. He begins to explain the problem, and on the right side of the screen, he starts writing the mathematical formula for the combined work rate, starting with '1 packet = 1/x + 1/y + 1/z'.

  2. 2:00 – 2:29 02:00-02:29

    The instructor continues to derive the formula for the combined work rate. He writes '1 packet = 1/x + 1/y + 1/z' and then simplifies it to '1 packet = (yz + xz + xy) / (xyz)'. He then inverts the equation to find the time, writing '1 packet = (xyz) / (xy + yz + xz)'. He labels the variables A, B, and C as x, y, and z respectively. The instructor then transitions to coding, and the screen changes to display a C program. The code includes '#include <stdio.h>', a main function, and variables 'double x, y, z;'. He writes the scanf function to read the inputs and the printf function to output the result, which is the formula '(x*y*z) / ((x*y) + (y*z) + (x*z))'. He emphasizes the use of double for floating-point precision and the %.2lf format specifier for two decimal places.

The video provides a clear, step-by-step tutorial on solving a work-rate problem using programming. It begins with a real-world scenario presented in a humorous, relatable way using popular actors. The instructor first establishes the mathematical foundation by deriving the formula for combined work rate. He then bridges the gap to computer science by demonstrating how to implement this formula in a C program. The progression from conceptual understanding to practical coding is logical and effective, making the lesson accessible for students learning both mathematics and programming.

Loading lesson…