{ "@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" } }

Topic 2 Flashcards

(28 cards)

1
Q

TCP

A

(Transmission Control protocol) A reliable data flow between two computers by providing a point-to-point connection based channel for application

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

UDP

A

(User datagram protocol) uses independent data packets called datagrams to transport messages between applications

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

Internet address(IP)

A

Internet protocol a 32-bit quantity that identifies a machine connected to the internet

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

DomainName System(DNS)

A

translates an internet address in doted string format to the dotted numerical version

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

InetAddress

A

in java.net it encapsulates an internet address

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

Networking

A

The capability to make a connection from your application to a system over a network

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

URLs

A

Uniform Resource Locators, a pointer to a web resource which can be anything from a file to an object

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

Sockets

A

is one endpoint of a two-way communication link between two programs running on the network

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

accept()

A

listens for a connection to be made to this socket and accepts it

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

Socket classes

A

used to represent the connection between a client program and a server program

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

close()

A

closes this socket

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

getInetAddress()

A

returns the local InetAddress object of this server socket

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

getLocalPort()

A

returns the port on which this socket is listening as an integer

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

getInputStream()

A

returns an input stream for this socket

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

getLocalAddress()

A

Gets the local address to which the socket is bound

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

getLocalPort()

A

returns the local port to which this socket is bound

17
Q

getOutputStream()

A

returns an output stream for this socket

18
Q

getPort()

A

returns the remote port to which this socket is connected

19
Q

getProtocol()

A

returns the protocol identifier of the URL object

20
Q

getHost()

A

Returns the resource name(host) of the URL object

21
Q

getPort()

A

returns the port number as an integer of the URL object

22
Q

getFile()

A

returns the file name of the URL object

23
Q

getRef()

A

returns the optional reference of the URL object

24
Q

connect()

A

opens a communication link to the resource referenced by this URL

25
getContent()
retrieves the contents of this URL in the form of an object
26
toString()
returns a string representation of this url connection
27
Buffers
containers for data
28
channels
represent connections to entities capable of performing I/O operations