2007年11月12日 星期一

Yahoo!奇摩公司考試題目

我有應徵Yahoo奇摩公司,剛剛收到Yahoo的一封信,要我「三天內」回答一份問卷,然後會主動跟我聯絡,問卷內容是:

1. What is difference between GET/POST?

2. How do you keep state using Web forms?

3. Given a line of text $string, how do you use "regular expression"

to strip all html tags from it? (Using Perl or PHP)

4. In PHP, what is the difference between foo() & @foo()?

5. In C, please write a program to print out an integer number 12345

without using printf?

6. In PHP, please write a program to print out the following array by the order of key and by the order of value respectively.

$prices = array('apple'=>300, 'orange'=>150, 'banana'=>100, 'mango'=>330);

真是一份好難的考試。

沒有留言:

張貼留言

若有任何建議歡迎留言詢問