Programming Foundations with DevOps - Review Flashcards

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

1/39

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering data manipulation, file handling, functions, DevOps, Docker, and control structures based on the lecture notes.

Last updated 9:00 AM on 10/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

Python Dictionary

A built-in data structure that stores information as unique key-value pairs enclosed in curly braces, allowing data access using meaningful names instead of numeric positions.

2
New cards

CRUD Operations

An acronym representing the four basic data manipulation functions: Create, Read, Update, and Delete.

3
New cards

JSON

A flexible, text-based data format structured as key-value pairs that supports numbers, strings, arrays, objects, and booleans, widely used for APIs and application data exchange.

4
New cards

CSV

A plain-text data format structured in rows and columns with comma-separated values, best suited for spreadsheet data and simple tabular storage.

5
New cards

CSV vs JSON

CSV stores tabular data in rows and columns with smaller file sizes but no nested data support, whereas JSON supports nested key-value pairs, complex application data types, and heavy API usage.

<p>CSV stores tabular data in rows and columns with smaller file sizes but no nested data support, whereas JSON supports nested key-value pairs, complex application data types, and heavy API usage.</p>
6
New cards

Relational Database (SQL)

A database system that stores structured data in tables composed of rows and columns with a fixed schema, ensuring high data integrity (e.g., PostgreSQL, MySQL, SQLite).

7
New cards

NoSQL Database

A database system that stores semi-structured or unstructured data flexibly as documents (such as JSON-like objects) with a flexible schema (e.g., MongoDB, CouchDB, DynamoDB).

8
New cards

SQL vs NoSQL

SQL databases use structured tables and fixed schemas (e.g., PostgreSQL), while NoSQL databases use flexible document-based storage and dynamic schemas (e.g., MongoDB).

<p>SQL databases use structured tables and fixed schemas (e.g., PostgreSQL), while NoSQL databases use flexible document-based storage and dynamic schemas (e.g., MongoDB).</p>
9
New cards

Python Dictionary Methods

Built-in functions for manipulating dictionaries, including keys() to get dictionary keys, values() for values, items() for key-value tuple pairs, and update() to merge key-value pairs from another dictionary.

<p>Built-in functions for manipulating dictionaries, including keys() to get dictionary keys, values() for values, items() for key-value tuple pairs, and update() to merge key-value pairs from another dictionary.</p>
10
New cards

Python List (Array)

A built-in sequence data structure that stores multiple ordered, mutable elements of heterogeneous data types using zero-based indexing.

11
New cards

Shallow Copy vs Deep Copy

A shallow copy creates a new list object but retains references to inner nested mutable objects, while copy.deepcopy() creates a completely independent clone including all nested structures.

12
New cards

File Handling Modes

Modes specified in open() defining file access behavior: 'r' (read-only default), 'r+' (read/write), 'w' (write-only overwrite/create), 'w+' (write/read overwrite), 'a' (append), and 'b' (binary).

<p>Modes specified in open() defining file access behavior: 'r' (read-only default), 'r+' (read/write), 'w' (write-only overwrite/create), 'w+' (write/read overwrite), 'a' (append), and 'b' (binary).</p>
13
New cards

File Read Methods

Methods for reading files in Python: read() reads all content into a single string, readline() reads a single line up to a specified size, and readlines() returns a list containing each line in the file.

14
New cards

DRY Principle

"Don't Repeat Yourself" - A software development practice focused on reducing code duplication by reusing functions and centralizing logic in a single place.

15
New cards

KISS Principle

"Keep It Simple" - A programming principle advocating clear, simple solutions and prioritizing code readability over complex or clever constructs.

16
New cards

IPO Model

A software structuring model that divides program execution into three distinct steps: Input, Process, and Output.

17
New cards

Function

A block of organized, reusable code used to perform a single, related action.

18
New cards

Formal Arguments

The parameter names listed inside a function's definition that serve as placeholders for incoming values inside the function.

19
New cards

Actual Arguments

The real values or variables passed into a function when it is called.

20
New cards

Positional Arguments

Function arguments that are passed and matched based strictly on the position and order in which they are defined.

21
New cards

Keyword Arguments

Function arguments passed by explicitly naming each parameter, allowing arguments to be supplied in any order.

22
New cards

*args

A function argument syntax that accepts any arbitrary number of positional arguments and packs them into a tuple.

23
New cards

**kwargs

A function argument syntax that accepts any arbitrary number of keyword arguments and packs them into a dictionary.

24
New cards

Local Variable Scope

The accessibility boundary of variables declared inside a function, which come to life when the function is called and disappear when function execution ends.

25
New cards

Procedural Design

The process of planning the workflow, inputs, steps, and outputs needed to solve a problem prior to writing actual code.

26
New cards

Python Module

A text file containing definitions of functions, classes, variables, or constants saved with a .py extension that can be imported and reused across programs.

27
New cards

DevOps

A culture and practice where developers build applications with operations, deployment, and hosting in mind from Day One to bridge development and systems operations.

28
New cards

Environmental Drift

Deployment issues where missing OS libraries or mismatched dependency versions across machines cause applications to fail outside the local development environment.

29
New cards

Docker Image

An immutable, read-only frozen snapshot that packages application code, runtime, operating system libraries, and configurations into a 100% repeatable blueprint.

30
New cards

Docker Container

An isolated, lightweight, live running instance built directly from a Docker Image that shares system resources dynamically.

31
New cards

Dockerfile

A plain-text instruction manual where system specifications, base images, dependencies to install, and startup commands are declared to build a Docker Image.

32
New cards

Docker Registry

A central cloud repository (such as Docker Hub) where pre-built Docker Images are stored, shared, and pulled.

33
New cards

Docker Volume

A persistent storage mechanism that mounts host folder directories inside disposable containers to retain saved data permanently.

34
New cards

Control Flow

The order in which individual statements, instructions, and function calls are executed within a software program.

35
New cards

Sequential Control Flow

The default control flow mode where program statements are executed one after another in the exact order they appear.

36
New cards

Conditional Control Flow

The control flow mode where a program makes dynamic decisions and chooses execution paths based on Boolean expression truth values (using if, elif, else).

37
New cards

Iteration Control Flow

The repeated execution of a code block for as long as a specified condition is met or through items of a sequence (using while or for loops).

38
New cards

range() Function

A built-in Python function that generates a range sequence object containing integers from start up to, but not including, stop by step increments.

39
New cards

break Statement

A control flow statement used in loops to immediately stop loop execution when a specified condition is satisfied.

40
New cards

continue Statement

A control flow statement used in loops to skip remaining statements in the current iteration and proceed directly to the next iteration.