Playing With Basics of C++

Duration: 14 min

This video lesson is available to enrolled students.

Return to /learn/TCS-NQT-PREPARATION/advanced-coding/programming-in-c/c-mcqs-by-yash-sir/asset-playing-with-basics-of-c after enrolling

Inside: a video lesson and guided study material.

Module outline

  1. TCS One Shot Free Videos & Notes: TCS Preparation
  2. Numerical Ability (Foundation Section): 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, Mensuration and Geometry, Mental Ability, Age Problems, Statistics, Arithmetic, Partnership, Speed Mathematics and Basic Mathematics
  3. Reasoning Ability (Foundation Section): Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Syllogisms, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Seating Arrangements, Blood Relations, Directions (Direction Test), Analytical Reasoning (Counting Figures Reasoning), Puzzle Solving (Puzzles), Calendar, Clock, Cubes & Dices, Selection Decision Table (Decision Making), Crypt Arithmetic, Venn Diagram, Data Arrangement, Inequality, Analogy, Ranking, Order and Sequence, Logical Sequence Of Words
  4. New Pattern-Verbal Ability (Foundation Section): Sentence Completion (Fill in the blanks), English Writing Ability
  5. Old Pattern-Verbal Ability (Foundation Section): 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), Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Verbal Analogy (Word Based Analogy), Active Passive Voice (Voice), Determiner, Facts, Inference and Judgements, Adverb, Cloze Test (Cloze Passage), Sentence Construction, Verb
  6. Advanced Quantitative Ability: TCS NQT Advanced Quantitative Ability
  7. Advanced Reasoning Ability: TCS NQT Advanced Reasoning Ability
  8. Advanced Coding: Coding Questions by Yash Sir, C Programming by Yash Sir, Python for Placements by Yash Sir, DSA using Python, Object Oriented Programming (OOPS), Programming in C++, Java
  9. TCS Full Length Mock Test:
  10. TCS Interview & Resume Prep: MR & HR Interview Preparation, TCS Interview Preparation, Mock Interview, Interview Recordings, Resume Preparation, Resume Review
  11. Mega Test:
  12. Grand Test:
AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This video is a C++ programming tutorial that begins with an introduction to the C++ language, featuring a title slide with the text 'C++ PROGRAMMING' and a background of floating code snippets. The instructor, Yash Jain, then transitions to a blackboard-style presentation to review fundamental concepts. The first question asks about the original creator of C++, with the correct answer being Bjarne Stroustrup, which is confirmed by a checkmark. The second question addresses the correct syntax for including a header file, presenting options for using angle brackets or double quotes, and the instructor explains that both are valid, with the choice depending on whether the file is a system or user-defined header. The final question explains the meaning of the expression 'A.B' in C++, which is the dot operator used to access a member of an object, illustrated with a diagram of a 'Student' class and an object 'Ajay'. The video concludes with the instructor standing in front of a white screen with the 'KG' logo, summarizing the key points of the lesson.

Chapters

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

    The video opens with a title slide for a C++ programming course. The slide features a large 'C++' logo in the center, with the word 'PROGRAMMING' below it. The background is a dark screen with green and white code snippets floating around, including functions like 'fcomplex' and 'float w;'. In the top right corner, the text '- By YASH JAIN' is visible. In the bottom right corner, a small video feed shows the instructor, a man with glasses and a red shirt, speaking. A copyright notice at the bottom states, 'This is copyrighted content of KNOWLEDGE GATE EDUVENTURES, piracy of this video & sharing course contents & credentials will lead to filing of police case & heavy fine.' The instructor is seen gesturing with his hands as he speaks.

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

    The scene transitions to a blackboard with the text 'Reviewing the BASICS' written in white chalk. The instructor, visible in a small window in the bottom right, continues to speak. The video then cuts to a new slide with a question: 'Q: Which of the following is the original creator of the C++ language?'. The options are a) Dennis Ritchie, b) Ken Thompson, c) Bjarne Stroustrup, and d) Brian Kernighan. The instructor discusses the options, and a checkmark appears next to option c, 'Bjarne Stroustrup', indicating it is the correct answer. The instructor explains that Bjarne Stroustrup created C++ at Bell Labs, building upon the C language.

  3. 5:00 – 10:00 05:00-10:00

    The video displays a new question on a blackboard: 'Q: #include <userdefined.h> Which of the following is the correct syntax to add the header file in the C++ program?'. The options are a) #include <userdefined>, b) #include "userdefined.h", c) <include> "userdefined.h", and d) Both A and B. The instructor explains that the correct syntax for including a header file is '#include <filename>' for system headers and '#include "filename.h"' for user-defined headers. He writes examples on the board, such as '#include <iostream>' and '#include "myheader.h"', and explains that the choice depends on the file's location. He concludes that both options a and b are correct, so the answer is d.

  4. 10:00 – 13:45 10:00-13:45

    The final question is presented: 'Q: An expression A.B in C++ means __'. The options are A) A is member of object B, B) B is member of object B, C) Product of A and B, and D) None of these. The instructor explains that 'A.B' is the dot operator, which is used to access a member of an object. He draws a diagram of a 'Student' class with a 'name' and 'age' member, and an object 'Ajay' of that class. He writes 'Ajay.age' to illustrate that 'age' is a member of the object 'Ajay'. He confirms that the correct answer is A, 'A is member of object B'. The video ends with the instructor standing in front of a white screen with the 'KG' logo, summarizing the key points of the lesson.

The video provides a structured review of fundamental C++ concepts, starting with a historical fact about the language's creator, Bjarne Stroustrup, and then moving to practical syntax for including header files. The instructor uses a clear, step-by-step approach, explaining the difference between angle brackets and double quotes for header inclusion. The lesson culminates in a demonstration of the dot operator, a core concept for object-oriented programming, using a simple class and object example. The progression from basic syntax to object-oriented concepts provides a solid foundation for a beginner.

Loading lesson…