Introductory Programming Concepts and Vocabulary

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

1/22

flashcard set

Earn XP

Description and Tags

Flashcards covering essential foundational programming terms and concepts, including operators, errors, scope, and variables.

23 Terms

1
New cards

Floor Division

A mathematical division operation that divides two numbers and rounds down the quotient to the nearest whole integer.

2
New cards

Syntax Error

An error that occurs when code violates the grammar and structural rules of a programming language, preventing the program from compiling or running.

3
New cards

Boolean Variable

A variable that holds a Boolean data type, representing only one of two possible states: true or false.

4
New cards

Assignment Operator

An operator used to assign or store a specified value into a variable.

5
New cards

MOD Operator

An arithmetic operator that divides one number by another and returns the remainder.

6
New cards

Boolean Expression

An expression that is evaluated to produce a result of either true or false.

7
New cards

Boolean Value

A binary data value that can represent only one of two conditions, typically true or false.

8
New cards

Global Variable

A variable defined outside of all functions, making it accessible throughout the entire program.

9
New cards

Run-Time Error

An error that occurs while a program is actively executing, causing it to crash or terminate abnormally.

10
New cards

Local Variable

A variable declared inside a specific function or code block that is only accessible within that scope.

11
New cards

Function

A named, reusable sequence of statements designed to perform a specific task.

12
New cards

Variable

A named storage location in memory used to hold data values that can be referenced and modified during program execution.

13
New cards

Local Scope

The specific region of a program—such as within a function—where variables declared locally can be recognized and used.

14
New cards

Comparison Operators

Operators used to evaluate the relationship between two values, resulting in a Boolean value.

15
New cards

Global Scope

The outermost context of a program in which variables and functions declared are visible to and accessible by all parts of the code.

16
New cards

Function Call

A code statement that instructs the program to invoke and execute the code contained within a specific function.

17
New cards

Magic Number

A hard-coded, unexplained numeric value directly written in code instead of being assigned to a descriptive named constant.

18
New cards

String

A data type consisting of an ordered sequence of characters, typically enclosed in quotation marks.

19
New cards

Logical Operators

Operators (such as AND, OR, and NOT) used to connect or modify Boolean conditions to determine compound logical outcomes.

20
New cards

Whitespace Characters

Characters that introduce non-printing blank space into code, including spaces, tabs, and line breaks.

21
New cards

Logic Error

A mistake in a program's design that allows the program to run without crashing but produces incorrect or unexpected outputs.

22
New cards

Conditional Statement

A control structure that decides which block of code to run depending on whether a given condition evaluates to true or false.

23
New cards

Expression

A combination of values, variables, and operators that is computed and evaluated to yield a single value.