1/11
Vocabulary-style flashcards covering the fundamental concepts of C++ programming, including variables, program structure, and naming conventions.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Computer programming
The process of creating a Program.
Program
A set of routines or instructions to be executed in devices or machines using a programming language.
Programming Language
A medium or tool used to create a program.
Declaration Area
The section in a program where the variables are being declared.
Variables
Names that refer to a section of memory in which data can be stored.
Global variable
A variable that can be used throughout the program, accessible by both the main program and functions.
Local variable
Variables that are declared inside a specific function.
Preprocessor Directive
Instructions such as #include
Constant Declaration
Using #define (e.g., #define PI 3.1416) to ensure a value is automatically replaced every time its name appears in the code.
Variable Naming Rules
Rules stating names must start with a letter or underscore, can contain letters/numbers/underscores, must not be reserved keywords, and that case is significant (e.g., num vs Num).
Data Types
Determines the values that a variable can contain and the operations that can be performed on them.
31 Characters
The number of characters considered important in variable naming according to the lecture notes.