作者LZW (小夾)
看板FCUProblems
標題[考古] 網路程式設計期末考/劉振緒老師
時間Sat Jun 25 23:48:43 2011
[開課學院]: 資電學院,建設學院,文學院
[開課系所]: 中文系,外文系,電機系,財稅系..)
[課程名稱]:
[老師名稱]: 劉振緒老師
[開課學期]:
[類型]: 99-2期末考
------------------------------------------------------------
1. List and explain all HTTP message type.
2. The silver shield project in our Assignment #3 is an example of
application gateway.
What are the two roles played by an application gateway?
3. Explain how a server can offer concurrent TCP services to multiple clients
while using only a single thread
4. Give one application where UDP is preferred to TCP. Explain why.
5. Given the following system calls (in C)
accept() , bind() , connect() , listen() , socket()
write a sequence of system calls that are functionally equivalent JAVA codes:
(a) ssock = new Socket(hostname,port)//client socket
(b) msock=new ServerSocket(port)//server socket
where port is an integer variable and hostname is a string variable.
6. The default port number for HTTP service is 80. When an Apache server is
serving 100 HTTP requests (all text based web pages)currently
(a) How many port(s) is/are used by the Apache? Why?
(b) How many socket(s) is/are used by the Apache? Why?
7. Question concerning Remote Procedure Call.
(a) The rpcgen is often used to build a distributed application. Describe the
contens of a rpcgen specification i.e,an account.x file
(b) What are the output of rpcgen? Briefly describe the contents of each file.
(c) List three application (services) in M$ system that depend on the RPC
system service(RPCSS)
8. Some feedback from you
Which part of this course you like most? Why?
Which part of this course you dislike most? Why?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.116.161.139
推 larrywhy :夾神好帥! 06/26 01:35
推 lother :夾神好帥! 06/29 16:19