Lecture 1 Flashcards

1
Q

What are “Clients”?

A

Computers that use the services on a server

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

What are “Servers”?

A

Computers that run a server program (i.e. Apache, IIS, Node.js)

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

How do client computers talk to servers?

A

Web browsers

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

What kind of services can servers provide?

A

Email, web pages, file storage, etc

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

What layers are included in the 4 layer model based on the ISO OSI 7-layer network?

A

Application, Transport, Internet, and Link. The other 3 layers are Network, Data Link, and Physical

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

As developers, we mainly work with the ______ layer of the 4 layer model

A

Application

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

What is the formal definition of HTTP?

A

An application-level protocol that is generic and stateless for distributed, collaborative, and hypermedia information systems. It can be used for many tasks beyond hypertext, such as name servers and distributed object management systems

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

How does HTTP circumvent the fact that previous request/response cycles are not stored in data (How do you remain logged into Facebook after you close your browser) and when was this introduced?

A

Through client cookies and the Keep-Alive connection, which was introduced via HTTP/1.1 in 1995

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

______ is a language to design static web pages

A

HTML (HyperText Markup Language)

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

What is a static web page?

A

A web page that is an HTML document that is stored on the web server and does not change in response to user input

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

How does a client reach a static web page?

A

The web browser sends a HTTP request for a static web page and the web server sends a HTTP response message with the requested page

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

What is a dynamic web page?

A

A web page created by using server side scripts. This allows interactivity

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

How does a client reach a dynamic web page?

A

Once the server receives a dynamic web request, it uses a specific program to interpret the request. The script will process data from the user and the database and then generate a HTML page to send back to the client

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

What is the purpose of a database?

A

A database stores the information of a specific client and the web server recalls this information as needed

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

What property of Node.js is considered to be an advantage and disadvantage?

A

The property that it is both the server as well as the scripting language packaged into one

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

What 4 components make up an application stack?

A

Operating system, web server software, database, and server-side scripting language (for dynamic requests)

17
Q

What advantages do different OS’ give?

A

Different operating systems can do different things/ run different server software

18
Q

What is server software?

A

Software that receives client requests

19
Q

What is a relational database?

A

A database that stores data in columns and rows

20
Q

What does a server side scripting language do?

A

Process dynamic requests from the client