Shared Flashcard Set

Details

Test 2
N/A
35
Computer Science
Undergraduate 3
03/14/2015

Additional Computer Science Flashcards

 


 

Cards

Term
List TCP client processes
Definition
1. Create Socket
2. Connect
3. Send
4. Receive
5. Close Socket
Term
List TCP serverProcesses
Definition
1. Create Socket
2. Bind
3. Passive open
4. Create Socket on Clients connect request
5. Send
6. Recive
7. Close Socket
Term
List UDP client Processes
Definition
1. Socket
2. Sendto
3. Recvfrom
4. Close socket
Term
List UDP Server processes
Definition
1. Socket
2. Bind
3. Sendto
4. Recvfrom
5. Close socket
Term
What is a Socket?
Definition
The point where a local application or process attaches to the network
Term
What is the Difference between UDP and TCP
Definition
TCP checks that the data was delivered and UDP does not
Term
Who initiates the connection, the client or the server?
Definition
Whichever side opens the
connection is the client, by definition
Term
API
Definition
Application Programming Interfaces
Term
When a socket is created, it is configured as either a ____ Type or ____ Type
Definition
STREAM(TCP) Type or DATAGRAM(UDP) Type
Term
What Does the SequenceNum field Refer to in a TCP Header
Definition
the index of the first byte in the data field of that segment, relative to the first byte originally transmitted when that connection was opened
Term
WSAStartup()
Definition
loads and initializes the Winsock DLL
Term
socket()
Definition
returns a 16-bit unsigned int that serves as the socket descriptor (essentially a handle)
Term
sockaddr_in client (naming the socket) contains what?
Definition
servers address type, server IP, Port Number
Term
Who takes care of the Presentation Formattting in Canonical intermediate?
Definition
Its Converted In transit
Term
Who takes care of the Presentation Formattting in Reciever Makes Right?
Definition
The Reciever
Term
connect()
Definition
Generates three TCP messages when everything works properly:
1. send()
2. recv() (usually in a loop)
3. closesocket() (called by both client server)
Term
True or False
XDR uses Tagged data.
Definition
False
Term
SequenceNum
Definition
The index of the first data byte in this segment, relative to when the connection was first established
Term
AdvertisedWindow
Definition
The number of additional bytes that can be accepted in subsequent segments (flow control)
Term
IDL
Definition
Interface Definition Language, it's a way to make sure that the client and server, agree, in advance, on what services will be provided. Like a .h file (c) but it uses .x
Term
list the two standards associated with presentation formating
Definition
Data Type and Document Level
Term
OSI Model
Definition
Application
Presentation
Session
Transport
Network
Data
Physical
Term
This process of encoding the data into a form suitable for transmission is often called ____ ____?
Definition
Argument Marshaling
Term
Big-endian systems store integers with the most significant byte at the ____?
Definition
lowest memory address
Term
Canonical intermediate form means ...?
Definition
Converting the data from the local format into a network standard or “on-the-wire” format before it is transmitted
Term
Receiver-makes-right means ...?
Definition
Sender sends data as is, along with header called tag that indicates what data form is used. Once data arrives, receiver checks tag and converts to own native format, if same, no conversion is needed
Term
ASN.1 consist of...
Definition
[tag][length][value in big endian]
Term
Object Identifier
Definition
A set of values associated with an ASN.1-defined information object ( a registered number string that uniquely identifies an object, e.g. 1.3.6.1.2.1.4.3)
Term
DTDs
Definition
Document Type Declarations focus on the structure of an XML document by specifying what elements and attributes are valid.
Term
In a ____ compression algorithm, the model predicts the probability that each possibly symbol will appear in the stream
Definition
statistical
Term
types of static models
Definition
1) universal, analyzed in advanced
2) unique, builds model to actual probability to data
3) adaptive, analyze data stream continuously
Term
formula for entropy
Definition
n = -log2(p)
Term
summary of XML
Definition
• Widely used in web-based applications
• Easy for HTML programmers to learn
• Human readable
• Very flexible
• Greatest range of data types
• Probably least efficient, space-wise
• Wide choice of tools and libraries
• Tags can be defined by DTD or schemas
• Used by XML-RPC, REST and SOAP (among many other applications)
Term
summary of ASN.1
Definition
• Uses tags for all data types
• It’s an international standard
• Complex, difficult to master, but . . .
• Very comprehensive
• Used by some important networking standards
• Transport-layer independent
• Still in widespread use
Term
summary of XDR
Definition
• Except for arrays, no tags
• Simple/practical
• Easy to encode & decode (except for the padding)
• Still deployed in legacy Unix applications
• Transport protocol is normally UDP
• Not likely to be used for new applications
Supporting users have an ad free experience!