面试时最经常被问到的问题(Frenquently asked interview questions)之Misc. Topics篇[3]

[入库:2005年8月19日] [更新:2007年3月24日]

本文简介:选择自 mxclxp 的 blog

all the com interfaces inherit these three methods from iunknown.

8what is marshalling?

marshalling is the process of converting data into a format for transferring over the network.

9differences between windows 3.1, windows 95/98, and windows nt

windows 3.1 : 16-bit
windows 9x : 32-bit
windows nt : 32-bit, more secure, users must login

10describe a two tier windows nt domain.

11describe the file system layout in the unix os.

bin, boot, dev, etc, home, initrd, lib, lost+found, misc, mnt, opt, proc, root, sbin, tmp, usr, var…

12in unix, are the files allocated contiguous blocks of data?
a) if no, how is the fragmented data kept track of
b) describe the direct blocks and indirect blocks in unix file system

13how is a thread different from a process?

a process runs in its own address space. no two processes share their address space.

threads will run in the same address space of the process that owns them. threads belonging to the same process will run in the same address space. they will also share the process's stack and heap. no two processes will share their stacks or their heaps.

14how is multithreading useful for a web server? a browser?

web servers are typically capable of serving multiple clients concurrently, this is achieved using multi threading.

15why not use multi-process for this? why would you want to run a multi-process web server?

because if you have a high performance webserver handling thousands of requests, if each of them spawns a new process this creates a lot of overhead. threads are cheaper.

本文关键:面试时最经常被问到的问题(Frenquently asked interview questions)之Misc. Topics篇
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top