Assignment 5Create a web site for visitors to buy computers and/or parts online.Your web site has pages that
should contain the following features.
1.Ask the visitor to select Whole Systems or Parts from two separate groups of check boxes.
The visitor may select more than one item from each group.
2.Ask the visitos to enter his/her details(Name,Address,Phone,Email Address,Credit Card Number)
3.Compute the total price of the selecte goods.You need to preset the prices of all the available
goods.
4.Display the list of selected goods and their prices,together with the total price and ask the 
visitor confirm the online order or re-enter the selection.
5.If the visitor confirmed the order,displya the message such as "You order has been received.
Please allow 14 days for handling and delivery.Thanks for shopping online with us!"It is preferred to use Microsoft ASP.Net and MS SQL.
This assignment is for you to demonstrate your user interface design ability,database design,
HTML,and web security knowledge.

解决方案 »

  1.   

    他强调professional,所以至少你要三个文档:
    SRSHLD->LLD    and source code
    办法二
      

  2.   

    他强调professional,所以至少你要三个文档:
    SRS
    HLD
    LLD
    再加上源代码和安装程序要锦上添花呢,就再用rose画usecase,类图和一个序列图即可
    ok?
      

  3.   

    For each assignment.you must provide the following work.
      

  4.   

    估计他们是招项目经理,这几个题目都不是很难:)感觉第一、二题就是在考英文,第五题考的比较综合---包括了数据库的设计、ASP.NET的熟练程度、OO思想掌握程度。如果他们给的时间充足的话,这些都应该不成问题~~~呵呵---对于一个项目经理或者一个系统分析员来说。如果只是招程序员,这些题目太~~~难了。
    而且不是1、2个小时就能搞定的事~~~
      

  5.   

    question 2:
    private bool overlap(struct rect A,struct rect B)
    {
    bool yOverlap = (A.UL.x < B.UL.x)?((B.UL.Y>=A.UL.Y)&&(B.UR.Y<=A.LR.Y)):((A.UL.Y>=B.UL.Y)&&(A.Ur.Y<=B.LR.Y));
    bool xOverlap = (A.UL.y < B.UL.y)?((B.UL.X>=A.UL.X)&&(B.UL.X<=A.LR.X)):((A.UL.X>=B.UL.X)&&(A.UL.X<=B.LR.X));
    return (yOverlap && xOverlap);
    }
      

  6.   

    question 1:
    since the order is not important, so assume the length of the string is X, there are 2^x-1 combinations (each character display or not, 2^x, minus the "empty" string)loop from 1 to 2^x-1, get the binary, check each character in string, if the position point to 0 in the same postion binary, then don't display, if 1 display.
    then the result is one combination.
      

  7.   

    我只是事后想知道怎么做。毕竟学习是第一位的。
    多谢各位前辈指点。
    特别感谢 thetuxedo(Matrix Reloaded) 解答题目。Assignment 5谁能给点这方面的资料和提示吗?
      

  8.   

    (附上3和4)
    Assignment 3
    Write queue that people from different nations can go into and out.Every time a person comes 
    out of the queue,he/she tells the name in his/her mother tongue.Feel free to use and UI controls
    to represent the queue and people.
    At present,there are three kinds of presons in the queue.They are Chinese,Japanese,and American.
    It is possible that in the future other people from other countries may go into queue as well.
    You are required to use UML diagrams to illustrate the static structure and dynamic behavior of 
    the system.Assignment 4Write some infrastructure code for a distributed application.The code can help different forms,
    and the data one the forms to be serialized.the serialized stream can be saved on different 
    databases,or text files,or XML,or ...
    You are required to use UML diagrams to illustrate the static structure and dynamic behavior of 
    stream.
    You are required to write documentations both for programmers who implement you design
    and programmers who use your infrastructure.
      

  9.   

    第一个是不是可以写成这样?
    算法:
    1. 设计寻找长度为n的子字符串的函数。
    [原型]
    Void PrintSubString(const CString str, int n)
    [功能]
    打印出所有长度为n(0<n<(str.GetLength()+1))的子字符串。
    [输入]
    CString str:input string
    Int n:子字符串的长度。
    [实现步骤]
    A. 按次序循环找出长度为n的子字符串,直到满足退出条件。
    B. 将子字符串与函数体内字符串列中的字符串进行比较。
    C. 如果字符串列中没有该子字符串,则打印子字符串并插入字符串列。转到A
    D. 如果有,转到A
    2. 细化1中[实现步骤]的B,注意题目的条件。
    3. 在主程序中循环调用PrintSubString函数n次,n为输入字符串的长度。
      

  10.   

    第5题-DataBase DesignTables:PartGroups、SystemParts、Customer、Orders、OrderDetail、WholeSystem、StatusTypeWholeSystem's Fields:(PK *)WholeSysetmID,SystemType int,(FK)PartID int
    PartGroup's Fields:(PK)GroupID  int,Name nvarchar 20,Description vnarchar 500
    SystemParts's Fields:(PK)PartID int,Name nvarchar 20,(FK)GroupID int,Price money,Description nvarchar 500
    Customer's Fields:(PK)CustomerID int,Name nvarchar 50,CustomerEMIL nvarchar 50,
    CustomerAddress nvarchar 100,CustomerPhone char 12
    Orders's Fields:(PK *)OrderID int,(FK) CustomerID int,(FK)Status int,ReleaseDate datetime,ExpirationDate datetime,TotalPrice money,WholeSystemID int
    ,OrderNote nvarchar 500OrderDetail's Fields:(PK *)DetailID int,(FK)OrderID int,(FK)PartID int
    StatusType's Fields:(PK)StatusID int,Name nvarchar 50,Description nvachar 500PK neans primary key,FK means Foriegn Key,* means auto-increasement,! means the fields may be nullfor more you man look about MS's sample-Duwamish 
      

  11.   

    第一题的意思应该是打印出一个长度为n的字符串的所有子字符串的组合并且对于字符串的顺序位置不做要求。
    比如"123"中"12"和"21"是表示同一个组合"123"中的组合应该有"1"、"2"、"3"、"12"、"13"、"23"、"123"对于from one to lenth,我的理解是包含1和lenth
    第二个题目意思是判断两个框是否交叉。这两个算法的解法在我们的课本上都应该找得到,我就不费话了这个也不成什么问题吧 :)看来看去,感觉靠的英文倒是主要的,就是3、4、5题有点意思
      

  12.   

    多谢qimimi。
    我发现要做好这几道题目还真的不容易。
    3,4怎么解答比较好?
      

  13.   

    spec 里面还要写test case
    参数列表中要对所有参数有assert约束声明,
    function声明中还要声明所有要抛出的异常
      

  14.   

    我的MSN
    [email protected]
    比较复杂~~~还是这个方便 :)
      

  15.   

    唉,这个公司是什么的干活
    出英语题目给别人做,自己的水平都不过关
    The “folling” assignments are designed to test your capabilities in the areas:
    这个folling 什么意思?
    肯定是Following 嘛!
    真是,
    你应给先给他们提这个问题!