Untitled Deck Flashcards

(85 cards)

1
Q

SQL

A

Structured Query Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

MySQL

A

A relational database management system created by MySQL AB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

RDBMS

A

Relational Database Management System, a program used to maintain a relational database.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Database

A

A collection of tables, with related data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Table

A

A collection of related data entries, consisting of columns and rows.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Column

A

Holds specific information about every record in the table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Record

A

Each individual entry that exists in a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

VARCHAR

A

A variable‑length string (can contain letters, numbers, and special characters).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

INT

A

A medium integer. Signed range is from -2147483648 to 2147483647. Unsigned range is from 0 to 4294967295.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DATE

A

A date. Format: YYYY-MM-DD. The supported range is from ‘1000-01-01’ to ‘9999-12-31’.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

DQL

A

Data Query LanguageStatements that query the database but do not alter any data or database objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DML

A

Data Manipulation Language. Statements that modify data stored in database objects.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

SQL SELECT Statement

A

Used to display all columns or specific columns from a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SQL WHERE Clause

A

Used to display columns with conditions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

SQL AND Operator

A

Displays a record if all the conditions separated by AND are TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

SQL OR Operator

A

Displays a record if any of the conditions separated by OR is TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

SQL NOT Operator

A

Displays a record if the condition(s) is NOT TRUE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

SQL ORDER BY keyword

A

Used to sort the result‑set in ascending or descending order.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

SQL INSERT INTO Statement

A

Used to insert new records in a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

MySQL UPDATE Statement

A

Used to modify the existing records in a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

MySQL DELETE Statement

A

Used to delete existing records in a table.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Delete All Records

A

DELETE FROM table_name;

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

PHP

A

Hypertext Preprocessor, a widely‑used open‑source server‑side scripting language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

PHP script

A

Code block between <?php and ?> executed on the server to generate HTML.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
File extension .php
Default extension for files containing PHP code.
26
PHP variable
Container for data in PHP, starts with $, case‑sensitive, must begin with a letter or underscore.
27
global keyword
Keyword used inside a function to access a variable from the global scope.
28
Data types
Categories of data in PHP: String, Integer, Float, Boolean, Array, Object, NULL, Resource.
29
String
Sequence of characters.
30
Integer
Whole number.
31
Float
Floating‑point (double) number.
32
Boolean
TRUE or FALSE value.
33
Array
Collection of values accessed by index or key.
34
Object
Instance of a class containing properties and methods.
35
NULL
Special type representing no value.
36
Resource
Special variable referencing an external resource (e.g., database connection).
37
Operators
Symbols for performing operations on variables and values.
38
Arithmetic operators
+, -, *, /, % for mathematical operations.
39
Assignment operators
=, +=, -=, etc., for assigning values to variables.
40
Comparison operators
==, ===, !=, <, >, <=, >= for comparing values.
41
Increment/Decrement operators
++ and -- to increase or decrease a variable's value by one.
42
Logical operators
&&, ||, ! to combine or invert boolean conditions.
43
String operators
. and .= to concatenate strings.
44
Array operators
+, ==, ===, !=, !== to compare or merge arrays.
45
Conditional assignment operators
Ternary operator (?:) to assign values based on a condition.
46
Conditional statements
Constructs for branching code execution based on conditions.
47
if statement
Executes a code block if a specified condition is true.
48
if...else statement
Executes one block if a condition is true and another if it's false.
49
if...elseif...else statement
Tests multiple conditions sequentially and executes the matching block.
50
switch statement
Selects one of many code blocks to execute based on a variable's value.
51
Loops
Constructs to execute code repeatedly while a condition holds.
52
while loop
Repeats a code block while the specified condition is true.
53
do...while loop
Executes a code block once, then repeats while the condition is true.
54
for loop
Repeats a code block a specified number of times with an index.
55
foreach loop
Iterates over each element in an array.
56
Functions
Reusable blocks of code that execute when called.
57
Built‑in functions
Predefined PHP functions available for common tasks.
58
User‑defined functions
Custom functions declared by the programmer.
59
Indexed arrays
Arrays with numeric indices starting at 0.
60
Associative arrays
Arrays with named keys.
61
Multidimensional arrays
Arrays containing one or more arrays.
62
sort()
Function to sort arrays in ascending order.
63
rsort()
Function to sort arrays in descending order.
64
asort()
Sorts associative arrays by value in ascending order.
65
ksort()
Sorts associative arrays by key in ascending order.
66
arsort()
Sorts associative arrays by value in descending order.
67
krsort()
Sorts associative arrays by key in descending order.
68
Superglobals
Built‑in variables always accessible regardless of scope.
69
$GLOBALS
Associative array containing references to all global variables.
70
$_SERVER
Array containing server and execution environment information.
71
$_REQUEST
Array containing GET, POST, and COOKIE data.
72
$_POST
Array containing HTTP POST variables.
73
$_GET
Array containing HTTP GET variables.
74
$_FILES
Array containing information about uploaded files.
75
$_ENV
Array containing environment variables.
76
$_COOKIE
Array containing HTTP cookie variables.
77
$_SESSION
Array containing session variables.
78
PHP Connect to MySQL
Using mysqli or PDO functions to establish a database connection.
79
PHP MySQL Insert Data
Executing SQL INSERT statements via PHP to add records to MySQL.
80
Select Data From a MySQL Database
Executing SQL SELECT statements via PHP to retrieve MySQL data.
81
PHP MySQL Delete Data
Executing SQL DELETE statements via PHP to remove records from MySQL.
82
PHP MySQL Update Data
Executing SQL UPDATE statements via PHP to modify records in MySQL.
83
Raymond Boyce and Donald Chamberlin
SQL was developed in the 1970s by IBM researchers
84
David Axmark and Allan Larsson, along with Finnish Michael "Monty" Widenius.
MySQL was created by a Swedish company, MySQL AB, founded by Swedes
85
Rasmus Lerdof
PHP was conceived sometime in the fall off 1994 by