Executing Python First Program

Duration: 3 min

This video lesson is available to enrolled students.

Enroll to watch — DSSSB TGT Computer Science 2026 Section B

AI Summary

An AI-generated summary of this video lecture.

This video is a lecture on executing a first program in Python, presented by an instructor in front of a digital screen. The lecture begins with a title slide that reads "Executing First Python Program". The instructor then transitions to a split-screen view, using the left side to write Python code and the right side to write C code for comparison. He demonstrates a simple Python program using the `print("Hello dear")` function. On the right, he writes a C program, starting with `#include <stdio.h>`, followed by `void main()`, and then `printf("Hello dear");`. He also shows a C program with variable declarations, writing `x = 10` and `y = 20`, and then `printf(x+y)`. The video concludes with a "Thank You" slide. The overall teaching style is direct, using on-screen writing to illustrate the syntax and structure of basic programs in both languages.

Chapters

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

    The video opens with a title slide that reads "Executing First Python Program". The instructor, a man in a black polo shirt, stands in front of a large digital screen. He begins to explain the concept of executing a first program. The screen then transitions to a split view, with a blank digital blackboard on the left and a partially filled one on the right. The instructor starts writing on the left side, beginning with the Python code `print("Hello dear")`. On the right side, he writes the C code `#include <stdio.h>`, `void main()`, and `printf("Hello dear");`. He also writes `x = 10` and `y = 20` on the left, and `printf(x+y)` below it, demonstrating a simple calculation in C. The instructor uses a stylus to write and gestures to explain the code.

  2. 2:00 2:33 02:00-02:33

    The instructor continues to write on the digital board, completing the C code example with `x = 10` and `y = 20` on the left side, and `printf(x+y)` below it. He then moves to the right side of the screen to write the closing remarks. The screen transitions back to a full-screen view with a dark background and a large white circle. The text "Thank You" appears in the center of the screen. The instructor stands in front of the screen, concluding the lecture. The video ends on this slide.

The video provides a comparative introduction to programming by demonstrating the syntax for a simple 'Hello World' program in both Python and C. The instructor uses a split-screen format to highlight the differences in structure and syntax between the two languages, starting with the basic print statement in Python and then showing the more complex structure of a C program, including header files, main function, and the printf function. The lesson is structured to help beginners understand the fundamental steps of writing and executing a program, using clear, on-screen examples to illustrate the concepts.