Playing With Basics of C++

Duration: 14 min

This video lesson is available to enrolled students.

Return to /learn/COGNIZANT-PREPARATION/technical-assessment/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. Communication Round: Vocabulary, Subject Verb Agreement (Verb Noun Agreement), Tenses, Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions), Cloze Test (Cloze Passage), Sentence Correction (Error Correction), Sentence Completion (Fill in the blanks), Sentence Re-arrangements (Para Jumbles) (Narrative Sequencing), Direct and Indirect Speech, Active Passive Voice (Voice), Verbal Analogy (Word Based Analogy), Articles, Preposition, Conjunction, Sentence Construction, English Writing Ability, Communication Assessment
  2. Quantitative Aptitude: Ratio and Proportion (Ratios), Divisibility Rules, Data Interpretation, Mixture and Alligation, Permutation and Combination, Logarithm, Number System, HCF LCM, Speed Time and Distance, Percentage, Average, Powers and Exponents (Surds and Indices), Time and Work, Mensuration and Geometry, Age Problems, Pipe and Cistern, Probability, Profit and Loss, Simple Interest and Compound Interest, Algebra
  3. Analytical and Logical Reasoning: Series (Number and Letter Series) (Numerical Relations and Reasoning), Coding Decoding, Data Sufficiency, Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning), Directions (Direction Test), Ranking, Order and Sequence, Deductive and Inductive Reasoning (Logical Deduction and Induction) (Prepositional Reasoning), Selection Decision Table (Decision Making), Logical Sequence Of Words, Puzzle Solving (Puzzles), Syllogisms, Seating Arrangements, Calendar, Clock, Blood Relations, Cubes & Dices, Venn Diagram, Analytical Reasoning (Counting Figures Reasoning)
  4. Cognizant Gaming Aptitude: Gamified / Game Based Aptitude
  5. Java (Cluster 1): Java
  6. ANSI SQL MySQL (Cluster 1,2,3): SQL
  7. HTML, CSS, JavaScript (Cluster 1,3): HTML, CSS, JavaScript
  8. Python (Cluster 2): Python for Placements by Yash Sir
  9. Cloud Fundamentals (Cluster 2): Emerging Tech Trends
  10. C# (Cluster 3): C#
  11. OOPs: Object Oriented Programming (OOPS)
  12. Technical Assessment (Coding): Coding Questions by Yash Sir, C Programming by Yash Sir, Programming in C++, Pseudo Codes
  13. Data Structures: Introduction to DS, Array, Stack, Queue, Linked List, Tree, Graphs, Hashing
  14. DBMS: Basics of DBMS, ER Diagram, Relational Model & Functional Dependencies, Keys & Integrity Constraints, Normalization (1NF - BCNF), Decomposition Properties & 4NF, File Organization & Indexing, Relational Algebra, Relational Calculus, Transaction Management, Concurrency Control, Database Recovery, ORDBMS, Database Security & Authorization, Query Processing & Optimization, Enhanced Data Models, Data Warehousing & Mining, Big Data Systems, NoSQL
  15. Operating Systems: Introduction to OS, Process Management, CPU Scheduling, Process Synchronization, Deadlock, Threads & Process Creation, Memory Management, Virtual Memory, Disc Scheduling, File Management, Windows OS, Linux OS, Security, Distributed Systems, Virtual Machines
  16. Computer Networks: 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, Mobile Technology, Cloud Computing and IoT, Cyber and Info Security
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…