PowerPoint 簡報
|
|
- 声 项
- 4 years ago
- Views:
Transcription
1 Q1: 追蹤程式 : 印出結果? 搶答 int p=0, i=1, n=9; while (i<=n) { p=p*i; i=i+2; } System.out.println( p= +p+ n= +n);
2 陣列 (array) 基本概念 臺北市立大學資訊科學系 ( 含碩士班 ) 賴阿福
3 利用大量變數, 處理大量資料? 有何缺點及問題??
4 例子 : 輸入 100 筆整數資料, 要求出平均數, 如何做? 若找最大值 要求變異數, 如何做? input.nextint(x1); input.nextint(x2); input.nextint(x100); avg=(x1+x2+ +x100)/100; Var= (x1-avg)* (x1-avg); Var=(x2-avg) (x 2 -avg); Var=(x100-avg) (x100-avg); // 最後變異數結果敘述 討論 : (1) 需 100 行讀取資料之敘述 (2) 須很長的累加運算敘述, 需很長運算式解平均數, 需 100 行找最大值 處理變異數之敘述 (3) 極為暴力方式 (brute force) (4) 沒有彈性, 例如要處理 1000 筆?Big Data? 問題剖析 : 資料記錄存放問題! 不可以只用大量變數而已
5 利用多個變數, 處理資料 ( 未使用陣列 ) 任何時候, 若再多一筆資料, 需再增加程式碼, 求 max mean 敘述都須修改程式 皆是序列 (Sequence), 無法使用迴圈, 缺乏自動化機制 屬於暴力法 x1 x2 x3.... X9 x10 mean max
6 陣列 (array): 物以類聚 相同型態 (ex. int, double ) 的元素所形成有序的有限集合 陣列的元素被存放在連續的記憶體
7 陣列 以一名稱代表一序列資料的集合, 陣列命名與變數命名相同 以索引 (index)/ 註標 (subscript) 來控制某一元素存取 索引可用變數, 因此可用迴圈控制變數, 再控制陣列存取 索引由 0 開始 宣告 Int [] x=new int[100]; // 索引 :0~99, 長度 : 100 陣列長度 ( 陣列的屬性 );x.length 可在宣告時給予初值 ( 不用指定長度 ) int [] sc={20,30,40}; String [] diagres={" 體重過輕 Underweight"," 正常 Normal"," 過重 Overweight"}; x[0] x[1] x[2].... x[8] x[9] mean max
8 陣列的特性 定義 : 相同型態 (ex. int, double ) 的元素所形成有序的有限集合 以索引值 (index) 與值 (value) 來表示其對應關係 通常陣列的元素被存放在連續的記憶體上, 可以支援直接存取 陣列元素存取時, 將元素的索引 / 註標 (Index/Subscript) 以位址函數 (Address Function) 計算出 ( 對應 ) 記憶體位址, 再存取記憶體中的內容 ( 元素的值 ) 以索引存取陣列元素之值 (value) i=8; x[i]=100; 存 : x[8]=100; // 將 100 存入 x[8] 取 : System.out.print (x[8]); // 取 x[8] y=x[8]+x[9]; // 取 x[8] x[9] x[7]=x[8]+x[9]; x[0] x[1] x[2].... x[8] x[9] mean max
9 陣列存取 SC[0] SC[1] SC[6] SC[7] SC[8] SC[9] 存入 SC[1]=30; x 12 取出 x=sc[8]; 結果 SC[1]
10 陣列存取 SC[6] 30 取出 運算 再存入 SC[6]=SC[6]+20; 結果 SC[6] 50
11 陣列應用 : 處理 10 筆資料
12 應用陣列存放 10 筆資料,then 處理 1. public class Tendata_array0{ 2. public static void main(string[] args){ 3. int [] x={70,90,55,66,12,27,34,47,80,100}; 4. int mean=0,max=0,i=0, sum=0, flunk=0; 5. for(i=0;i<x.length;i++) { 6. System.out.println("x["+i+"] :"+x[i]); 7. sum=sum+x[i]; 8. max=(max<x[i])?x[i]:max; 9. if (x[i]<60) flunk++;// 不及格人數 10. } 11. mean=sum/10;// 平均數 12. System.out.println(" 陣列長度 : "+x.length); 13. System.out.println("mean = "+mean); 14. System.out.println("max = "+max); 15. System.out.println(" 不及格人數 : "+flunk); 16. }//main 17. }//class 未提供輸入資料 x[0] x[1] x[2].... x[8] x[9] mean max
13 import java.util.scanner; public class Tendata_array1{ public static void main(string[] args){ Scanner input = new Scanner(System.in); int [] x=new int[10]; int mean=0,max=0,i=0, sum=0, flunk=0; while (i<=9) { System.out.print("input data for x["+i+"] :"); x[i]=input.nextint(); i++;} System.out.print("\n"); for(i=0;i<x.length;i++) { System.out.println("x["+i+"] :"+x[i]); sum=sum+x[i]; max=(max<x[i])?x[i]:max; if (x[i]<60) flunk++; } mean=sum/10; System.out.println("mean = "+mean); System.out.println("max = "+max); System.out.println(" 不及格人數 : "+flunk); }//main }//class
14 宣告陣列 輸入 10 筆資料 : i=0: 第 1 筆放入 x[0] i=1: 第 2 筆放入 x[1] i=9: 第 10 筆放入 x[9] 分析 10 筆資料 : 印出 10 筆資料加總找最大值算出不及格人數 import java.util.scanner; public class Tendata_array1{ public static void main(string[] args){ Scanner input = new Scanner(System.in); int [] x=new int[10]; int mean=0,max=0,i=0, sum=0, flunk=0; while (i<=9) { System.out.print("input data for x["+i+"] :"); x[i]=input.nextint(); i++;} System.out.print("\n"); for(i=0;i<x.length;i++) { System.out.println("x["+i+"] :"+x[i]); sum=sum+x[i]; max=(max<x[i])?x[i]:max; if (x[i]<60) flunk++; } mean=sum/10; System.out.println("mean = "+mean); System.out.println("max = "+max); System.out.println(" 不及格人數 : "+flunk); }//main }//class
15 運用陣列存放 BMI 狀態運用陣列存放 weekname
16 運用陣列存放 BMI 狀態 String [] diagres={" 體重過輕 Underweight"," 正常 Normal"," 過重 Overweight"}; int status; if (bmi < 18.5) status = 0; else if (bmi < 24) status = 1; //(bmi>=18.5 && bmi < 24) else status = 2; System.out.println("BMI:"+bmi+", 狀態 : "+diagres[status]); diagres [0] diagres [1] diagres [2] 體重過輕 Underweight 正常 Normal 過重 Overweight RAM import java.util.scanner; public class BMI_array { public static void main(string[] args) { String ok="y"; System.out.println("========== 歡迎量測體位 =========="); Scanner input = new Scanner(System.in); double height, weight; String [] diagres={" 體重過輕 Underweight"," 正常 Normal"," 過重 Overweight"}; int status; while (ok.touppercase().equals("y")) { System.out.print(" 輸入身高 :"); height = input.nextdouble(); System.out.print(" 輸入體重 :"); weight = input.nextdouble(); double bmi = Math.round((weight/(height*height) )*100)/100.0; if (bmi < 18.5) status = 0; else if (bmi < 24) status = 1; //(bmi>=18.5 && bmi < 24) else status = 2; System.out.println("BMI:"+bmi+", 狀態 : "+diagres[status]); System.out.print("( 繼續 (Y/N):"); ok= input.next().touppercase(); }//while System.out.println("==========bye bye=========="); }//main }//class
17 運用陣列存放 weekname, 看步道好處? weekname[0] weekname[1] weekname[2] Sunday Monday Tuesday weekname[6] Sunday
18 import java.util.scanner; public class weekname_3 { public static void main(string[] args) { Scanner input = new Scanner(System.in); String [] weekname= {"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"}; int week = 0; while (week>=0) { System.out.print(" 輸入星期幾?"); week = input.nextint(); if (week >= 0 && week <=7) { System.out.println(weekname[week]); } //if else System.out.println(" 無法判讀 \n"); }//while }//main }//class
19 平行陣列 (Parallel Arrays)
20 陣列應用 : 求等第
21 import java.util.scanner; public class scorerank_array { public static void main(string[] args) { Scanner input = new Scanner(System.in); int score = 0; String [] rank= {" 壬 "," 辛 "," 庚 "," 己 "," 戊 "," 丁 "," 丙 "," 乙 "," 甲 "," 優 "," 優 "}; while (score>=0) { System.out.print(" 輸入分數 ( 整數, -1:end):"); score = input.nextint(); //100~90 優 89~80 甲 79~70 乙 69~60 丙 59~50 丁 49~40 戊 39~30 己 29~20 庚 19~10 辛 9~0 壬 if (score >= 0) System.out.println(" 等第 :"+rank[score/10]); else System.out.println(" 無法判讀, bye!\n"); }//while }//main }//class 陣列應用 : 求等第 i
22 陣列應用 : 求等第 (1) Rank[0] 壬 辛庚己戊丁丙乙甲優優 Score = 0 0/10 == 0 Score = 9 9 / 10 = 0 Score = / 10 = 1 Score = / 10 = 8 Score = / 10 = 9 Score = / 10 = 10 * 透過 Score/10 取得對應等第陣列索引, 及 Score/10 計算結果為整數, 作為索引 (index) * 以空間換取時間,if 之 selection 分支結構幾乎可忽略
23 陣列應用 : 求等第 ii import java.util.scanner; public class scorerank_array_2 { public static void main(string[] args) { Scanner input = new Scanner(System.in); int score = 0; String [] rank= {" 優 "," 優 "," 甲 "," 乙 "," 丙 "," 丁 "," 戊 "," 己 "," 庚 "," 辛 "," 壬 "}; while (score>=0) { System.out.print(" 輸入分數 ( 整數, -1:end):"); score = input.nextint(); //100~90 優 89~80 甲 79~70 乙 69~60 丙 59~50 丁 49~40 戊 39~30 己 29~20 庚 19~10 辛 9~0 壬 if (score<=100 && score >= 0) System.out.println(" 等第 :"+rank[10-(int)math.floor(score/10)]); else if (score>100) System.out.println(" 無法判讀!\n"); else System.out.println("bye!\n"); }//while }//main }//class
24 陣列應用 : 求等第 (2) 優優甲乙丙丁戊己庚辛 壬 Score = (100/10) == 0 Score = (int)math.floor(95 / 10) = 1 Score = Math. floor(89 / 10) = 2 Score = Math. floor(9 / 10) = 10 Score = Math. floor(0/10) = 10 * 不同運算式, 產生不同索引值, 因此等第在陣列排列不同 *(int)math.floor(95 / 10) Math.floor(95 / 10) : double type (int): type casting, convert double to int
25
26 第周習題 ( 任選一題, 亦可全做 ): 將陣列加入第四周程式 習題 A: 輸入個人淨所得, 求其應繳稅額 ( 陣列存放 稅率 ) 說明 : (1) 先上網搜尋個人淨所得之稅率資訊 ( 須呈現於設計歷程檔中 ); (2) 請繳交.java 及設計歷程檔 (.DOCX) 習題 B: 輸入個人生日, 求其星座及個性 ( 陣列存放 星座資訊 ) 說明 : (1) 先上網搜尋 12 星座資訊 ( 須呈現於設計歷程檔中 ); (2) 例如 : 假設處女座日期 :8 月 23 日 ~9 月 22 日 輸入生日月份 :9 輸入生日日期 :1 結果 : 你的生日是 9 月 1 日, 屬於處女座, 個性 : 為人仔細, 作事認真, 對於是非善惡, 判斷分明 習題 C: 將 BMI 診斷分成六層次 ( 陣列存放 六診斷層次 )
27 例子 : 輸入 100 筆整數資料, 要求出平均數, 如何做? 若要求變異數, 如何做? (c) scanf( %d\n, &x1); scanf( %d, &x2); scanf( %d, &x100); avg=(x1+x2+ +x100)/100; Var+=(x1-avg)^2; Var+=(x2-avg)^2; Var+=(x100-avg)^2; // 最後變異數結果敘述 int x[100], i, avg=0; for(i=0;i<100;i ++) scanf( %d, x[i]); for(i=0;i<100;i ++) avg=avg+x[i]; avg=avg/100;
28 Review switch case
29 改為 5 等第
30 改變運算式 (score-50)/10
31 質數 : 不用 boolean 時 import java.util.scanner; public class prime_0 { static Scanner input = new Scanner(System.in); public static void main(string[] args) { System.out.println("==== 輸入 >=2 整數, 判斷是否為質數?====="); int n=3, i; String dif; //boolean prime; int prime; System.out.print(" 輸入 >=2 整數 :"); n = input.nextint(); i=2; //prime=true; prime=0; while (i<=n-1) { if (n%i==0) {prime=1; //prime=false; System.out.println(n+" 可被 "+i+" 整除 "); break;} else System.out.println(n+" 不可被 "+i+" 整除 "); ++i; } if (prime==0) dif=" 是質數!"; else dif=" 不是質數!"; System.out.println(n+dif); }//main }//class
32 Debug : 輸入奇數 n, 求 S= n 1.import java.util.scanner; 2.public class loop_debug_1 { 3. public static void main(string[] args) { 4. Scanner input = new Scanner(System.in); 5. int n=7,i=0, s=0; 6. System.out.println(" 輸入奇數 n, 求 S= n\n"); 7. while (n>=1) { 8. System.out.print(" 輸入奇數 (-1:end):"); 9. n = input.nextint(); 10. if (n%2==0) { 11. System.out.println(" 輸入錯誤, 須為奇數!"); 12. continue;} 13. for(i=1;i<=n;++i) 14. s=s+i; 15. System.out.println(" "+n+"="+s); 16. }//while }//main 19.}//class 處理輸入錯誤
PowerPoint 簡報
本周不辦理實作輔導 happy mother day! Q1: 追蹤程式 : 印出結果? 搶答 int p=0, i=1, n=9; while (i50;p--) i++;
More informationPowerPoint 簡報
本周未安排實作輔導 預定 : 下周六 迴圈 LOOP 應用 判斷質數 (Prime number) 求兩個整數的最大公因數 (greatest common divisor, GCD) 判斷迴文 (palindrome) 搶答!! Q1 : 印出結果? int s,x; s=0; for(x=1;x
More informationPython a p p l e b e a r c Fruit Animal a p p l e b e a r c 2-2
Chapter 02 變數與運算式 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 2.2.3 type 2.2.4 2.3 2.3.1 print 2.3.2 input 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 + 2.4.6 Python Python 2.1 2.1.1 a p p l e b e a r c 65438790
More information新・解きながら学ぶJava
481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --
More information使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款
JAVA 程 序 设 计 ( 肆 ) 徐 东 / 数 学 系 使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款 使 用 Java class 代 表 保 险 箱 public class SaveBox 类 名 类 类 体 实 现 封 装 性 使 用 class SaveBox 代 表 保
More informationMicrosoft PowerPoint - C_Structure.ppt
結構與其他資料型態 Janet Huang 5-1 結構的宣告 struct 結構名稱 struct 結構名稱變數 1, 變數 2,, 變數 m; struct 結構名稱 變數 1, 變數 2,, 變數 m; student; student; 5-2 1 結構變數初值的設定 struct 結構名稱 struct 結構名稱變數 = 初值 1, 初值 2,, 初值 n student="janet","1350901",100,95
More informationuntitled
1-1 1-2 1-3 1-4 1-5 1-6 1-7 1-8 1-1-1 C int main(void){ int x,y,z; int sum=0; double avg=0.0; scanf("%d",&x) ; scanf("%d",&y) ; scanf("%d",&z) ; sum=x+y+z ; avg=sum/3.0; printf("%f\n",avg); system("pause");
More informationCHAPTER VC#
1. 2. 3. 4. CHAPTER 2-1 2-2 2-3 2-4 VC# 2-5 2-6 2-7 2-8 Visual C# 2008 2-1 Visual C# 0~100 (-32768~+32767) 2 4 VC# (Overflow) 2-1 2-2 2-1 2-1.1 2-1 1 10 10!(1 10) 2-3 Visual C# 2008 10! 32767 short( )
More informationMicrosoft Word - 第3章.doc
Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck
More informationPowerPoint 簡報
複習算術運算式 條件運算式 臺北市立大學資訊科學系 ( 含碩士班 ) 賴阿福 搶答 Q1: debug int x=9, y=8, z; if (y=x+1) z=3; if (x-1=y+8) z=4; 搶答 Q1: debug (answer) int x=9, y=8, z; if (y==x+1) z=3; if (x-1==y+8) z=4; int x=9, y=8, z; if (y==x+1)
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,
More information内 容 简 介 本 书 是 一 本 关 于 语 言 程 序 设 计 的 教 材, 涵 盖 了 语 言 的 基 本 语 法 和 编 程 技 术, 其 中 包 含 了 作 者 对 语 言 多 年 开 发 经 验 的 总 结, 目 的 是 让 初 学 的 读 者 感 受 到 语 言 的 魅 力, 并 掌
语 言 程 序 设 计 郑 莉 胡 家 威 编 著 清 华 大 学 逸 夫 图 书 馆 北 京 内 容 简 介 本 书 是 一 本 关 于 语 言 程 序 设 计 的 教 材, 涵 盖 了 语 言 的 基 本 语 法 和 编 程 技 术, 其 中 包 含 了 作 者 对 语 言 多 年 开 发 经 验 的 总 结, 目 的 是 让 初 学 的 读 者 感 受 到 语 言 的 魅 力, 并 掌 握 语
More informationExcel VBA Excel Visual Basic for Application
Excel VBA Jun5,00 Sub 分頁 () Dim i As Integer Dim Cname As String Dim Code As Variant Set score=thisworkbook.sheets("sheet") Code=Array(" 專北一 "," 專北二 "," 專北三 "," 專桃園 "," 專桃竹 "," 專中苗 ", " 專台中 "," 專台南 ","
More information840 提示 Excel - Excel -- Excel (=) Excel ch0.xlsx H5 =D5+E5+F5+G5 (=) = - Excel 00
Excel - - Excel - -4-5 840 提示 Excel - Excel -- Excel (=) Excel ch0.xlsx H5 =D5+E5+F5+G5 (=) = - Excel 00 ( 0 ) 智慧標籤 相關說明提示 -5 -- Excel 4 5 6 7 8 + - * / % ^ = < >= & 9 0 (:) (,) ( ) Chapter - :,
More informationMicrosoft Word - 投影片ch06
Java2 JDK5.0 教學手冊第三版洪維恩編著博碩文化出版書號 pg20210 第六章陣列 本章學習目標認識陣列與一般資料型態的不同認識一維與二維陣列學習陣列的應用 陣列 6-2 6.1 一維陣列 一維陣列 (1-dimensional array) 可以存放多個相同資料型態的資料 6.1.1 一維陣列的宣告與記憶體的配置 要使用陣列必須經過兩個步驟 :(1) 宣告陣列 (2) 配置記憶體給該陣列
More information2009年3月全国计算机等级考试二级Java语言程序设计笔试试题
2009 年 3 月 全 国 计 算 机 等 级 考 试 笔 试 试 卷 二 级 Java 语 言 程 序 设 计 ( 考 试 时 间 90 分 钟, 满 分 100 分 ) 一 选 择 题 ( 每 题 2 分, 共 70 分 ) 下 列 各 题 A) B) C) D) 四 个 选 项 中, 只 有 一 个 选 项 是 正 确 的 请 将 正 确 选 项 填 涂 在 答 题 卡 相 应 位 置 上,
More informationMac Java import com.apple.mrj.*;... public class MyFirstApp extends JFrame implements ActionListener, MRJAboutHandler, MRJQuitHandler {... public MyFirstApp() {... MRJApplicationUtils.registerAboutHandler(this);
More informationSpyder Anaconda Spyder Python Spyder Python Spyder Spyder Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Sp
01 1.6 Spyder Anaconda Spyder Python Spyder Python Spyder Spyder 1.6.1 Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Spyder Python File
More informationuntitled
1 Outline 類别 欄 (1) 類 類 狀 更 易 類 理 若 類 利 來 利 using 來 namespace 類 ; (2) namespace IBM class Notebook namespace Compaq class Notebook 類别 類 來 類 列 欄 (field) (property) (method) (event) 類 例 立 來 車 類 類 立 車 欄 料
More information1: public class MyOutputStream implements AutoCloseable { 3: public void close() throws IOException { 4: throw new IOException(); 5: } 6:
Chapter 15. Suppressed Exception CH14 Finally Block Java SE 7 try-with-resources JVM cleanup try-with-resources JVM cleanup cleanup Java SE 7 Throwable getsuppressed Throwable[] getsuppressed() Suppressed
More informationuntitled
1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 ives.net@gmail.com www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立
More informationJava 程式設計初階 第 5 章:基本輸出入 & 流程控制
Java 程式設計 標準輸出入與流程控制 本章大綱 標準輸出入 (Standard I/O) 分支 (Branch) if ~ else switch ~ case 迴圈 (Loop) for while do ~ while 中斷指令 break continue 總整理 標準輸出 定義 : 將資料印到螢幕上 Java 標準輸出指令 System.out.println( 資料 ) 將資料印出後換行
More information《大话设计模式》第一章
第 1 章 代 码 无 错 就 是 优? 简 单 工 厂 模 式 1.1 面 试 受 挫 小 菜 今 年 计 算 机 专 业 大 四 了, 学 了 不 少 软 件 开 发 方 面 的 东 西, 也 学 着 编 了 些 小 程 序, 踌 躇 满 志, 一 心 要 找 一 个 好 单 位 当 投 递 了 无 数 份 简 历 后, 终 于 收 到 了 一 个 单 位 的 面 试 通 知, 小 菜 欣 喜
More informationchp6.ppt
Java 软 件 设 计 基 础 6. 异 常 处 理 编 程 时 会 遇 到 如 下 三 种 错 误 : 语 法 错 误 (syntax error) 没 有 遵 循 语 言 的 规 则, 出 现 语 法 格 式 上 的 错 误, 可 被 编 译 器 发 现 并 易 于 纠 正 ; 逻 辑 错 误 (logic error) 即 我 们 常 说 的 bug, 意 指 编 写 的 代 码 在 执 行
More informationuntitled
1 MSDN Library MSDN Library 量 例 參 列 [ 說 ] [] [ 索 ] [] 來 MSDN Library 了 類 類 利 F1 http://msdn.microsoft.com/library/ http://msdn.microsoft.com/library/cht/ Object object 參 類 都 object 參 object Boxing 參 boxing
More informationJavaIO.PDF
O u t p u t S t ream j a v a. i o. O u t p u t S t r e a m w r i t e () f l u s h () c l o s e () public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException
More informationC/C++ - 字符输入输出和字符确认
C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,
More informationPowerPoint 簡報
實作輔導 日期 : 3/11 09:10~16:00 地點 : 臺北市立大學臺北市中正區愛國西路一號 ( 中正紀念堂站 7 號出口 ) 公誠樓三樓 G315 電腦教室 ( 資訊科學系 ( 含碩士班 )) 可自行攜帶筆電 目標 : 協助習題 安裝 java 環境 path 設定 下次預定 : 3/24( 星期六 ) 4/14( 星期六 ) 09:10~16:00 搶答 I 1. 負責編譯 (compile)java
More informationuntitled
1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override
More informationC/C++ - 函数
C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh
More informationMicrosoft Word - 01.DOC
第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的
More information《儿童少年卫生学》教学大纲
儿 童 少 年 卫 生 学 教 学 大 纲 ( 供 公 共 卫 生 系 预 防 医 学 专 业 用 ) 前 言 儿 童 少 年 卫 生 学 简 称 儿 少 卫 生 学, 它 是 保 护 促 进 儿 童 青 少 年 身 心 健 康 的 科 学, 是 预 防 医 学 专 业 课 重 要 组 成 部 分 儿 少 卫 生 学 的 任 务 是 研 究 正 在 成 长 中 的 儿 童 青 少 年 的 身 心 发
More informationJava java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0,
http://debut.cis.nctu.edu.tw/~chi Java java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0, : POSITIVE_INFINITY NEGATIVE_INFINITY
More informationuntitled
1 Outline ArrayList 類 列類 串類 類 類 例 理 MSDN Library MSDN Library 量 例 參 列 [ 說 ] [] [ 索 ] [] 來 MSDN Library 了 類 類 利 F1 http://msdn.microsoft.com/library/ http://msdn.microsoft.com/library/cht/ Object object
More informationC/C++语言 - 运算符、表达式和语句
C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe
More information全国计算机技术与软件专业技术资格(水平)考试
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 ) 考 试 2008 年 上 半 年 程 序 员 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 ) 试 题 一 ( 共 15 分 ) 阅 读 以 下 说 明 和 流 程 图, 填 补 流 程 图 中 的 空 缺 (1)~(9), 将 解 答 填 入 答 题 纸 的 对 应 栏 内 [ 说 明
More information單步除錯 (1/10) 打開 Android Studio, 點選 Start a new Android Studio project 建立專案 Application name 輸入 BMI 點下 Next 2 P a g e
Android Studio Debugging 本篇教學除了最基本的中斷點教學之外, 還有條件式中斷的教學 條件式中斷是進階的除錯技巧, 在某些特定情況中, 我們有一個函數可能會被呼叫數次, 但是我們只希望在某種條件成立時才進行中斷, 進而觀察變數的狀態 而條件式中斷這項技巧正是符合這項需求 本教學分兩部分 單步除錯 (Page2~11, 共 10) 條件式中斷點 (Page12~17, 共 6)
More information<4D F736F F D DA5BFA6A1C476C1C92DBEC7ACECB8D5A8F728B57BB35D292E646F63>
全國高級中等學校 106 學年度商業類科學生技藝競賽 程式設計 職種 學科 試卷 選手證號碼 ( 崗位編號 ): 姓名 : 注意事項 : 請將答案劃記於答案卡, 未依規定劃記者不予計分 試題說明 :( 選擇題共 25 題每題 4 分, 答錯不倒扣, 共 100 分 ) ( )1. 執行以下 Visual Basic 程式片段, 其結果為何?(A) 15 (B) 12 (C) 7 (D) 3 Dim
More informationMicrosoft Word - ch04三校.doc
4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear
More informationChapter 9: Objects and Classes
Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-065Big5 Title : Sun Certified Programmer for the Java 2 Platform, SE 6.0 Version : Demo 1 / 14 1. 35. String #name = "Jane Doe"; 36. int
More informationSDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基
开放数据处理服务 ODPS SDK SDK 概要 使用 Maven 的用户可以从 Maven 库中搜索 "odps-sdk" 获取不同版本的 Java SDK: 包名 odps-sdk-core odps-sdk-commons odps-sdk-udf odps-sdk-mapred odps-sdk-graph 描述 ODPS 基础功能的主体接口, 搜索关键词 "odpssdk-core" 一些
More informationuntitled
1 Outline 流 ( ) 流 ( ) 流 ( ) 流 ( ) 流 ( ) 狀 流 ( ) 利 來 行流 if () 立 行 ; else 不 立 行 ; 例 sample2-a1 (1) 列 // 料 Console.Write(""); string name = Console.ReadLine(); Console.WriteLine(" " + name + "!!"); 例 sample2-a1
More informationMicrosoft PowerPoint - ds-1.ppt [兼容模式]
http://jwc..edu.cn/jxgl/ HomePage/Default.asp 2 说 明 总 学 时 : 72( 学 时 )= 56( 课 时 )+ 16( 实 验 ) 行 课 时 间 : 第 1 ~14 周 周 学 时 : 平 均 每 周 4 学 时 上 机 安 排 待 定 考 试 时 间 : 课 程 束 第 8 11 12 章 的 内 容 为 自 学 内 容 ; 目 录 中 标 有
More informationC/C++程序设计 - 字符串与格式化输入/输出
C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int
More informationOOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double
More informationjavaexample-02.pdf
n e w. s t a t i c s t a t i c 3 1 3 2 p u b l i c p r i v a t e p r o t e c t e d j a v a. l a n g. O b j e c t O b j e c t Rect R e c t x 1 y 1 x 2 y 2 R e c t t o S t r i n g ( ) j a v a. l a n g. O
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 177 [P179] (1) - [P181] [P182] (2) - for [P183] (3) - switch [P184] [P187] [P189] [P194] 178 [ ]; : : int var; : int var[3]; var 2293620 var[0] var[1] 2293620
More informationJava 程式設計初階 第 5 章:基本輸出入 & 流程控制
Standard I/O & Flow Control Outline 2 Standard I/O Branch if ~ else switch ~ case Loop For while do ~ while Interrupt Break continue Conclusion Standard I/O 3 Definition: 將資料印到螢幕上 Java 標準輸出指令 System.out.println(
More information... 29 ( )... 30... 30... 30... 31... 32... 33... 34... 34... 34... 35
... 1... 1... 1... 2 94... 2... 4... 4... 4... 5... 6... 6... 7... 7... 8... 8... 9... 10... 11... 12... 13... 13... 16... 20 ( )... 21... 21... 22... 23... 25... 26... 28 ... 29 ( )... 30... 30... 30...
More information國人之健康行為初探
1 1 (95%) 5% 12-19 (10.3%)65 (13.7%) 16.9% 6.5% 5.5%4.5% 1 1 3.7 % 12-19 65 (6.2%11.8%) 12.1% 1.6% 1 1 2 4.3 % 7.8% 0.8%20-39 40-64 (6%) ( 1 2) 21.1% () 39.2%3.3% 1 2 3.7% 4.2%5.0% 7% 6.5%1.0% 3 2 46.9%
More information前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii
前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii C# 7 More Effective C# C# C# C# C# C# Common Language Runtime CLR just-in-time
More information1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F
1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o
More information<4D F736F F D204A617661D3EFD1D4B3CCD0F2C9E8BCC628B5DA32B0E629CCE2BDE2D3EBCAB5D1E9D6B8B5BC>
第 3 章 程序流程控制 第 3 章程序流程控制 3.1 本章要点 Java 语言支持结构化程序设计中规定的三种基本控制结构, 即顺序结构 分支结构和循环结构 顺序结构比较简单, 其执行过程是从所描述的第一个操作开始, 按顺序依次执行后续的操作, 直到序列的最后一个操作 分支结构可以通过 if-else 和 switch 实现 if 语句属于条件分支语句 if 语句的语法有以下两种 : if(booleanexp){
More informationCC213
: (Ken-Yi Lee), E-mail: feis.tw@gmail.com 9 [P.11] : Dev C++ [P.12] : http://c.feis.tw [P.13] [P.14] [P.15] [P.17] [P.23] Dev C++ [P.24] [P.27] [P.34] C / C++ [P.35] 10 C / C++ C C++ C C++ C++ C ( ) C++
More information附件1:
中 华 人 民 共 和 国 财 政 部 国 家 档 案 局 令 第 79 号 会 计 档 案 管 理 办 法 会 计 档 案 管 理 办 法 已 经 财 政 部 部 务 会 议 国 家 档 案 局 局 务 会 议 修 订 通 过, 现 将 修 订 后 的 会 计 档 案 管 理 办 法 公 布, 自 2016 年 1 月 1 日 起 施 行 中 华 人 民 共 和 国 财 政 部 部 长 楼 继 伟
More information( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023)
( CIP) /. :, 2005. 2 ( ) ISBN 7-5624-3339-9.......... TP311. 1 CIP ( 2005) 011794 : : : : * : : 174 ( A ) :400030 : ( 023) 65102378 65105781 : ( 023) 65103686 65105565 : http: / /www. cqup. com. cn : fxk@cqup.
More informationC/C++ - 文件IO
C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;
More informationOOP with Java 通知 Project 4: 4 月 19 日晚 9 点
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 19 日晚 9 点 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double x) { d
More information09 (File Processes) (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises)
09 (File Processes) 9-1 9-2 (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises) Java Servlet 9-1 Servlet (File Processes) Client Servlet Servlet Java Java (Stream)
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 70-536Chinese(C++) Title : TS:MS.NET Framework 2.0-Application Develop Foundation Version : DEMO 1 / 10 1. Exception A. Data B. Message C.
More information3.1 num = 3 ch = 'C' 2
Java 1 3.1 num = 3 ch = 'C' 2 final 3.1 final : final final double PI=3.1415926; 3 3.2 4 int 3.2 (long int) (int) (short int) (byte) short sum; // sum 5 3.2 Java int long num=32967359818l; C:\java\app3_2.java:6:
More informationC/C++ - 数组与指针
C/C++ Table of contents 1. 2. 3. 4. 5. 6. 7. 8. 1 float candy [ 365]; char code [12]; int states [50]; 2 int array [6] = {1, 2, 4, 6, 8, 10}; 3 // day_mon1.c: # include # define MONTHS 12 int
More informationuntitled
1 1.1 1.2 1.3 1.4 1.5 ++ 1.6 ++ 2 BNF 3 4 5 6 7 8 1.2 9 1.2 IF ELSE 10 1.2 11 1.2 12 1.3 Ada, Modula-2 Simula Smalltalk-80 C++, Objected Pascal(Delphi), Java, C#, VB.NET C++: C OOPL Java: C++ OOPL C# C++
More informationエスポラージュ株式会社 住所 : 東京都江東区大島 東急ドエルアルス大島 HP: ******************* * 关于 Java 测试试题 ******
******************* * 关于 Java 测试试题 ******************* 問 1 运行下面的程序, 选出一个正确的运行结果 public class Sample { public static void main(string[] args) { int[] test = { 1, 2, 3, 4, 5 ; for(int i = 1 ; i System.out.print(test[i]);
More information96年特種考試第一次司法人員考試試題解答
106 年公務人員特種考試警察人員 一般警察人員考試及 106 年特種考試交通事業鐵路人員考試試題 考試別 : 鐵路人員考試 等別 : 員級考試 類科 ( 別 ): 資訊處理 科目 : 程式設計概要 考試時間 :1.5 小時 一 就下列 Java 程式片斷中加入一個 for 迴圈, 使其印出右側結果 (15 分 ) public class AllNumbers number square cube
More information新・解きながら学ぶC言語
330!... 67!=... 42 "... 215 " "... 6, 77, 222 #define... 114, 194 #include... 145 %... 21 %... 21 %%... 21 %f... 26 %ld... 162 %lf... 26 %lu... 162 %o... 180 %p... 248 %s... 223, 224 %u... 162 %x... 180
More informationC/C++语言 - 分支结构
C/C++ Table of contents 1. if 2. if else 3. 4. 5. 6. continue break 7. switch 1 if if i // colddays.c: # include int main ( void ) { const int FREEZING = 0; float temperature ; int cold_ days
More information第一章
1 2 3 4 5 6 7 8 9 10 11 12 13 14 1500 1450 1400 1350 1300 1250 1200 15 16 17 18 19 20 21 22 23 24 25 26 27 28 INPUT2006 29 30 31 32 33 34 35 9000 8500 8000 7500 7000 6500 6000 5500 5000 4500 4000 3500
More information新版 明解C言語入門編
328, 4, 110, 189, 103, 11... 318. 274 6 ; 10 ; 5? 48 & & 228! 61!= 42 ^= 66 _ 82 /= 66 /* 3 / 19 ~ 164 OR 53 OR 164 = 66 ( ) 115 ( ) 31 ^ OR 164 [] 89, 241 [] 324 + + 4, 19, 241 + + 22 ++ 67 ++ 73 += 66
More information新时期共青团工作实务全书(三十九)
........................... I II....................... 1990... .................. 1991......... III ,, 3 3 6 30 1990 19 19 ,, 30%, 1986 12 19 1989 12 25 1990 11 10 1989 10 30 1990 830 19 40
More information四川省普通高等学校
四 川 省 普 通 高 等 学 校 计 算 机 应 用 知 识 和 能 力 等 级 考 试 考 试 大 纲 (2013 年 试 行 版 ) 四 川 省 教 育 厅 计 算 机 等 级 考 试 中 心 2013 年 1 月 目 录 一 级 考 试 大 纲 1 二 级 考 试 大 纲 6 程 序 设 计 公 共 基 础 知 识 6 BASIC 语 言 程 序 设 计 (Visual Basic) 9
More information第3章.doc
3 3 3 3.1 3 IT Trend C++ Java SAP Advantech ERPCRM C++ C++ Synopsys C++ NEC C C++PHP C++Java C++Java VIA C++ 3COM C++ SPSS C++ Sybase C++LinuxUNIX Motorola C++ IBM C++Java Oracle Java HP C++ C++ Yahoo
More informationMicrosoft Word - 2007-08¾Ç®Õ©P¦~³ø§i.doc
沙 田 蘇 浙 公 學 學 校 周 年 報 告 ( 二 七 至 二 八 學 年 ) 學 校 報 告 的 主 要 內 容 學 校 資 料 校 訓 辦 學 宗 旨 及 方 針 校 史 學 校 設 施 及 資 源 學 校 近 況 熱 心 公 益, 回 饋 社 會 傳 媒 報 道 專 業 發 展, 自 我 完 善 課 程 改 革, 教 師 培 訓, 加 強 溝 通, 順 利 過 渡 新 高 中 學 制 齊
More information新・明解C言語入門編『索引』
!... 75!=... 48 "... 234 " "... 9, 84, 240 #define... 118, 213 #include... 148 %... 23 %... 23, 24 %%... 23 %d... 4 %f... 29 %ld... 177 %lf... 31 %lu... 177 %o... 196 %p... 262 %s... 242, 244 %u... 177
More information重 庆 市 万 州 区 人 民 政 府 公 报 卷 首 语 开 启 加 快 建 设 重 庆 第 二 大 城 市 新 征 程 1 万 州 区 委 区 政 府 文 件 传 达 政 令 宣 传 政 策 指 导 工 作 服 务 全 区 中 共 重 庆 市 万 州 区 委 重 庆 市 万 州 区 人 民 政
卷 首 语 开 启 加 快 建 设 重 庆 第 二 大 城 市 新 征 程 市 委 四 届 三 次 全 会 再 次 明 确 提 出 把 万 州 建 成 重 庆 第 二 大 城 市, 鼓 舞 人 心, 催 人 奋 进 全 区 人 民 要 进 一 步 增 强 紧 迫 感 和 责 任 感, 奋 发 有 为, 快 马 扬 鞭, 开 启 加 快 建 设 重 庆 第 二 大 城 市 的 新 征 程 把 万 州
More information前 言
目 广 东 纺 织 职 业 技 术 学 院 制 订 人 才 培 养 计 划 的 原 则 意 见 ( 修 订 )... 1 广 东 纺 织 职 业 技 术 学 院 教 学 计 划 管 理 办 法 ( 修 订 )... 6 广 东 纺 织 职 业 技 术 学 院 课 程 教 学 大 纲 管 理 规 定 ( 修 订 )... 16 广 东 纺 织 职 业 技 术 学 院 教 学 管 理 规 程... 20
More informationMicrosoft Word - PHP7Ch01.docx
PHP 01 1-6 PHP PHP HTML HTML PHP CSSJavaScript PHP PHP 1-6-1 PHP HTML PHP HTML 1. Notepad++ \ch01\hello.php 01: 02: 03: 04: 05: PHP 06:
More information月光迴旋曲
臺 北 人, 淡 江 大 學 中 文 所 畢 曾 任 電 腦 雜 誌 採 編 電 視 臺 執 行 製 作 高 職 專 任 導 師, 曾 獲 耕 莘 四 十 週 年 臺 灣 之 顏 文 學 獎 2007 全 國 臺 灣 文 學 營 創 作 獎 第 二 十 四 屆 聯 合 文 學 小 說 新 人 獎 第 九 屆 暨 第 十 二 屆 臺 北 文 學 獎 九 十 九 年 教 育 部 文 藝 創 作 獎 第
More informationMicrosoft Word - C-pgm-ws2010.doc
Information and Communication Technology 資訊與通訊科技 Loops (while/for) C 廻路 姓名 : 班別 : ( ) CS C Programming #1 Functions 函數 : 1 若 n=14, 求以下表示式的值 Expressions 表示式 Value 值 Expressions 表示式 Value 值 A 20 2 * (n /
More informationC++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 5 月 3 日 1
C++ 程序设计 告别 OJ1 - 参考答案 MASTER 2019 年 月 3 日 1 1 INPUTOUTPUT 1 InputOutput 题目描述 用 cin 输入你的姓名 ( 没有空格 ) 和年龄 ( 整数 ), 并用 cout 输出 输入输出符合以下范例 输入 master 999 输出 I am master, 999 years old. 注意 "," 后面有一个空格,"." 结束,
More information软件工程文档编制
实训抽象类 一 实训目标 掌握抽象类的定义 使用 掌握运行时多态 二 知识点 抽象类的语法格式如下 : public abstract class ClassName abstract void 方法名称 ( 参数 ); // 非抽象方法的实现代码 在使用抽象类时需要注意如下几点 : 1 抽象类不能被实例化, 实例化的工作应该交由它的子类来完成 2 抽象方法必须由子类来进行重写 3 只要包含一个抽象方法的抽象类,
More informationJava Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream Class java.io.datainptstream (extends) FilterInputStream InputStream Obj
Message Transition 5-1 5-2 DataInputStream Class 5-3 DataOutputStream Class 5-4 PrintStream Class 5-5 (Message Transition) (Exercises) Java Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream
More informationOOP with Java 通知 Project 4: 5 月 2 日晚 9 点
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 5 月 2 日晚 9 点 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double x) { d =
More information<4D6963726F736F667420576F7264202D20AC4FBDBDA4FBB67DA96CAABA2DA743A67EAFC5AAA95FA7B9BD5A5F2E646F63>
( 閱 讀 前 ) 練 習 一 動 動 腦, 猜 一 猜 小 朋 友, 現 在 我 們 要 一 起 來 閱 讀 一 本 很 有 趣 的 書, 書 名 是 是 蝸 牛 開 始 的!, 請 動 動 你 的 腦 袋, 想 像 自 己 是 作 者, 猜 猜 這 本 書 在 說 什 麼 樣 的 故 事 呢? 我 覺 得 這 個 故 事 可 能 的 角 色 有 我 覺 得 這 個 故 事 可 能 發 生 的 地
More informationPowerPoint 簡報
國 家 賠 償 法 概 述 主 講 人 : 宋 恭 良 104.10.12 2015.10.30 1 Q. 老 師 是 否 是 公 務 員? 是 否 適 用 國 賠? 法 務 部 95 年 9 月 14 日 法 律 字 第 0170449 號 函 : 國 家 賠 償 法 第 2 條 第 1 項 規 定 本 法 所 稱 公 務 員 者, 謂 依 法 令 從 事 於 公 務 之 員, 係 採 最 廣 義
More informationC/C++ 语言 - 循环
C/C++ Table of contents 7. 1. 2. while 3. 4. 5. for 6. 8. (do while) 9. 10. (nested loop) 11. 12. 13. 1 // summing.c: # include int main ( void ) { long num ; long sum = 0L; int status ; printf
More information1.5招募说明书(草案)
PUBLIC 2014 1 PUBLIC - 1 2014 1 PUBLIC - 2 2014 1 PUBLIC - 3 2014 1 PUBLIC - 4 2014 1 PUBLIC - 5 2014 1 PUBLIC - 6 2014 1 PUBLIC - 7 2014 1 PUBLIC - 8 2014 1 PUBLIC - 9 2014 1 PUBLIC - 10 2014 1 PUBLIC
More information1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10
Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1
More information<4D6963726F736F667420576F7264202D20C8EDC9E82DCFC2CEE7CCE22D3039C9CF>
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 考 试 2009 年 上 半 年 软 件 设 计 师 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 请 按 下 述 要 求 正 确 填 写 答 题 纸 1. 在 答 题 纸 的 指 定 位 置 填 写 你 所 在 的 省 自 治 区 直 辖 市 计 划 单 列 市 的 名 称 2. 在 答
More information_汪_文前新ok[3.1].doc
普 通 高 校 本 科 计 算 机 专 业 特 色 教 材 精 选 四 川 大 学 计 算 机 学 院 国 家 示 范 性 软 件 学 院 精 品 课 程 基 金 青 年 基 金 资 助 项 目 C 语 言 程 序 设 计 (C99 版 ) 陈 良 银 游 洪 跃 李 旭 伟 主 编 李 志 蜀 唐 宁 九 李 涛 主 审 清 华 大 学 出 版 社 北 京 i 内 容 简 介 本 教 材 面 向
More information一、
考試時間 : 1 小時 30 分座號 : 全五頁第一頁 注意 : 禁止使用電子計算器 不必抄題, 作答時請將試題題號及答案依照順序寫在試卷上, 於本試題上作答者, 不予計分 一 就下列 Java 程式片斷中加入一個 for 迴圈, 使其印出右側結果 (15 分 ) public class AllNumbers number square cube 0 0 0 public static void
More informationEJB-Programming-4-cn.doc
EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session
More information使用MapReduce读取XML文件
使用 MapReduce 读取 XML 文件 XML( 可扩展标记语言, 英语 :extensible Markup Language, 简称 : XML) 是一种标记语言, 也是行业标准数据交换交换格式, 它很适合在系统之间进行数据存储和交换 ( 话说 Hadoop H ive 等的配置文件就是 XML 格式的 ) 本文将介绍如何使用 MapReduce 来读取 XML 文件 但是 Had oop
More information概述
OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3
More informationPowerPoint プレゼンテーション
Perl CGI 1 Perl CGI 2 Perl CGI 3 Perl CGI 4 1. 2. 1. #!/usr/local/bin/perl 2. print "Content-type: text/html n n"; 3. print " n"; 4. print " n"; 3. 4.
More information