杭州信雅达系统.NET工程师面试试题
2023-07-06
说明:
1、请先仔细阅读试题,然后作答。
2、请书写清楚,易于辨认。
3、对于描述文字,可以中、英文作答;如果要书写代码,请严格按照程序语言要求来写。如无特殊说明,请以C#书写。
4、答题时间请控制在30分钟以内,如果时间不足可以跳过题目。
1.List all the ASP built in objects, and then introduce them simply.
2.Write a SQL trigger which applied to tb_log, it takes effect if new row(s) inserted. The trigger should complete this task, only recent 7 days data were remained.
3.Write a JavaScript function, which retrieves a form object by the argument, and then, check all checkboxes in the form (just set checked as true).
4.Describe simply why the keyword “virtual” was introduced in C# language.
5.Write a full .cs document, and output the result to the console. After you finish the code, write the command-line which is used to compile the .cs document. There are two items shown below, just select one and write the code on the back of this paper.
(a) Find out all Prime numbers(质数) between 3 and 100.
(b) Calculate 1+2+3+4+…+99+100 by recursion(递归).