Sample Video Script: Introduction to C+
+ – Variables and Data Types
INTRO (0:00–0:30)
Visuals: On-screen logo + title card animation
Audio (Instructor Speaking):
“Hi everyone, and welcome to the Pre-college Programming & AI Essentials course! I’m
[Your Name], and today we’ll start exploring C++, a powerful programming language. In this
lesson, we’ll learn how to use variables and understand data types in C++.”
SECTION 1: What Are Variables? (0:30–1:30)
Visuals: Slide showing a “container” or “box” analogy
Audio:
“In C++, a variable is a way to store information in memory so your program can use it. Each
variable must be declared with a specific type.”
Code on Screen:
string name = "Sam";
int age = 17;
float height_cm = 172.5;
Explanation Voiceover:
“Here, we’ve declared three variables: one for a name, one for age, and one for height. C++
requires us to specify the type of each variable when we declare it.”
SECTION 2: Data Types in C++ (1:30–3:30)
Visuals: Table showing common data types in C++
Audio:
“C++ supports a variety of data types. Here are some that we’ll use most often:”
Type | Example | Description
---------|----------------|-----------------------------
int | 17 | Whole number
float | 172.5 | Decimal number
string | "Sam" | Text (sequence of characters)
bool | true, false | True/False values
On-Screen Demo:
#include <iostream>
#include <string>
using namespace std;
int main() {
string name = "Sam";
int age = 17;
cout << "Name: " << name << endl;
cout << "Age: " << age << endl;
return 0;
}
SECTION 3: Quick Challenge (3:30–4:30)
Visuals: On-screen challenge prompt
Audio:
“Now it’s your turn! Create three variables: your favorite number, your first initial, and
whether you enjoy coding.”
Hint:
int favoriteNumber;
char initial;
bool likesCoding;
Callout Text: ▶️Pause the video and give it a try. Then continue when you’re ready.
SECTION 4: Recap & Real-world Use (4:30–5:30)
Audio:
“Great job! Today you’ve learned how to declare and use variables in C++. These basics are
used in building everything from games to robotics software.”
Visuals: Footage of real-world applications built with C++ (gaming, embedded systems, etc.)
OUTRO (5:30–6:00)
Audio:
“In the next lesson, we’ll dive into conditional logic in C++. Be sure to complete the short
quiz and mini-project below to lock in your learning!”
Visuals: Summary bullets + animated preview of the next topic
Post-Lesson Activity Suggestions
- Quiz: Identify correct data types and variable declarations
- Project: Create a mini program that prints your personal profile using variables