Comprehensive Reviewer: OOP, Information Management, and Data Structures & Algorithms

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/62

flashcard set

Earn XP

Description and Tags

Flashcard deck covering fundamental concepts in PHP Object-Oriented Programming, Information Management & Relational Database Design, and Data Structures & Algorithms.

Last updated 5:47 PM on 9/5/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

63 Terms

1
New cards

PHP

A popular server-side (back-end) scripting language embedded inside HTML and executed on a web server.

2
New cards

echo

An output construct in PHP used to print data to the screen.

3
New cards

readline()

A PHP function that reads a single line of input from the Command Line Interface (CLI).

4
New cards

fgets(STDIN)

A PHP function used to read input from standard input, often combined with trim() to remove trailing newlines.

5
New cards

Indexed Array

An array in PHP that uses numeric indices starting at 0.

6
New cards

Associative Array

An array in PHP that uses named key-value pairs instead of numeric indices.

7
New cards

Object-Oriented Programming (OOP)

A programming paradigm based on the concept of objects that represent real-world entities containing data (attributes/properties) and actions (methods).

8
New cards

Class

A template or blueprint that defines properties and methods for objects.

9
New cards

Object

A concrete instance created from a class blueprint.

10
New cards
<p>Class vs. Object Comparison</p>

Class vs. Object Comparison

A side-by-side comparison illustrating classes as house blueprints and objects as actual constructed houses with assigned attribute values.

11
New cards
<p>Procedural vs. Object-Oriented Programming</p>

Procedural vs. Object-Oriented Programming

A structural comparison contrasting step-by-step procedural functions against modular OOP classes combining data and actions.

12
New cards

Encapsulation

The OOP pillar of keeping data and methods contained inside a class, restricting direct outside access to protect sensitive details.

13
New cards

Abstraction

The OOP pillar of exposing simple interfaces while hiding complex internal implementations.

14
New cards

Inheritance

The OOP pillar enabling a child class to inherit attributes and methods from a parent class while adding its own unique features.

15
New cards

Polymorphism

The OOP pillar allowing different classes to define unique implementations for methods sharing the same name.

16
New cards

public

An access modifier that allows properties or methods to be accessible from anywhere inside or outside the class.

17
New cards

protected

An access modifier that restricts property or method visibility to the declaring class itself and its derived (child) subclasses.

18
New cards

private

An access modifier that restricts access to properties or methods exclusively to the class where they are declared.

19
New cards
<p>Access Modifier Visibility Matrix</p>

Access Modifier Visibility Matrix

A matrix detailing public, protected, and private visibility permissions across inside class, subclass, and outside class contexts.

20
New cards

extends

The PHP keyword used by a derived (child) class to inherit properties and methods from a base (parent) class.

21
New cards

Method Overriding

The technique where a child class redefines an inherited parent method to provide specific behavior.

22
New cards

parent::

The scope resolution syntax in PHP used by a child class to invoke a method implementation from its parent class.

23
New cards

Data (Information Management)

Raw, unorganized facts with no inherent meaning, such as 42 or "Manila".

24
New cards

Information

Processed and structured data that has been given context and meaning.

25
New cards

Knowledge

Information applied with experience and context for decision-making.

26
New cards

Database Management System (DBMS)

An interface software between users/applications and physical storage that provides tools for data definition, manipulation, security, and recovery.

27
New cards

Relational DBMS (RDBMS)

A system that organizes data into tables (relations) with primary and foreign keys while enforcing ACID compliance via SQL.

28
New cards

Degree

The total number of columns or attributes present in a relation.

29
New cards

Cardinality (Relational Model)

The total number of rows or tuples present in a relation.

30
New cards

Domain

The allowable set of values for an attribute in a relational model.

31
New cards

Primary Key (PK)

An attribute or set of attributes that uniquely identifies each tuple in a relation, which cannot contain duplicate or NULL values.

32
New cards

Foreign Key (FK)

An attribute in a table that references a primary key in another relation to establish links between tables.

33
New cards

Candidate Key

Any column or set of columns capable of uniquely identifying a row in a relation.

34
New cards

Composite Key

A primary key composed of two or more combined attributes.

35
New cards

