CHAPTER 1
1-1 System Development Life Cycle; SDLC SDLC Waterfall Model Shelly 1995 1. Preliminary Investigation 2. System Analysis 3. System Design 4. System Development 5. System Implementation and Evaluation System Development Life Cycle, SDLC 1. Water fare Model 2. Classecal Project Life Cycle 3. Structured Life Cycle 4. Prototyping Life Cycle Water fare Model 1. Survey 2. Requirement analysis 3. System Design 4. Coding 5. Testing 6. Maintenance 1-2
Prototyping Life Cycle 1-2 1. 2. GUI 3. 4. GUI Windows Form Windows Form Windows Form Windows Windows Form 1. Windows Form 2. 3. Windows Form Self-Contained 1-3 1
4. 5. Windows Windows Form Windows Windows 6. 7. Windows Form.NET FrameworkGDI+ Web Form 1. ASP.NET Web Form 2. Web Form 3. Web Form 4. Web Form Windows Form Web Form / Windows Form Web Form Windows Form ClickOnce 1. Web Form 2. Microsoft.NET Framework 3. 1-4
/ Windows Form Web Form Windows Form GDI+ 1. Windows Form 2. / Windows 1. Windows Form 2. Windows Form.NET Framework 1. 2. Windows Form Win32 Instance 1. Web Form 2. GDI+ Web Form HTML DHTML UI 1. Web Form HTML 2. 3. DHTML x y 1. Web Form 2. DHTML Web Form 3. Web.NET Framework 1. Web Form 2. HTTP 3. Web Form 1-5 1
1. (A) (B) (C) (D) 2. (A) (C) (B) (D) 3. (A) (C) (B) (D) 4. (A) (C) Windows Forms (B) DirectX (D) Windows 5. Windows Forms (A) XNA (B) (C) Windows Forms (D) Windows Forms 6. (A) (C) Windows Forms (B) (D) Windows 1-10
CHAPTER 2
2-1 bool True False byte 1 0 255 char 2 0 65535 DateTime 8 1 1 1 0:00:00 9999 12 31 11:59:59 PM decimal 28 double 8-1.79769313486231570E+308-4.94065645841246544E-324 4.94065645841246544E-324 1.79769313486231570E+308 int 4-2,147,483,648 2,147,483,647 long 8-9,223,372,036,854,775,808 9,223,372,036,854,775,807 sbyte 1-128 127 short 2-32,768 32,767 single 4-3.4028235E+38-1.401298E-45 1.401298E-45 3.4028235E+38 string 0 Unicode uint 4 0 4,294,967,295 ulong 8 0 18,446,744,073,709,551,615 1.8...E+19 ushort 2 0 65,535 2-2
2 10 3.56E+2 3.56 102 356 E 3.56E-2 3.56 / 10 2 0.0356 http://msdn.microsoft.com/zh-tw/library/4xwz0t37.aspx 1. int 1 2. static int 2 3. private int public int 4 1 static static 2 3 4 5 6 const public 2-3
Nul!(Not) B B True False B False True &(And) A B True True (Or) A B True True A ^(Xor) &&(AndAlso) B True False True And A And B (OrElse) Or A Or B Subscript 0 int students(7); students 7 0 6 7 1. 2-6
2 2. 3. Dimension Statement double[] no = null; double[] price = null; double[,,] desc = null; lowvalue = price[0]; ptotal = ptotal + price[n]; test = desc[i, j, k]; 2-2 Visual C# ƼƼ int x; int x = 20; ƼƼ // /* */ ƼƼ N = 7; 2-7
ƼƼ if (X > Y) X = X - Y; else Y = Y - X; if (X == Y) X = Y + 10; else if (X > Y) Y = Y + 5; else X = Y; string Tday = " "; string Sel = " "; if (Tday == " ") Console.Write(" "); if (Sel == " ") Console.Write(" 5 "); else Console.Write(" 7 "); if (Tday!= " ") Console.Write(" "); if (Sel == " ") Console.Write(" 5 "); else Console.Write(" 6 "); 2-8
1. (A) byte (B) decimal (C) double (D) single 2. (A) char (B) decimal (C) float (D) string 3. (A) bool (B) double (C) int (D) string 4. 0932-933-922 (A) bool (B) double (C) int (D) string 5. (A) (B) FILO (C) (D) 6. (A) do while (C) do until (B) if (D) while 2-16