{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

5. 6. 7. The Web Flashcards

(9 cards)

1
Q

What is the Web?

A

A DS for linking together hypertext documents.

A client server architecture with pages hosted by web servers and viewed by client web servers

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

What is the protocol for communication between client and server?

A

HTTP, pages written using hyper text markup language

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

Pros and cons of client server architecture?

A

Pro: behaviour easy to understand
Con: server is a single point of failure and performance bottleneck

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

What makes the web reliable?

A

Statelessness. Every request is independent of every other.

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

What is a URI

A

Universal Resource Identifier.

A URI that specifies locations is URL (http://www.example.com). One that specifies name is URN (book code)

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

What are the eight different methods of HTTP?

A

GET- request named resource
HEAD- metadata about a resource
POST- client sends data to server
PUT- put information from client to web server
DELETE- delete a resource
TRACE- used for debugging
OPTIONS- which commands a server will respond to
CONNECT- begins communication with resource

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

What happens when a user decides on a page to view?

A

Client connects to the appropriate server- Look at protocol, Look at DN, find IP address
Fetches the content- GET
Renders it nicely so the user can see
Disconnects

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

How can a web application appear to hold state?

A

GET and POST- client sends info about itself to the server so it can be recognised next time
Cookies- request the client to remember something and pass it back to the server next time

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

Key Properties of the web?

A
Single point to point communication
Client/server architecture
Stateless communication
Common port 80
Every transaction is independent of every other as far as protocol is concerned.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly