星期二, 12月 01, 2009

Adding contacts and groups to the Lotus Notes 6 PAB

1. Which of the following best describes the Personal Address Book?

Choose an option.

An address book for storing both employee and external contacts
An address book for storing external names and e-mail addresses
An address book for storing groups of external contacts
An organizational address book containing the names of all employees


2. Which of the following are true statements about creating contacts in the Personal Address Book?

Choose more than one option.

It is good practice to add the names of your direct colleagues even though they are in the company address book
You can add family details to a contact
You can add more than one e-mail address for a contact
You must add an e-mail address for each contact



3. Let's say you will be working with an internal team and a group of clients on a specific project. Which of the following can you set up to make it easy to contact these people?

Choose an option.

A draft e-mail containing all relevant addresses, which can be used to copy and paste as necessary
An individual contact containing the addresses of all the clients
One group containing all people
Two groups - one for external people, the other for internal people

星期四, 11月 26, 2009

Sams HTTP Server Keyphrase

Sams HTTP Server Keyphrase 是"schprodsvr"

websams 的 phrase 也是一樣

星期二, 11月 24, 2009

CS3161 (A) OPERATING SYSTEM PRINCIPLES (DR. LIU WENYIN) (09CS3161_LW) - Homework 2

1. Servers can be designed to limit the number of open connections. For example, a server may wish to have only N socket connections at any point in time. As soon as N connections are made, the server will not accept another incoming connection until an existing connection is released. Explain how semaphores can be used by a server to limit the number of concurrent connections.

A semaphore is initialized to the number of allowable open socket connections. When a connection is accepted, the acquire ( ) method is called. When a connection is released, the release ( ) method is called. If the system reaches the number of allowable socket connections, subsequent calls to acquire ( ) will block until an existing connection is terminated and the release method is invoked.

2. What is the meaning of the term busy waiting? What other kinds of waiting are there in an operating system? Can busy waiting be avoided altogether? Explain your answer.

A process is waiting for an event to occur and it does so by executing instructions.
A process is waiting for an event to occur in some waiting queue (e.g. I/O, semaphore) and it does so without having the CPU assigned to it.
Busy waiting cannot be avoided altogether.

3. Consider the traffic deadlock depicted in Figure 1.
a. Show that the four necessary conditions for deadlock indeed hold in this example.
b. State a simple rule for avoiding deadlocks in this system.

Figure 1 Traffic deadlock.

l Mutual exclusion: Only one car may be occupying a particular spot on the road at any instant.
l Hold and wait: No car ever backs up.
l No pre-emption: No car is permitted to push another car out of the way.
l Circular wait: Each corner of the city block contains vehicles whose movement depends on the vehicles blocking the next intersection.

4. Consider the following snapshot of a system:


Allocation
Max
Available

ABCD
ABCD
ABCD
P0
0012
0012
1520
P1
1000
1750

P2
1354
2356

P3
0632
0652

P4
0014
0656


Answer the following questions using the banker’s algorithm:
a. What is the content of the matrix Need?

Process
A
B
C
D
P0
0
0
0
0
P1
0
7
5
0
P2
1
0
0
2
P3
0
0
2
0
P4
0
6
4
2

b. Is the system in a safe state?

System is in safe state because resources are available (1, 5, 2, 0).

c. If a request from process P1 arrives for (0, 4, 2, 0), can the request be granted immediately?

Request from process P1 can be granted immediately. Request is (0, 4, 2, 0) and available resource is (1, 5, 2, 0).

5. A single-lane bridge connects the two Vermont villages of North tunbridge and South tunbridge. Farmers in the two villages use this bridge to deliver their produce to the neighboring town. The bridge can become deadlocked if both a northbound and a southbound farmer get on the bridge at the same time (Vermont farmers are stubborn and are unable to back up.) Using semaphores, design an algorithm that prevents deadlock. Initially, do not be concerned about starvation (the situation in which northbound farmers prevent southbound farmers from using the bridge or vice versa).


6. Consider a paging system with the page table stored in memory.
(a) If a memory reference takes 200 nanoseconds, how long does a paged memory reference take?

400 nanoseconds; 200 nanoseconds to access the page table and 200 nanoseconds to access the word in memory.


(b) If we add associative registers, and 75 percent of all page-table references are found in the associative registers, what is the effective memory reference time? (Assume that finding a page-table entry in the associative registers takes zero time, if the entry is there.)

Effective access time = 0.75X (200 nanoseconds) + 0.25 X (400 nanoseconds) = 250 nanoseconds.


7. (a) Compare paging with segmentation with respect to the amount of memory required by the address translation structures in order to convert virtual addresses to physical addresses.

Paging requires more memory overhead to maintain the translation structures. Segmentation requires just two registers per segment: one to maintain the base of the segment and the other to maintain the extent of the segment. Paging on the other hand requires one entry per page, and this entry provides the physical address in which the page is located.

(b) Why are segmentation and paging sometimes combined into one scheme?

Segmentation and paging are often combined in order to improve upon each other. Segmented paging is helpful when the page table becomes very large. A large contiguous section of the page table that is unused can be collapsed into a single segment table entry with a page-table address of zero. Paged segmentation handles the case of having very long segments that require a lot of time for allocation. By paging the segments, we reduce wasted memory due to external fragmentation as well as simplify the allocation

星期日, 11月 22, 2009

Ms Word 開啟及關閉速度很慢

近日發現當使用 Microsoft Office Word 2003 時,打開及關閉的速度變得很慢。
以前開關的速度快很多,近日没安裝新的軟件。

現在只有 Microsoft Office Word 2003 有這個問題,而 Microsoft Office Excel 2003 等程式的開啟關閉速度仍然正常。



解決方法:
1, 先關閉與 Microsoft Office 相關的程式
2, 「開始」=>「執行」=>輸入「%appdata%\microsoft\templates」後按「確定」
3, 將 normal.dot 文件刪除即可

星期六, 11月 21, 2009

商業大亨 - 店舖升級點

店舖升級點點先可以拎到??

每4小時就會比1點你, 冇ONLINE佢都會比你

仲有方法,常務工你有機會送,每日登陸獎勵1金幣可換1點,高級商會每日福利都會送

黃金寶箱,深海尋寶都有機率抽中

星期五, 11月 20, 2009

你的自我推銷功力有多高

你是一個王牌大間諜,要執行一項非常重要的任務,你會帶哪一台電腦去呢?

A、無線輕型的電腦,隨時都可以上網。

B、耐用基本型的電腦,不僅基本功能非常的強,而且很耐用。

C、專業訴求功能強的電腦,不管你是哪一行、哪一業,它都可以滿足你的專業。

D、外型時尚的電腦,帶出去時一定要有好看的感覺,覺得是一個很好的配件。
















解析:

A、無線輕型的電腦,隨時都可以上網。

你們是藍鑽型的推銷高手,因為口才一流的你,七分功夫可以說成十分功夫,然後輕鬆的得到大家的欣賞,並且把自己給推銷出去了;其實這類型的朋友,你們對自己的自信是無敵的自信,不管是工作上或專業上,只要你看到老闆的時候,那個光芒就會馬上射出來,然後口若懸河、口才一流,那老闆就會覺得你說的好像都是真的、好像還不錯喔,所以選這個答案的朋友,你就是傳說中高手中的高手喔!



B、耐用基本型的電腦,不僅基本功能非常的強,而且很耐用。

你是白金級的推銷高手,因為懂得把握機會的你,只要遇到適合自己的伯樂出現,你就會把自己最好的一面推銷出去;那這類型的朋友,平常就是默默的在工作,大家都會把他當成空氣一樣,不覺得他的存在,不過當伯樂出現的時候,他會把自己的才華秀出來,這的時候的他就會顯得特別的厲害。



C、專業訴求功能強的電腦,不管你是哪一行、哪一業,它都可以滿足你的專業。

你們推銷自己的功力平平,因為老實謙虛的你只會默默的努力,覺得一分耕耘一分收穫,有把握的時候才會推銷自己,所以你們推銷自己的功力其實是有一點遜的;那這類型的朋友非常的腳踏實地,你會覺得臺上一分功、台下要十年功,所以你們累積很多的時間訓練自己各方面的才能,等到有機會的時候才會站出來,但是只要一讓你表演,一定馬上就會光芒萬丈。



D、外型時尚的電腦,帶出去時一定要有好看的感覺,覺得是一個很好的配件。

你們推銷自己反而會吃閉門羹,所以最好不要推銷自己,因為有時候會因為太緊張而失常的你們,常常會出現反效果;那這類型的朋友其實是非常有才華型的,所以你們不用刻意推銷自己,只要把平時累積的才華很自然的表現出來,老闆就會看得到了。

星期四, 11月 19, 2009

商業大亨 - 天然氣

天然氣交易市場有人賣
如果自己生產沒有開油田的可參考,因為開油田資金太大,有限公司才能開採

1. 工廠設備3級以上,可建煉油場
2. 去交易市場買原油來提煉(1級每天可產24瓶),原油可提煉柴油(增加貨物生產速度)或天然氣
3. 放進店舖使用(1級天然氣可增加店收入10%,8小時耗一瓶)

TPS:柴油可增加貨物生產速度(1級柴油+5%)

推薦此文