Deck 16: Writing a Network Application

Full screen (f)
exit full mode
Question
When a socket is in ___________________ mode,and a read type of function is called,the program will stop and wait for a packet to be received.
Use Space or
up arrow
down arrow
to flip the card.
Question
Client-server messages only contain text-based data.
Question
When a socket is in ____________________ mode,the program accepts a packet if one is available but will not stop and wait for a new packet to arrive.
Question
____ are server applications that run on the Microsoft Internet Information Server.

A)JSP applications
B)Servlet applications
C)PSP applications
D)IIS applications
Question
The ____ line must be the first output generated by a CGI program and tells the browser what type of information it is receiving.

A)Media-type
B)Content-type
C)File-type
D)Info-type
Question
In a network game,most of the processor time will be spent performing all the ____________________ rendering.
Question
In the Windows environment,network functions are provided through the ____ API.

A)Winsock
B)Berkley Sockets
C)IETF
D)POSIX
Question
The IRP device operates using ____.

A)TCP
B)ICMP
C)IANA
D)UDP
Question
Visual Basic comes complete with many sample applications to help get you started with Internet programming right away.
Question
Using the LS100,many legacy serial devices can extend their useful lifetime and continue to provide the essential features they were designed to perform,on a network.
Question
In the client-server model,the message containing the client request is ____ inside a network packet and transmitted over a physical connection to the server.

A)transcribed
B)translated
C)fragmented
D)encapsulated
Question
Client sockets and server sockets require the same initialization.
Question
The IPS device operates using ____.

A)TCP
B)UDP
C)ICMP
D)IETF
Question
The ____ project on Linux supports the C# language.

A)notNet
B)mono
C)Babylon
D)Babel
Question
The IP Address Calculator CGI application uses its ____ data to determine what class of IP address was supplied.

A)FORM
B)OPTION
C)ACTION
D)POST
Question
_____________________________________________ is an interpreted language useful for CGI applications.
Question
Perl programs are called ____________________.
Question
Every network application uses a ____ to communicate.

A)binding
B)connection
C)socket
D)signal
Question
When troubleshooting a network application,test your connection by PINGing the server machine from the client (or vice versa)to make sure the machines are able to communicate.
Question
The ____ function is used to send text results back to the browser.

A)cgi_write()
B)cgi_writeln()
C)cgi_printf()
D)cgi_post()
Question
List three of the special features of the LS100.
Question
List the two forms of Visual Basic code and two types of applications that can be created with Visual Basic for use with the Internet.
Question
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Uses UDP datagrams and eliminates the session overhead
Question
Describe the NETMAZE program.
Question
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Requires a session to be established between the client and server
Question
What are DHTML applications?
Question
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Are required to use well-known port numbers on a server
Question
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Associates the protocol (Internet),the IP address (ANY)and the specific port number (7500)with a socket
Question
List five of the special features of the IPS device.
Question
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
An input/output mechanism for network messages
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/30
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 16: Writing a Network Application
1
When a socket is in ___________________ mode,and a read type of function is called,the program will stop and wait for a packet to be received.
blocking
2
Client-server messages only contain text-based data.
False
3
When a socket is in ____________________ mode,the program accepts a packet if one is available but will not stop and wait for a new packet to arrive.
nonblocking
4
____ are server applications that run on the Microsoft Internet Information Server.

A)JSP applications
B)Servlet applications
C)PSP applications
D)IIS applications
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
5
The ____ line must be the first output generated by a CGI program and tells the browser what type of information it is receiving.

A)Media-type
B)Content-type
C)File-type
D)Info-type
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
6
In a network game,most of the processor time will be spent performing all the ____________________ rendering.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
7
In the Windows environment,network functions are provided through the ____ API.

A)Winsock
B)Berkley Sockets
C)IETF
D)POSIX
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
8
The IRP device operates using ____.

A)TCP
B)ICMP
C)IANA
D)UDP
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
9
Visual Basic comes complete with many sample applications to help get you started with Internet programming right away.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
10
Using the LS100,many legacy serial devices can extend their useful lifetime and continue to provide the essential features they were designed to perform,on a network.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
11
In the client-server model,the message containing the client request is ____ inside a network packet and transmitted over a physical connection to the server.

A)transcribed
B)translated
C)fragmented
D)encapsulated
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
12
Client sockets and server sockets require the same initialization.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
13
The IPS device operates using ____.

A)TCP
B)UDP
C)ICMP
D)IETF
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
14
The ____ project on Linux supports the C# language.

A)notNet
B)mono
C)Babylon
D)Babel
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
15
The IP Address Calculator CGI application uses its ____ data to determine what class of IP address was supplied.

A)FORM
B)OPTION
C)ACTION
D)POST
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
16
_____________________________________________ is an interpreted language useful for CGI applications.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
17
Perl programs are called ____________________.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
18
Every network application uses a ____ to communicate.

A)binding
B)connection
C)socket
D)signal
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
19
When troubleshooting a network application,test your connection by PINGing the server machine from the client (or vice versa)to make sure the machines are able to communicate.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
20
The ____ function is used to send text results back to the browser.

A)cgi_write()
B)cgi_writeln()
C)cgi_printf()
D)cgi_post()
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
21
List three of the special features of the LS100.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
22
List the two forms of Visual Basic code and two types of applications that can be created with Visual Basic for use with the Internet.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
23
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Uses UDP datagrams and eliminates the session overhead
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
24
Describe the NETMAZE program.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
25
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Requires a session to be established between the client and server
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
26
What are DHTML applications?
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
27
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Are required to use well-known port numbers on a server
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
28
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
Associates the protocol (Internet),the IP address (ANY)and the specific port number (7500)with a socket
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
29
List five of the special features of the IPS device.
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
30
MATCHING
Match each item with a statement below.
a.Connectionless communication
d.Connection-oriented communication
b.Socket binding
e.Administrator privileges
c.Socket
An input/output mechanism for network messages
Unlock Deck
Unlock for access to all 30 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 30 flashcards in this deck.