MCQ Question
Duration: 5 min
This video lesson is available to enrolled students.
Inside: a video lesson and guided study material.
Module outline
- Behavioral Assessment (Psychometric): Behavioral Assessment (Behavioral Competency Profiling) (Psychometric Test)
- Cognitive Assessment (Game-Based): Gamified / Game Based Aptitude Selection Decision Table (Decision Making) Puzzle Solving (Puzzles) Non Verbal Reasoning (Spatial Aptitude) (Spatial Reasoning) (Visual Reasoning) Analytical Reasoning (Counting Figures Reasoning) Cubes & Dices Coding Decoding Ranking, Order and Sequence Series (Number and Letter Series) (Numerical Relations and Reasoning)
- Common Applications & MS Office (Technical Assessment): MS Office by Yash Sir
- Pseudo Code (Technical Assessment): Pseudo Codes
- Networking, Security & Cloud (Technical Assessment): 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 Cloud Computing and IoT Cyber and Info Security Emerging Tech Trends
- Python (Technical Assessment): Python for Placements by Yash Sir
- Java (Technical Assessment): Java
- OOPs (Technical Assessment): Object Oriented Programming (OOPS)
- Data Structure (Coding Round): Introduction to DS Array Stack Queue Linked List Tree Graphs Hashing
- Algorithms (Coding Round): Algorithm Analysis Sorting Algorithms Greedy Algorithms Dynamic Programming Minimum Spanning Trees Shortest Path Algos Time Complexity Analysis Advanced Algorithms
- Coding Assessment Questions: C Programming by Yash Sir Coding Questions by Yash Sir Programming in C++
- SQL (Coding Round): SQL
- JavaScript Frontend (Coding Round): JavaScript
- Communication Test (Basic Verbal Ability): Vocabulary Sentence Construction Noun Pronoun Verb Tenses Subject Verb Agreement (Verb Noun Agreement) Articles Preposition Conjunction Adverb Modals Sentence Correction (Error Correction) Sentence Completion (Fill in the blanks) Comprehension / Reading Comprehension / Unseen Passages (Critical Reasoning) (Paragraph Questions) Communication Assessment
- HR Interview: MR & HR Interview Preparation
AI summary & chapters
AI Summary
An AI-generated summary of this video lecture.
The video is a C++ programming tutorial that begins with a multiple-choice question on C++ syntax rules, presented on a PowerPoint slide. The instructor, Yash Jain, explains that the false statement is (1) 'Each new C++ instruction has to be written on a separate line,' as this is incorrect because multiple instructions can be on one line. The lesson then transitions to a live coding session in an online IDE, where the instructor writes a program to calculate simple interest. The code includes standard C++ headers, variable declarations, and input/output operations. The instructor demonstrates the program's execution, showing the console output for a principal of 10000, rate of 10, and time of 2, resulting in a simple interest of 2000. The video concludes with the instructor confirming the correct answer to the initial question and summarizing the key syntax rules.
Chapters
0:00 – 2:00 00:00-02:00
The video opens with a PowerPoint slide displaying a multiple-choice question: 'Which of the following statements is false?' The options are: (1) Each new C++ instruction has to be written on a separate line, (2) Usually, all C++ statements are entered in small case letters, (3) Blank spaces may be inserted between two words in a C++ statement, and (4) Blank spaces cannot be inserted within a variable name. The instructor, Yash Jain, begins to analyze the statements, and on-screen text indicates that statement (1) is false. The slide also shows the instructor's name and credentials as a 'Coding Expert' placed in 9 IT companies.
2:00 – 5:00 02:00-05:00
The scene shifts to a live coding environment in an online C++ debugger. The instructor writes a program to calculate simple interest, starting with the necessary headers and the main function. The code includes variable declarations for float P, R, and T, and uses cout and cin for input/output. The instructor types the formula for simple interest: 'P * R * T / 100'. The code is then executed, and the console output shows the program running with the input values: Principal = 10000, Rate = 10, Time = 2, resulting in a Simple Interest of 2000. The instructor then returns to the PowerPoint slide, where he confirms that statement (1) is false and the other statements are true, as indicated by the on-screen text.
5:00 – 5:03 05:00-05:03
The video shows the final state of the PowerPoint presentation. The instructor has completed his explanation, and the slide now clearly displays the correct answer to the multiple-choice question. Statement (1) is marked as 'False', and statements (2), (3), and (4) are marked as 'True'. The instructor's name and title are visible at the bottom of the slide, and the 'KNOWLEDGE GATE' logo is present in the background.
The video provides a comprehensive lesson on C++ syntax by first posing a conceptual question about programming rules and then demonstrating the correct implementation in a live coding environment. The instructor uses a clear, step-by-step approach, starting with a theoretical question to test understanding of syntax rules, such as the use of newlines and case sensitivity. He then transitions to a practical example, writing and executing a C++ program to calculate simple interest, which reinforces the concepts. The lesson effectively combines theory and practice, using the live code execution to validate the syntax rules discussed, and concludes by confirming the correct answer to the initial question, solidifying the learning objective.

