Introduction to C++ Lesson 1 Flashcards

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/11

flashcard set

Earn XP

Description and Tags

Vocabulary-style flashcards covering the fundamental concepts of C++ programming, including variables, program structure, and naming conventions.

Last updated 4:22 AM on 7/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

12 Terms

1
New cards

Computer programming

The process of creating a Program.

2
New cards

Program

A set of routines or instructions to be executed in devices or machines using a programming language.

3
New cards

Programming Language

A medium or tool used to create a program.

4
New cards

Declaration Area

The section in a program where the variables are being declared.

5
New cards

Variables

Names that refer to a section of memory in which data can be stored.

6
New cards

Global variable

A variable that can be used throughout the program, accessible by both the main program and functions.

7
New cards

Local variable

Variables that are declared inside a specific function.

8
New cards

Preprocessor Directive

Instructions such as #include that provide standard input/output library functions like cincin and coutcout.

9
New cards

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.

10
New cards

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., numnum vs NumNum).

11
New cards

Data Types

Determines the values that a variable can contain and the operations that can be performed on them.

12
New cards

3131 Characters

The number of characters considered important in variable naming according to the lecture notes.