Referential Integrity

Rules ensuring every Foreign Key value matches an existing Primary Key value in the referenced table, preventing orphan records.

36
New cards

Conceptual Design

The database design phase that models business entities, attributes, and relationships independent of a DBMS.

37
New cards

Logical Design

The database design phase that maps conceptual ERDs to relational tables and applies normalization rules.

38
New cards

Physical Design

The database design phase that implements tables, data types, constraints, and indexes inside a specific RDBMS.

39
New cards
<p>Logical vs. Physical ERD Breakdown</p>

Logical vs. Physical ERD Breakdown

A visual breakdown comparing attributes and keys in Logical ERDs against DBMS-specific data types, constraints, and indexes in Physical ERDs.

40
New cards
<p>Advanced ER Modeling Specifications</p>

Advanced ER Modeling Specifications

A summary covering entity participation limits, M:N resolution via associative tables, supertype/subtype entities, and self-referencing recursive relationships.

41
New cards

Associative Table

A junction table used to resolve Many-to-Many (M:N) relationships by converting them into two 1:M relationships.

42
New cards

Recursive Relationship

A relationship where an entity references itself via a self-referencing foreign key.

43
New cards

Data Structure

An arrangement of data combined with specific access rules.

44
New cards

Algorithm

A finite, step-by-step procedure that transforms input into output.

45
New cards

Program

An algorithm and data structure expressed in a programming language.

46
New cards

Abstract Data Type (ADT)

A high-level specification that describes the behavior or contract of a data structure independent of its code implementation.

47
New cards

Finiteness

The property requiring an algorithm to terminate after a limited number of steps for every valid input.

48
New cards

Definiteness

The property requiring each step of an algorithm to be unambiguously and precisely stated.

49
New cards

Effectiveness

The property requiring every step of an algorithm to be basic enough to be executed exactly in finite time.

50
New cards

Big-O Notation

An asymptotic notation representing the upper bound or worst-case complexity ceiling of an algorithm, denoted as OO.

51
New cards

Big-Omega Notation

An asymptotic notation representing the lower bound of an algorithm's execution time, denoted as vast Omega\\Omega.

52
New cards

Big-Theta Notation

An asymptotic notation representing a tight bound where upper and lower complexity bounds match, denoted as vast Theta\\Theta.

53
New cards

Constant Time

A complexity class where execution time remains identical regardless of input size nn, denoted as O(1)O(1).

54
New cards

Logarithmic Time

A complexity class where execution time increases by a constant amount as input size nn doubles, denoted as O(log(n))O(\log(n)).

55
New cards

Linear Time

A complexity class where execution time grows in direct proportion to input size nn, denoted as O(n)O(n).

56
New cards

Linearithmic Time

A complexity class common in divide-and-conquer algorithms, growing slightly faster than linear time, denoted as O(nlog(n))O(n \log(n)).

57
New cards

Quadratic Time

A complexity class where execution time quadruples when input size nn doubles, denoted as O(n2)O(n^2).

58
New cards
<p>Asymptotic Complexity Step Scale</p>

Asymptotic Complexity Step Scale

A comparative chart mapping operation step counts for O(1)O(1), O(log(n))O(\log(n)), O(n)O(n), O(nlog(n))O(n \log(n)), and O(n2)O(n^2) across inputs n=10n = 10, n=1,000n = 1,000, and n=1,000,000n = 1,000,000.

59
New cards

Dynamic Array

An array structure stored in contiguous memory that resizes automatically when full by allocating a larger memory block and copying elements over.

60
New cards

Amortized Cost

The average time per operation over a worst-case sequence, such as appends in a dynamic array taking O(1)O(1) on average despite occasional resizes.

61
New cards

Singly Linked List

A non-contiguous data structure made of nodes containing data and a reference pointer to the next node.

62
New cards

Doubly Linked List

A linked data structure whose nodes contain reference pointers to both next and previous nodes, enabling bidirectional traversal.

63
New cards
<p>Dynamic Array vs. Linked List Matrix</p>

Dynamic Array vs. Linked List Matrix

A performance matrix comparing access, insertion, deletion, search complexities, and memory layout between dynamic arrays and linked lists.