作者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
1F:推 larrywhy :夹神好帅! 06/26 01:35
2F:推 lother :夹神好帅! 06/29 16:19