Third Quarter of Exam Deck Flashcards

1
Q

What are the values for justify-content?

A
  1. center
  2. flex-start
  3. flex-end
  4. space-around
  5. space-between
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the values for align-items

A
  1. center
  2. flex-start
  3. flex-end
  4. stretch
  5. baseline
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is responsive design?

A

Responsive Design allows a website to appear differently on different kinds of devices.

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

Write the code for Viewport Scaling

A

<meta name=‘viewport’ content=‘width=device-width, initial-scale=1.0’>

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

Explain how to design a form (before coding)

A
  • Identify the types of information to collect
  • Use labels and legends to clearly identify the meaning of each Web form element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

List the form UI elements

A
  • A Web form is created using the HTML <form> </form> element
  • The HTML <fieldset> element groups fields in sections of the form
  • Text boxes are created using the HTML input type with value text
  • Text areas are created using HTML textarea elements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is templating languages?

A

It is called a templating language because we specify the HTML as a template, where the data will be filled in later

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

What is programming languages

A

programming languages will perform the backend logic on websites the tasks that programming languages do include:
* Processing user login
* Performing database searches
* Adding, updating, and deleting database records

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

What is PHP’s history?

A
  • PHP was developed by Rasmus Lerdorf in 1995
  • Initially it was primarily a templating language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are arithmetic operators?

A

Arithmetic operators are used with numeric values to perform operations, such as addition, subtraction, multiplication, modulus etc.

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

What are comparison operators?

A

Comparison operators are used to compare two values (number or string)

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

What are conditional statements?

A

PHP provides a range of statements that allow us to evaluate a condition and proceed or not, based on a True or False evaluation of that condition.

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

Associative vs Indexed Array

A
  • An indexed array is simply a list of values.
  • Associative array will be a list that features keys and values. You set a key with a value for example first_name would be a key and the key would have a value of Dylan
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a foreach loop?

A
  • The foreach loop is designed to loop through the contents of an array
  • Each time through the loop, the loop variable will contain the next element in the array
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a For Loop?

A

The for loop is used when you know in advance how many times a loop should be run.

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

What is while loop?

A

loops through a block of code as long as the condition is true

17
Q

What is a Do while loop?

A

loops a block of code once and then repeats as long as the condition is true

18
Q

What are the differences between isset, empty and is_null

A
  • isset checks if the variable existes
  • empty checks if the variable is empty
  • is_null checks is the variable NULL
19
Q

What are the two types of database modern websites use?

A
  • Relational Database
  • NOSQL Database