Comprehensive Programming, Algorithms, and Database Key Terms

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

1/143

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 6:28 PM on 6/24/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

144 Terms

1
New cards

Program

A computer program is a set of instructions that tells a computer what tasks to perform and how to execute them.

2
New cards

Input

Data from a file, keyboard, touchscreen, network, or other source.

3
New cards

Process

The computation that a program performs on data such as addition, subtraction, and others.

4
New cards

Output

Where the program puts the data, such as a file, screen, network, or other location.

5
New cards

Algorithm

An unambiguous, executable, and terminating specification of a way to solve a problem.

6
New cards

Computational problem

Specifies an input, a question about the input that can be answered using a computer, and the desired output.

7
New cards

NP-complete

A set of problems for which no known efficient algorithm exists.

8
New cards

Algorithm time efficiency

The number of calculations required to solve a problem.

9
New cards

Problem solving

Creating a methodical solution to a given task.

10
New cards

Pseudocode

A high-level description of the actions of a program or algorithm, using a mixture of English and informal programming language syntax.

11
New cards

Data types

The type of values that can be stored in a program, such as numbers (integers), strings, and Booleans.

12
New cards

Operators

Symbols used to perform operations on values, such as addition, subtraction, and comparison.

13
New cards

Control structures

Statements used to control the flow of a program, such as if-else statements, loops, and function calls.

14
New cards

Libraries and frameworks

Collections of pre-written code that can be used to perform common tasks and speed up development.

15
New cards

Paradigms

The programming style or philosophy used in the language, such as procedural, object-oriented, or functional.

16
New cards

Variable

A named storage location in memory that holds a value or data.

17
New cards

Function

A self-contained block of code that performs a specific task and can be called from other parts of the program.

18
New cards

Control flow

The order in which statements are executed in a program, including loops and conditional statements.

19
New cards

Syntax

The set of rules that govern the structure and format of a programming language.

20
New cards

Comment

A piece of text in a program that is ignored by the compiler or interpreter, used to add notes or explanations to the code.

21
New cards

Debugging

The process of finding and fixing errors or bugs in a program.

22
New cards

IDE

Integrated development environment, a software application that provides a comprehensive development environment for coding, debugging, and testing.

23
New cards

Operator

A symbol or keyword that represents an action or operation to be performed on one or more values or variables.

24
New cards

Statement

A single line or instruction in a program that performs a specific action or operation.

25
New cards

System programming

Developing operating systems, device drivers, and other low-level software.

26
New cards

Scripting

Automating repetitive tasks or performing system administration tasks.

27
New cards

Prototyping

Quickly creating prototypes or proof-of-concept applications due to its simplicity and speed of development.

28
New cards

High-level programming language

A programming language that provides an abstract view of a computer and allows programmers to focus on their problem domain.

29
New cards

Argument

A value supplied in a function or method call, or one of the values combined by an operator.

30
New cards

String

A sequence of characters.

31
New cards

Folder

A structure on a disk that can hold files or other folders; also called a directory.

32
New cards

Directory

A structure on a disk that can hold files or other directories; also called a folder.

33
New cards

Python shell

A user interface that can be used to interact with the Python interpreter.

34
New cards

Prompt

A string that tells the user to provide input.

35
New cards

Type

A named set of values and the operations that can be carried out with them.

36
New cards

Primitive type

A data type provided by the language itself.

37
New cards

User-defined data types

A data type, not provided by the language, that is defined by the user.

38
New cards

Integer

A number that cannot have a fractional part.

39
New cards

Floating-point number

A number that can have a fractional part.

40
New cards

Number literal

A constant value in a program that is explicitly written as a number.

41
New cards

Case sensitive

Distinguishing upper- and lowercase characters.

42
New cards

Reserved word

A word that has a special meaning in a programming language and therefore cannot be used as a name by the programmer.

43
New cards

Constant

A value that cannot be changed by a program.

44
New cards

Magic number

A number that appears in a program without explanation.

45
New cards

Parameters

Variables in a function's definition.

46
New cards

Encapsulation

Bundling data (attributes) and methods (functions) that operate on the data within one unit, eg, a class.

47
New cards

Abstraction

Hiding the complex implementation details and exposing only the necessary parts.

48
New cards

Inheritance

Mechanism to create a new class using details of an existing class without modifying it.

