LESSON4-PHP&MYSQL Flashcards

1
Q

is a crucial aspect of web development, especially when dealing with sensitive user data or restricted access areas.

A

User Authentication

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

One of the simplest methods of implementing user authentication in PHP

A

Basic Username and Password

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

In PHP scripting, user authentication is typically implemented to
verify the identity of users attempting to access certain parts of a website or web application. This process involves _________, such as usernames and passwords, against stored records in a database.

A

validating user credentials

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

allow the execution of different code blocks based on specified conditions using if, else if, and else statements.

A

Conditional Statements

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

PHP supports various operators for performing arithmetic, assignment, comparison, logical, and string operations.

A

Expression and Operators

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

are used to store data values in PHP

A

Variables

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

Data Types

A

integers
floats
strings
booleans
arrays
objects

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

such as for, while, and do-while loops, allow the execution of a block of code repeatedly based on a condition.

A

Iteration Statements

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

allow the execution of different blocks of code based on the value of a variable or expression.

A

Switch Statements

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

in PHP are blocks of code that can be reused throughout your script. They help in organizing code, improving readability, and reducing redundancy.

A

Functions

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

in PHP are versatile data structures that can store multiple values in a single variable.

A

Arrays

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

PHP supports this types of arrays

A

indexed arrays, associative arrays, and multidimensional arrays

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

in PHP are instances of classes. They encapsulate data and behavior into a single entity, providing a way to model real-world entities.

A

Objects

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

are superglobal arrays in PHP used to collect form data submitted with the GET and POST methods respectively.

A

$_POST and $_GET

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

used to request data from a specified resource

A

GET

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

used to send data to a server to create/update a resource

A

POST