49
New cards

Polymorphism

Ability to define a single interface or method that can be used with different data types or classes.

50
New cards

Class attributes

Attributes that are shared among all instances of a class.

51
New cards

Instance attributes

Attributes that are unique to each instance.

52
New cards

Instance methods

Operate on an instance of the class.

53
New cards

Class methods

Operate on the class itself, not on instances.

54
New cards

Static methods

Do not operate on class or instance; used as utility functions.

55
New cards

Runtime complexity

A function, T(N), that represents the number of constant time operations performed by the algorithm on an input of size N.

56
New cards

Best case

The scenario where the algorithm does the minimum possible number of operations.

57
New cards

Worst case

The scenario where the algorithm does the maximum possible number of operations.

58
New cards

Hypothesis

States a possible cause of a problem.

59
New cards

Test

A procedure typically with two possible results that either validate or invalidate a hypothesis.

60
New cards

Hierarchy

Object can be decomposed into sub-objects.

61
New cards

Binary search

Divides an item into two halves, runs a test to decide in which half something lies, and repeats the binary search on that half.

62
New cards

Bug

A problem's cause in a program.

63
New cards

Visual inspection

A basic debugging process where you look at each statement one-by-one to try to find a bug.

64
New cards

Debug output statements

Outputs that help determine whether the preceding statement has the bug.

65
New cards

Syntax errors

These occur when the Python parser is unable to understand a line of code.

66
New cards

Runtime errors

These errors occur during the execution of a program.

67
New cards

Semantic errors

These are the most insidious errors as the program runs without crashing, but it doesn't produce the expected output.

68
New cards

Linting errors

These are not necessarily errors but rather suggestions for best practices or coding standards.

69
New cards

Data

Is numeric, textual, visual, or audio information that describes real-world systems.

70
New cards

Analog

Encoded as continuous variations on various physical media.

71
New cards

Digital

Encoded as zeros and ones on electronic and magnetic media.

72
New cards

DBMS

Database management system is software that reads and writes data in a database.

73
New cards

Query

A request to retrieve or change data in a database.

74
New cards

Query language

A specialized programming language, designed specifically for database systems.

75
New cards

Database administrator

Responsible for securing the database system.

76
New cards

Database designer

Determines the format of each data element and the overall database structure.

77
New cards

Database programmer

Develops computer programs that utilize a database.

78
New cards

Database user

Is a consumer of data in a database.

79
New cards

Query processor

Interprets queries, creates a plan to modify the database or retrieve data, and returns query results to the application.

80
New cards

Query optimization

To ensure the most efficient instructions are executed on the data.

81
New cards

Storage manager

Translates the query processor instructions into low-level file-system commands that modify or retrieve data.

82
New cards

Transaction manager

Ensures transactions are properly executed and prevents conflicts between concurrent transactions.

83
New cards

Log

A file containing a complete record of all inserts, updates, and deletes processed by the database.

84
New cards

Catalog/Data dictionary

A directory of tables, columns, indexes, and other database objects.

85
New cards

Relational database

Stores data in tables, columns, and rows, similar to a spreadsheet.

86
New cards

SQL

Stands for Structured Query Language and includes statements that read and write data, create and delete tables, and administer the database system.

87
New cards

Big data

Massive volumes of data resulting from the growth of the internet in the 1990s.

88
New cards

NoSQL

Stands for 'not only SQL' referring to non-relational systems that are optimized for big data.

89
New cards

Open source

Software that anyone can inspect, copy, and modify with no licensing fee.

90
New cards

Database model

A conceptual framework for database systems, with three parts: data structures, operations, and rules.

91
New cards

Relational model

A database model based on a tabular data structure.

92
New cards

Set

An unordered collection of elements enclosed in braces.

93
New cards

Tuple

An ordered collection of elements enclosed in parentheses.

94
New cards

Relational rules

Part of the relational model and govern data in every relational database.

95
New cards

Business rules

Based on business policy and specific to a particular database.

96
New cards

Data Definition Language (DDL)

Defines the structure of the database.

97
New cards

Data Query Language (DQL)

Retrieves data from the database.

98
New cards

Data Manipulation Language (DML)

Manipulates data stored in a database.

99
New cards

Data Control Language (DCL)

Controls database user access.

100
New cards

Data Transaction Language (DTL)

Manages database transactions.