Explain each of the following terms. (12%) (a) O(n 2 ) (b) protected in C++ language (c) sparse matrix 7. Write
|
|
- 峨 叶
- 5 years ago
- Views:
Transcription
1 Department of Computer Science and Engineering National Sun Yat-sen University Data Structures - Middle Exam, Nov. 20, Suppose an array is declared as a[5][6][4], where the address of a[0][0][0] is 200 and each element requires four bytes. Please give the addresses of a[3][4][2] with the row-major representation and the column-major representation. (8%). 2. What are printed by each of the following C programs? (16%) (a) char e=13; printf("%d \n",~((e+4) >> 3)); (b) void f(int a[ ], int b[ ], int *c, int *d) printf("%d %d %d %d \n", a[1],b[2],*(c+2),d[4]); } int main( ) int e[ ]=20,21,22,23,24,25,26,27,28,29,30}; f(e,e+3,&e[2],&e[1]+4); } (c) int a[ ]=11,14,17,20,23,26}; int *p; p=a; *(p++)=5; (*(++p))++; printf("%d %d %d %d \n",a[0],a[1],*p,*(p+2)); (d) union char m; unsigned char n; }u; u.n=193; printf("%d \n",u.m); 3. Please draw the expression tree of the infix expression (A+B)*D+E/(F+A*D)+C, and then give the prefix and postfix forms. (9%) 4. John is learning numeric symbols (1,2,3,4 ), but sometimes he may write 1 as L. With only the first three digits (1, 2, 3, L) for addition, we want to know the number of permutations whose sum is n. For example, if n=2, the 5 permutations have the same sum 2: 11, 1L, L1, LL, 2. If n=3, the 13 permutations have the same sum 3: 111,11L, 1L1,1LL, L11, L1L, LL1, LLL, 21,2L, 12, L2,3. Let f(n) denote the number of permutations with sum n. Then f(n) can be calculated by the recurrence formula: f(n) = a f(n-1)+b f(n-2)+c f(n-3), n 4. What are the values of a, b and c? (9%) 5. Suppose that a matrix m[ ][ ] is stored in a linear array a[ ] with the sequence in the following figure. Please give the mapping function from m[i][j] to a[k], that is, to express k as a function of i and j. Note that the upper left corner of m is the first element m[0][0], the first element of a is a[0]. And m[0][1] = 1, m[0][2] = 5, and (10%) - 1 -
2 Explain each of the following terms. (12%) (a) O(n 2 ) (b) protected in C++ language (c) sparse matrix 7. Write a recursive C/C++ function to perform the binary search on a nondecreasingly sorted array. (12%) int BSearch(int a[ ], int x, int left, int right) // a[ ]: nondecreasingly sorted array // search for x in a[left], a[left+1],, a[right-1], a[right] //Return the index if found. Return -1 if not found. Please write the body of BSearch( ). } // end of BSearch( ) 8. Write a C/C++ function to perform insert (into the rear) and remove (from the front) operations of a circular queue implemented with an array. (12%) int front, rear; // front, rear pointers int capacity=100; // size of queue char q[100]; // array for the circular queue. //No data element is stored in a[front], but a[rear] stores one element. void Insert(char x) // insert x into the rear. You have to check if q is full before the insertion. (a) Please write the body of Insert( ). } // end of insert ( ) char Remove(void) // Remove an element from the front, and return the removed element. // You have to check if q is empty before the removal. (b) Please write the body of Remove( )
3 } // end of Remove( ) 9. Let x=(x 1, x 2,, x m-1, x m ) and y=(y 1, y 2,, y n-1, y n ) be two circular chains. Write a C++ function to concatenate the two circular chains into a circular chain z=(x 1, x 2,, x m-1, x m, y 1, y 2,, y n-1, y n ). Note that x or y may be empty. (12%) class ChainNode int data; ChainNode *link; // Point to the next node }; class Chain ChainNode *first *last; // circular chain Chain concatenate(chain &y ) // y is concatenated to the end of *this (x) // You have to consider empty chains. Chain z; // The resulting chain Please write the body of concatenate( ). return z; } // end of concatenate( ) }; - 3 -
4 Answer: 1. row-major: * (3 * 6 * * 4 + 2) = * 90 = 560 column-major: * (2 * 6 * * 5 + 3) = * 83 = (a) ~((13 + 4) >> 3) = ~(17 >> 3) = ~ (( ) 2 >> 3) = ~(( ) 2 ) = ( ) 2 = -3 由於 e 是 char 資料型態, 故以 8 bits 呈現 印出 e 時, 是以 %d 表現, 亦即是帶有正負號之整數, 因此需將當時的數值解讀為 2 s complement Output: -3 (b) a[0] 對應至 e[0], 因此 a[1] = e[1] = 21 b[0] 對應至 e[3], 因此 b[2] = e[5] = 25 c 對應至 e[2]( 也就是 c[0] 對應至 e[2]), 因此 *(c+2) = e[2+2] = 24 d 對應至 e[5] ( 也就是 d[0] 對應至 e[5]), 因此 d[4] = e[9] =29 Output: (c) p=a; // p 對應至 a[0] *(p++) = 5; // 先執行 *p =5, 因此 a[0]=5 再做 p=p+1, 因此 p 對應至 a[1] (*(++p))++; // 先做 p=p+1, 因此 p 對應至 a[2] 再做 (*p)++, 即 a[2]=17+1=18 a[0] = 5 a[1] = 14 *p =a[2]=18 *(p+2) a[4]= 23 Output: (d) u 與 v 佔據相同記憶體位置, 兩者的資料內容相同, 但解讀方式不同 u 為無正負號的 char, 亦即為 8 bit 無正負號之整數 m 亦是 8 bit, 但帶有正負號 將 193 轉換成 2 s complement 之負值即可 u=193 (10) = (2), 2 s complement 為 63 (10) = (2), 故 (2) 為 -63 Output: -63 Summary: (a) -3 (b) (c) (d) Prefix: ++*+ABD/E+F*ADC Postfix: AB+D*EFAD*+/+C - 4 -
5 4. f(n) 可以表示如下 : f(n) = 2f(n-1) + f(n-2) + f(n-3) 2f(n-1) 在 f(n-1) 每項之後再加上 1 及 L, 可使總和由 n-1 增加為 n f(n-2) 在 f(n-2) 每項之後再加上 2, 可使總和由 n-2 增加為 n f(n-3) 在 f(n-3) 每項之後再加上 3, 可使總和由 n-3 增加為 n Summary: a=2, b=1, c=1 5. 計算 [i][j] 的編號時, 在此之前的斜線 ( 圖中藍色三角形 ), 共有如下的數字個數 : (i+j)= (i+j)(i+j+1) / 2 之後再依 i + j 為奇數或偶數偶, 判斷 [i][j] 所在斜線, 尚需增加之個數 ( 例如圖中 [1][3] 位置, 尚需增加 j=3, 因為 i+j 為偶數 ) 完整公式如下 : k=[1+2+ +(i+j)]+i= (i+j)(i+j+1) / 2 +i,if i+j is odd ( 奇數 ) k=[1+2+ +(i+j)]+j= (i+j)(i+j+1) / 2 +j,if i+j is even ( 偶數 ) 6. (a) O(n 2 ): 至多與 n 2 成正比, 可用來表示時間複雜度或空間複雜度 (b) 能被原本的 class 以及衍生的 class( 繼承者 ) 存取 - 5 -
6 (c) 一個矩陣中, 大部分元素為零, 少數為非零 7. if(left > right) return -1; int mid = (left + right)/2; if(a[mid] == x) return mid; if(a[mid] > x) Bsearch(a, x, left, mid-1); if(a[mid] < x) Bsearch(a, x, mid +1, right); 8. (a) (b) if((rear + 1)%capacity) == front) throw full ; rear = (rear + 1)%capacity; q[rear] = x; if(rear == front) throw empty ; front = (front + 1)%capacity; return q[front]; 9. if( front == NULL ) // x is NULL z.first = y.first; z.last = y.last; } else if( y.first == NULL ) // y is NULL z.first = first; z.last = last; } else // Both x and y are not NULL last link = y.first; // last of x points to first of y y.last link = first; // last of y points to first of x, for circular chains z.first = first; z.last = y.last } return z; - 6 -
Microsoft Word - data_mid1611_and_sol.docx
Department of Computer Science and Engineering National Sun Yat-sen University Data Structures - Middle Exam, Nov. 14, 2016 1. Explain each of the following terms. (16%) (a) private in C++ language (b)
More informationENGG1410-F Tutorial 6
Jianwen Zhao Department of Computer Science and Engineering The Chinese University of Hong Kong 1/16 Problem 1. Matrix Diagonalization Diagonalize the following matrix: A = [ ] 1 2 4 3 2/16 Solution The
More informationMicrosoft PowerPoint - Lecture7II.ppt
Lecture 8II SUDOKU PUZZLE SUDOKU New Play Check 軟體實作與計算實驗 1 4x4 Sudoku row column 3 2 } 4 } block 1 4 軟體實作與計算實驗 2 Sudoku Puzzle Numbers in the puzzle belong {1,2,3,4} Constraints Each column must contain
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 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 informationMicrosoft PowerPoint - STU_EC_Ch02.ppt
樹德科技大學資訊工程系 Chapter 2: Number Systems Operations and Codes Shi-Huang Chen Sept. 2010 1 Chapter Outline 2.1 Decimal Numbers 2.2 Binary Numbers 2.3 Decimal-to-Binary Conversion 2.4 Binary Arithmetic 2.5
More informationImproved Preimage Attacks on AES-like Hash Functions: Applications to Whirlpool and Grøstl
SKLOIS (Pseudo) Preimage Attack on Reduced-Round Grøstl Hash Function and Others Shuang Wu, Dengguo Feng, Wenling Wu, Jian Guo, Le Dong, Jian Zou March 20, 2012 Institute. of Software, Chinese Academy
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 informationC 1
C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=
More informationC/C++语言 - C/C++数据
C/C++ C/C++ Table of contents 1. 2. 3. 4. char 5. 1 C = 5 (F 32). 9 F C 2 1 // fal2cel. c: Convert Fah temperature to Cel temperature 2 # include < stdio.h> 3 int main ( void ) 4 { 5 float fah, cel ;
More information2015 Chinese FL Written examination
Victorian Certificate of Education 2015 SUPERVISOR TO ATTACH PROCESSING LABEL HERE Letter STUDENT NUMBER CHINESE FIRST LANGUAGE Written examination Monday 16 November 2015 Reading time: 11.45 am to 12.00
More informationMicrosoft Word - 11月電子報1130.doc
發 行 人 : 楊 進 成 出 刊 日 期 2008 年 12 月 1 日, 第 38 期 第 1 頁 / 共 16 頁 封 面 圖 話 來 來 來, 來 葳 格 ; 玩 玩 玩, 玩 數 學 在 11 月 17 到 21 日 這 5 天 裡 每 天 一 個 題 目, 孩 子 們 依 據 不 同 年 段, 尋 找 屬 於 自 己 的 解 答, 這 些 數 學 題 目 和 校 園 情 境 緊 緊 結
More information<4D6963726F736F667420506F776572506F696E74202D20B5DAD2BBD5C228B4F2D3A1B0E6292E707074205BBCE6C8DDC4A3CABD5D>
Homeworks ( 第 三 版 ):.4 (,, 3).5 (, 3).6. (, 3, 5). (, 4).4.6.7 (,3).9 (, 3, 5) Chapter. Number systems and codes 第 一 章. 数 制 与 编 码 . Overview 概 述 Information is of digital forms in a digital system, and
More informationMicrosoft Word - Final Exam Review Packet.docx
Do you know these words?... 3.1 3.5 Can you do the following?... Ask for and say the date. Use the adverbial of time correctly. Use Use to ask a tag question. Form a yes/no question with the verb / not
More informationMicrosoft Word - 0405
附 件 二 之 4 十 二 年 國 民 基 本 教 育 國 中 教 師 有 效 教 學 深 耕 推 廣 計 畫 優 良 教 案 甄 選 比 賽 教 學 計 畫 ( 教 案 ) 主 題 名 稱 問 路 / 方 向 指 示 教 學 節 數 5 節 教 材 來 源 改 編 教 科 書 ( 康 軒 翰 林 南 一 其 他 主 題 Book4 Unit9: How Do We Get to the Night
More informationC C
C C 2017 3 8 1. 2. 3. 4. char 5. 2/101 C 1. 3/101 C C = 5 (F 32). 9 F C 4/101 C 1 // fal2cel.c: Convert Fah temperature to Cel temperature 2 #include 3 int main(void) 4 { 5 float fah, cel; 6 printf("please
More informationOpen topic Bellman-Ford算法与负环
Open topic Bellman-Ford 2018 11 5 171860508@smail.nju.edu.cn 1/15 Contents 1. G s BF 2. BF 3. BF 2/15 BF G Bellman-Ford false 3/15 BF G Bellman-Ford false G c = v 0, v 1,..., v k (v 0 = v k ) k w(v i 1,
More informationTX-NR3030_BAS_Cs_ indd
TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5
More informationLEETCODE leetcode.com 一 个 在 线 编 程 网 站, 收 集 了 IT 公 司 的 面 试 题, 包 括 算 法, 数 据 库 和 shell 算 法 题 支 持 多 种 语 言, 包 括 C, C++, Java, Python 等 2015 年 3 月 份 加 入 了 R
用 RUBY 解 LEETCODE 算 法 题 RUBY CONF CHINA 2015 By @quakewang LEETCODE leetcode.com 一 个 在 线 编 程 网 站, 收 集 了 IT 公 司 的 面 试 题, 包 括 算 法, 数 据 库 和 shell 算 法 题 支 持 多 种 语 言, 包 括 C, C++, Java, Python 等 2015 年 3 月 份
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 informationC++ 程式設計
C C 料, 數, - 列 串 理 列 main 數串列 什 pointer) 數, 數, 數 數 省 不 不, 數 (1) 數, 不 數 * 料 * 數 int *int_ptr; char *ch_ptr; float *float_ptr; double *double_ptr; 數 (2) int i=3; int *ptr; ptr=&i; 1000 1012 ptr 數, 數 1004
More informationMicrosoft PowerPoint - STU_EC_Ch04.ppt
樹德科技大學資訊工程系 Chapter 4: Boolean Algebra and Logic Simplification Shi-Huang Chen Fall 200 Outline Boolean Operations and Expressions Laws and Rules of Boolean Algebra DeMorgan's Theorems Boolean Analysis
More information2/80 2
2/80 2 3/80 3 DSP2400 is a high performance Digital Signal Processor (DSP) designed and developed by author s laboratory. It is designed for multimedia and wireless application. To develop application
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 informationMicrosoft Word doc
中 考 英 语 科 考 试 标 准 及 试 卷 结 构 技 术 指 标 构 想 1 王 后 雄 童 祥 林 ( 华 中 师 范 大 学 考 试 研 究 院, 武 汉,430079, 湖 北 ) 提 要 : 本 文 从 结 构 模 式 内 容 要 素 能 力 要 素 题 型 要 素 难 度 要 素 分 数 要 素 时 限 要 素 等 方 面 细 致 分 析 了 中 考 英 语 科 试 卷 结 构 的
More informationMicrosoft Word - 把时间当作朋友(2011第3版)3.0.b.06.doc
2 5 8 11 0 13 1. 13 2. 15 3. 18 1 23 1. 23 2. 26 3. 28 2 36 1. 36 2. 39 3. 42 4. 44 5. 49 6. 51 3 57 1. 57 2. 60 3. 64 4. 66 5. 70 6. 75 7. 83 8. 85 9. 88 10. 98 11. 103 12. 108 13. 112 4 115 1. 115 2.
More informationMicrosoft PowerPoint - Model Checking a Lazy Concurrent List-Based Set Algorithm.ppt [Compatibility Mode]
Model Checking a Lazy Concurrent List-Based Set Algorithm ZHANG Shaojie, LIU Yang National University of Singapore Agenda Introduction Background Ourapproach Overview Linearizabilitydefinition Modelinglanguage
More informationStochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University 508 YiFu Lou talk 06/
Stochastic Processes (XI) Hanjun Zhang School of Mathematics and Computational Science, Xiangtan University hjzhang001@gmail.com 508 YiFu Lou talk 06/04/2010 - Page 1 Outline 508 YiFu Lou talk 06/04/2010
More information第1章 簡介
EAN.UCCThe Global Language of Business 4 512345 678906 > 0 12345 67890 5 < > 1 89 31234 56789 4 ( 01) 04601234567893 EAN/UCC-14: 15412150000151 EAN/UCC-13: 5412150000161 EAN/UCC-14: 25412150000158 EAN/UCC-13:
More informationebook39-5
5 3 last-in-first-out, LIFO 3-1 L i n e a r L i s t 3-8 C h a i n 3 3. 8. 3 C + + 5.1 [ ] s t a c k t o p b o t t o m 5-1a 5-1a E D 5-1b 5-1b E E 5-1a 5-1b 5-1c E t o p D t o p D C C B B B t o p A b o
More informationMicrosoft PowerPoint - STU_EC_Ch08.ppt
樹德科技大學資訊工程系 Chapter 8: Counters Shi-Huang Chen Fall 2010 1 Outline Asynchronous Counter Operation Synchronous Counter Operation Up/Down Synchronous Counters Design of Synchronous Counters Cascaded Counters
More informationuntitled
3 C++ 3.1 3.2 3.3 3.4 new delete 3.5 this 3.6 3.7 3.1 3.1 class struct union struct union C class C++ C++ 3.1 3.1 #include struct STRING { typedef char *CHARPTR; // CHARPTR s; // int strlen(
More information2017 CCAFL Chinese in Context
Student/Registration Number Centre Number 2017 PUBLIC EXAMINATION Chinese in Context Reading Time: 10 minutes Working Time: 2 hours and 30 minutes You have 10 minutes to read all the papers and to familiarise
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 informationImportant Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO
Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS
More information4. 每 组 学 生 将 写 有 习 语 和 含 义 的 两 组 卡 片 分 别 洗 牌, 将 顺 序 打 乱, 然 后 将 两 组 卡 片 反 面 朝 上 置 于 课 桌 上 5. 学 生 依 次 从 两 组 卡 片 中 各 抽 取 一 张, 展 示 给 小 组 成 员, 并 大 声 朗 读 卡
Tips of the Week 课 堂 上 的 英 语 习 语 教 学 ( 二 ) 2015-04-19 吴 倩 MarriottCHEI 大 家 好! 欢 迎 来 到 Tips of the Week! 这 周 我 想 和 老 师 们 分 享 另 外 两 个 课 堂 上 可 以 开 展 的 英 语 习 语 教 学 活 动 其 中 一 个 活 动 是 一 个 充 满 趣 味 的 游 戏, 另 外
More informationStates and capital package
: 1 Students are required to know 50 states and capitals and their geological locations. This is an independent working packet to learn about 50 states and capital. Students are asked to fulfill 4 activities
More informationuntitled
不 料 料 例 : ( 料 ) 串 度 8 年 數 串 度 4 串 度 數 數 9- ( ) 利 數 struct { ; ; 數 struct 數 ; 9-2 數 利 數 C struct 數 ; C++ 數 ; struct 省略 9-3 例 ( 料 例 ) struct people{ char name[]; int age; char address[4]; char phone[]; int
More informationMicrosoft Word - template.doc
HGC efax Service User Guide I. Getting Started Page 1 II. Fax Forward Page 2 4 III. Web Viewing Page 5 7 IV. General Management Page 8 12 V. Help Desk Page 13 VI. Logout Page 13 Page 0 I. Getting Started
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 informationMicrosoft Word - 把时间当作朋友(2011第3版)3.0.b.07.doc
2 5 8 11 0 1. 13 2. 15 3. 18 1 1. 22 2. 25 3. 27 2 1. 35 2. 38 3. 41 4. 43 5. 48 6. 50 3 1. 56 2. 59 3. 63 4. 65 5. 69 13 22 35 56 6. 74 7. 82 8. 84 9. 87 10. 97 11. 102 12. 107 13. 111 4 114 1. 114 2.
More informationRoderick M.Chisholm on Justification I Synopsis Synopsis Since the problem of Gettier, the problem of justification has become the core of contemporary western epistemology. The author tries to clarify
More informationuntitled
Co-integration and VECM Yi-Nung Yang CYCU, Taiwan May, 2012 不 列 1 Learning objectives Integrated variables Co-integration Vector Error correction model (VECM) Engle-Granger 2-step co-integration test Johansen
More informationFun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc
References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2
More information3. 給 定 一 整 數 陣 列 a[0] a[1] a[99] 且 a[k]=3k+1, 以 value=100 呼 叫 以 下 兩 函 式, 假 設 函 式 f1 及 f2 之 while 迴 圈 主 體 分 別 執 行 n1 與 n2 次 (i.e, 計 算 if 敘 述 執 行 次 數, 不
1. 右 側 程 式 正 確 的 輸 出 應 該 如 下 : * *** ***** ******* ********* 在 不 修 改 右 側 程 式 之 第 4 行 及 第 7 行 程 式 碼 的 前 提 下, 最 少 需 修 改 幾 行 程 式 碼 以 得 到 正 確 輸 出? (A) 1 (B) 2 (C) 3 (D) 4 1 int k = 4; 2 int m = 1; 3 for (int
More informationChapter12 Derived Classes
继 承 -- 派 生 类 复 习 1. 有 下 面 类 的 说 明, 有 错 误 的 语 句 是 : class X { A) const int a; B) X(); C) X(int val) {a=2 D) ~X(); 答 案 :C 不 正 确, 应 改 成 X(int val) : a(2) { 2. 下 列 静 态 数 据 成 员 的 特 性 中, 错 误 的 是 A) 说 明 静 态 数
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 informationMicrosoft Word - 103-4 記錄附件
國 立 虎 尾 技 大 103 年 度 第 4 次 教 務 會 議 記 錄 附 件 中 華 民 國 104 年 6 月 16 日 受 文 者 : 國 立 虎 尾 技 大 發 文 日 期 : 中 華 民 國 104 年 5 月 28 日 發 文 字 號 : 臺 教 技 ( 二 ) 字 第 1040058590 號 速 別 : 最 速 件 密 等 及 解 密 條 件 或 保 密 期 限 : 附 件 :
More information台 灣 人 權 學 刊 第 三 卷 第 三 期 他 還 接 受 教 育 部 的 委 託, 長 年 擔 任 中 央 層 級 的 人 權 教 育 輔 善 團 的 指 導 教 授, 至 今 已 有 多 年 我 雖 然 不 是 很 了 解 為 什 麼 他 可 以 一 邊 承 擔 教 育 部 賦 予 的 任
人權教育在台灣的推動及其進取之道 但昭偉 台北市立大學教育系教授 摘要 2016 年台灣的大選結果 素來對人權倡議有較多同情的民主進步黨取得政權 假如這曾提出以人權立國的政黨重新要來推動人權教育 並期許以人權政策和 國際社會接軌 他們在人權教育的推動上究竟應該採取什麼樣的作為才會最有 效 在這篇論文中 本文作者先交待從 2000 年到 2015 年當中兩個執政黨在人 權教育上的作為 在交待過程中 作者從教育理論和實踐工作者的觀點來評述
More informationMicrosoft Word - Book9
葬 書 ( 下 ) 佈 陣 十 方 成 立 指 揮 中 心 層 巒 疊 障 千 山 翠 微, 紓 回 連 綿 的 重 山 復 重 山, 侍 朝 衛 迎, 前 後 有 序, 巋 巘 隱 逸 著 一 片 風 水 寶 地, 牛 臥 馬 馳, 鸞 飛 鳳 舞, 滕 蛇 委 蛇, 縈 藟 纏 繞 在 葺 襲 的 斷 續 峰 巒 之 間! 離 正 午 十 二 時 整 還 有 半 個 鐘 頭, 接 近 天 頂 的
More informationWindows XP
Windows XP What is Windows XP Windows is an Operating System An Operating System is the program that controls the hardware of your computer, and gives you an interface that allows you and other programs
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 information92 (When) (Where) (What) (Productivity) (Efficiency) () (2) (3) (4) (5) (6) (7) em-plant( SiMPLE++) Scheduling When Where Productivity Efficiency [5]
DYNAMIC SCHEDULING IN TWO-MACHINE FLOW-SHOP WITH RECIRCULATION em-plant( SiMPLE++) Jen-Shiang Chen, Jar-Her Kao, Chun-Chieh Chen, Po-Cheng Liu, and Wen-Pin Lin Department of Industrial Engineering and
More informationC C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40
C C trio@seu.edu.cn C C C C The Most Beautiful Language and Most Dangerous Language in the Programming World! C 2 C C C 4 C 40 30 10 Project 30 C Project 3 60 Project 40 Week3 C Week5 Week5 Memory & Pointer
More information9 21-40 2004 12 * * 22 9 1 2 3 1 1992 2 1960 2 3 1984 8 87 23 4 5 1697 AD 1779 6 7 8 9 10 11 12 4 1977 109-112 5 87 41993 13-38 6 614 7 8 632 9 1974 8 10 631 11 12 632 9 24 13 14 13 1990 14 25 15 16 15
More information国 培 简 讯 国 培 计 划 (2012) 示 范 性 集 中 培 训 项 目 国 培 计 划 (2012) 中 小 学 教 师 示 范 性 集 中 培 训 暨 中 西 部 农 村 教 师 集 中 培 训 中 小 学 骨 干 教 师 北 京 外 国 语 大 学 英 语 学 科 研 修 项 目 毕
国 培 简 讯 国 培 计 划 (2012) 示 范 性 集 中 培 训 项 目 国 培 计 划 (2012) 中 小 学 教 师 示 范 性 集 中 培 训 暨 中 西 部 农 村 教 师 集 中 培 训 中 小 学 骨 干 教 师 北 京 外 国 语 大 学 英 语 学 科 研 修 项 目 毕 业 典 礼 隆 重 召 开 安 徽 省 广 德 县 誓 节 镇 中 心 小 学 陈 吉 龙 2012
More information1 1 1 1 2 3 3 3 4 4 5 5 5 6 6 7 7 9 9 9 10 11 11 11 1. 2. 3. 4. 1 2 11 12 12 12 12 13 13 13 15 15 16 16 17 18 18 18 19 19 19 20 20 20 21 22 22 22 23 23 1. 2. 23 25 27 27 28 28 28 29 29 29 30 31 31 31 32
More information˛ˇ
119 120 John Wickham 2008-10-18 To Whom It May Concern, We wish to advise you that our father Jerry Wang, Proffessor Wang Zhou Hao passed away in his sleep on the 14/10/2008
More information1990 8
1990 8 1900 ( )! ( ) = 1990 8 (1) (7) (18) 1 (20) 2 (29) 3 (32) 4 (33) 5 (34) 6 (39) 7 (41) (42) (47) (52) 1 l (52) 2 (159) 1900 ( ) 8 4 5 l ( ) 30 6 2 1900 10 8 4 3 ( ) l 410 300 4 ( 852 ) ( ) 859 )
More information四川省普通高等学校
四 川 省 普 通 高 等 学 校 计 算 机 应 用 知 识 和 能 力 等 级 考 试 考 试 大 纲 (2013 年 试 行 版 ) 四 川 省 教 育 厅 计 算 机 等 级 考 试 中 心 2013 年 1 月 目 录 一 级 考 试 大 纲 1 二 级 考 试 大 纲 6 程 序 设 计 公 共 基 础 知 识 6 BASIC 语 言 程 序 设 计 (Visual Basic) 9
More informationMicrosoft Word - 03-98管理學
管 理 學 試 題 共 1 頁 ㄧ 解 釋 名 詞 (25%) 1. 德 菲 法 預 測 2. 授 權 3. 非 理 性 決 策 4. 零 和 賽 局 5. 矩 陣 式 組 織 二 申 論 題 1. 工 作 輪 調 工 作 豐 富 化 與 工 作 擴 大 化 均 為 增 進 工 作 內 容 多 樣 化 之 工 作 設 計, 請 詳 細 比 較 上 述 三 種 工 作 設 計 之 內 容?(20%)
More informationLorem ipsum dolor sit amet, consectetuer adipiscing elit
English for Study in Australia 留 学 澳 洲 英 语 讲 座 Lesson 3: Make yourself at home 第 三 课 : 宾 至 如 归 L1 Male: 各 位 朋 友 好, 欢 迎 您 收 听 留 学 澳 洲 英 语 讲 座 节 目, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female: 各 位
More information336 共分五節 首先爬梳傳統莊周試妻戲曲的淵源本事 從中溯源配角人物的原型 其次三節 依劇情節推展所出現之配角人物依序論述 夢境骷髏 乃試妻背景之 啟示者 搧墳寡婦 則是試妻動機直接的引發者 僮僕與紙人 則是試妻過程 中的參與者 每節再從原型論述到傳統諸作 第五節則綜合探討傳統莊周試妻戲 曲中配角
彰化師範大學國文學系 2011 年 6 月 論傳統莊周試妻戲曲中的配角人物 1 李佳蓮 明道大學中文系助理教授 摘 要 傳統莊周試妻戲曲是一齣充滿爭議的經典名劇 歷來評論者的研究角度 大 多集中在男女主角莊周 田氏二人之上 然而 若深研此劇 可以發現 該劇擁 有多位有趣的配角人物 在劇中與主角之間有著或搧風點火 或監督評論 或比 對參照的交流關係 是從不同的角度觀察男女主角的行為 解析主角二人的內心
More informationMicrosoft Word - A200811-773.doc
语 言 模 型 在 高 校 保 研 工 作 中 的 应 用 王 洋 辽 宁 工 程 技 术 大 学 理 学 院 信 息 与 计 算 科 学, 辽 宁 阜 新 (3000) E-mail: ben.dan000 @63.com 摘 要 : 问 题 重 述 : 模 糊 性 数 学 发 展 的 主 流 是 在 它 的 应 用 方 面, 其 中 模 糊 语 言 模 型 实 现 了 人 类 语 言 的 数 学
More informationLorem ipsum dolor sit amet, consectetuer adipiscing elit
留 学 澳 洲 英 语 讲 座 English for Study in Australia 第 十 三 课 : 与 同 学 一 起 做 功 课 Lesson 13: Working together L1 Male 各 位 听 众 朋 友 好, 我 是 澳 大 利 亚 澳 洲 广 播 电 台 的 节 目 主 持 人 陈 昊 L1 Female 各 位 好, 我 是 马 健 媛 L1 Male L1
More informationLogitech Wireless Combo MK45 English
Logitech Wireless Combo MK45 Setup Guide Logitech Wireless Combo MK45 English................................................................................... 7..........................................
More information數學導論 學數學 前言 學 學 數學 學 數學. 學數學 論. 學,. (Logic), (Set) 數 (Function)., 學 論. 論 學 數學.,,.,.,., 論,.,. v Chapter 1 Basic Logic 學 數學 學 言., logic. 學 學,, 學., 學 數學. 數學 論 statement. 2 > 0 statement, 3 < 2 statement
More informationint *p int a 0x00C7 0x00C7 0x00C int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++;
Memory & Pointer trio@seu.edu.cn 2.1 2.1.1 1 int *p int a 0x00C7 0x00C7 0x00C7 2.1.2 2 int I[2], *pi = &I[0]; pi++; char C[2], *pc = &C[0]; pc++; float F[2], *pf = &F[0]; pf++; 2.1.3 1. 2. 3. 3 int A,
More information(Guangzhou) AIT Co, Ltd V 110V [ ]! 2
(Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn Xi III Zebra XI III 1 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn 230V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666
More information(baking powder) 1 ( ) ( ) 1 10g g (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal D
( ) 4 1 1 1 145 1 110 1 (baking powder) 1 ( ) ( ) 1 10g 1 1 2.5g 1 1 1 1 60 10 (two level design, D-optimal) 32 1/2 fraction Two Level Fractional Factorial Design D-Optimal Design 1. 60 120 2. 3. 40 10
More information01何寄澎.doc
1 * ** * ** 2003 11 1-36 Imitation and the Formation and Interpretation of the Canon: Lu Chi s Nigushi Ho Chi-p eng Professor, Department of Chinese Literature, National Taiwan University. Hsu Ming-ch
More informationMicrosoft Word - 100碩士口試流程
國 立 虎 尾 科 技 大 學 財 務 金 融 系 碩 士 班 口 流 程 檢 核 表 學 位 考 口 相 關 流 程 ( 共 2 頁 ):( 申 請 時, 請 攜 本 表 依 序 進 行 ) 流 程 說 明 申 請 期 限 或 時 間 說 明 與 參 考 附 件 學 位 考 資 格 申 請 口 申 請 口 前 一 天 口 當 天 修 業 規 章 第 一 學 期 : 繳 交 : 自 完 成 註 冊
More information2 Edmonton 爱 德 蒙 顿 爱 德 蒙 顿 是 加 拿 大 的 节 日 之 城, 一 年 有 超 过 30 多 个 节 日 城 市 总 人 口 1000 多 万 干 净, 安 全 的 居 住 环 境 友 好 的, 充 满 活 力 的 文 化 社 区 附 近 有 许 多 风 景 优 美 的
1 Come Study With Us! 欢 迎 你 来 和 我 们 一 起 学 习! 爱 德 蒙 顿 天 主 教 学 校, 欢 迎 来 自 各 个 国 家 和 信 仰 的 学 生 加 入 我 们! 爱 德 蒙 顿 天 主 教 学 校 是 一 家 由 政 府 资 助 的 公 立 学 校, 是 以 基 督 信 仰 为 背 景 的 省 立 教 育 机 构, 是 以 学 生 成 绩 和 教 育 质 量
More information中国科学技术大学学位论文模板示例文档
University of Science and Technology of China A dissertation for doctor s degree An Example of USTC Thesis Template for Bachelor, Master and Doctor Author: Zeping Li Speciality: Mathematics and Applied
More informationUntitled-3
SEC.. Separable Equations In each of problems 1 through 8 solve the given differential equation : ü 1. y ' x y x y, y 0 fl y - x 0 fl y - x 0 fl y - x3 3 c, y 0 ü. y ' x ^ y 1 + x 3 x y 1 + x 3, y 0 fl
More information<4D6963726F736F667420506F776572506F696E74202D20A46ABEC7A6DBBFECB5FBC5B2AABAC0B3A6B3A740ACB0BB50B9EAB0C8B1B4AA522E70707478>
大 學 自 辦 評 鑑 的 應 有 作 為 與 實 務 探 析 主 講 人 : 曾 淑 惠 國 立 臺 北 科 技 大 學 技 術 及 職 業 教 育 研 究 所 教 授 兼 人 文 與 社 會 科 學 學 院 院 長 報 告 大 綱 1 2 3 4 5 大 學 自 辦 評 鑑 的 理 念 當 前 大 學 自 辦 評 鑑 的 核 心 議 題 大 學 自 辦 評 鑑 的 應 有 作 為 大 學 自 辦
More information三維空間之機械手臂虛擬實境模擬
VRML Model of 3-D Robot Arm VRML Model of 3-D Robot Arm MATLAB VRML MATLAB Simulink i MATLAB Simulink V-Realm Build Joystick ii Abstract The major purpose of this thesis presents the procedure of VRML
More informationd y d = d 2 y d 2 = > 0 Figure45 :Price consumer curve not a Giffen good X & Y are substitutes From the demand curves. Figure46 Deman
Ch4. 個體經濟學一 M i c r o e c o n o m i c s (I) Comparative Statics and Demand EX: u(, y) = 2 + y, Ma,y 2 + y s. t. P + P y y = m FOC MRS y = P P y P + P y y = m MRS y = MU = 2 0.5 0.5 = P MU y 1 P y 1 0.5
More informationWTO
10384 X0115018 UDC MBA 2004 5 14 2004 6 1 WTO 2004 2006 7 2 Abstract According to the promise after our country enter into WTO, our country will open the readymade oil retail market in the end of 2004
More informationK301Q-D VRT中英文说明书141009
THE INSTALLING INSTRUCTION FOR CONCEALED TANK Important instuction:.. Please confirm the structure and shape before installing the toilet bowl. Meanwhile measure the exact size H between outfall and infall
More informationch_code_infoaccess
地 產 代 理 監 管 局 公 開 資 料 守 則 2014 年 5 月 目 錄 引 言 第 1 部 段 數 適 用 範 圍 1.1-1.2 監 管 局 部 門 1.1 紀 律 研 訊 1.2 提 供 資 料 1.3-1.6 按 慣 例 公 布 或 供 查 閱 的 資 料 1.3-1.4 應 要 求 提 供 的 資 料 1.5 法 定 義 務 及 限 制 1.6 程 序 1.7-1.19 公 開 資
More informationebook39-6
6 first-in-first-out, FIFO L i n e a r L i s t 3-1 C h a i n 3-8 5. 5. 3 F I F O L I F O 5. 5. 6 5. 5. 6.1 [ ] q u e n e ( r e a r ) ( f r o n t 6-1a A 6-1b 6-1b D C D 6-1c a) b) c) 6-1 F I F O L I F ADT
More information38 47995529 威 福 髮 藝 店 桃 園 市 蘆 竹 區 中 山 里 福 祿 一 街 48 號 地 下 一 樓 50,000 獨 資 李 依 純 105/04/06 府 經 登 字 第 1059003070 號 39 47995534 宏 品 餐 飲 桃 園 市 桃 園 區 信 光 里 民
1 08414159 惠 鴻 眼 鏡 行 桃 園 市 中 壢 區 福 德 里 中 華 路 一 段 186 號 1 樓 30,000 獨 資 宋 耀 鴻 105/04/27 府 經 登 字 第 1059003866 號 2 17891110 承 元 冷 氣 空 調 工 程 行 桃 園 市 桃 園 區 中 德 里 國 際 路 1 段 98 巷 50 號 2 樓 之 4 200,000 獨 資 詹 安 平
More information第六章 中国中等收入者调查的三个发现
1999 2003 1. 3 2. - 1 - 3. 4. 4 6-2 - 4 8000 ~50000 2002 18% 2.5 ~3 7.5 ~10 2003 6 22.83 48.5% 15 ~30 30 2 18% 60% 50%~60% 40%~50% 40% GDP 3000, 50% 2001 2020 GDP 3 1. 2002-3 - 1 3000 8000 8000 ~25000
More informationGCSE Mathematics Question Paper Unit 2 March 2012
Centre Number Surname Candidate Number For Examiner s Use Other Names Candidate Signature Examiner s Initials General Certificate of Secondary Education Higher Tier March 2012 Pages 2 3 4 5 Mark Mathematics
More information高中英文科教師甄試心得
高 中 英 文 科 教 師 甄 試 心 得 英 語 學 系 碩 士 班 林 俊 呈 高 雄 市 立 高 雄 高 級 中 學 今 年 第 一 次 參 加 教 師 甄 試, 能 夠 在 尚 未 服 兵 役 前 便 考 上 高 雄 市 立 高 雄 高 級 中 學 專 任 教 師, 自 己 覺 得 很 意 外, 也 很 幸 運 考 上 後 不 久 在 與 雄 中 校 長 的 會 談 中, 校 長 的 一 句
More informationMicrosoft PowerPoint - 7.ppt
九 十 七 學 年 度 環 球 技 術 學 院 學 生 學 習 檔 案 優 良 作 品 學 習 的 方 法 與 問 題 解 決 四 視 傳 一 乙 廖 康 伶 指 導 老 師 : 吳 樹 屏 老 師 1 學 習 的 方 法 與 問 題 解 決 - 學 習 檔 案 - 班 級 : 四 視 一 乙 學 號 : 97422213 姓 名 : 廖 康 伶 授 課 教 師 : 吳 樹 屏 中 華 民 國 九
More informationebook14-4
4 TINY LL(1) First F o l l o w t o p - d o w n 3 3. 3 backtracking parser predictive parser recursive-descent parsing L L ( 1 ) LL(1) parsing L L ( 1 ) L L ( 1 ) 1 L 2 L 1 L L ( k ) k L L ( 1 ) F i r s
More informationMicrosoft Word - 新加坡手冊封面.docx
新 加 坡 環 境 與 人 文 學 習 之 旅 2012.01.14~18 主 辦 單 位 : 文 創 處 協 辦 單 位 : 國 中 部 看 見 未 來 面 向 世 界 目 錄 集 合 時 間 班 機 時 刻 聯 絡 電 話 P. 02 行 程 摘 要 P. 03 攜 帶 物 品 參 考 表 P. 04 小 組 名 單 車 次 分 房 表 P. 05 行 程 說 明 P. 08 出 入 境 注 意
More informationMicrosoft Word doc
美 食 企 劃 案 的 執 行 - 以 嘉 義 縣 風 味 小 吃 文 宣 品 設 計 計 畫 為 例 王 祥 穎 洪 鎰 昌 稻 江 科 技 暨 管 理 學 院 文 學 與 平 面 傳 播 學 系 助 理 教 授 摘 要 本 論 文 是 以 嘉 義 縣 觀 光 旅 遊 局 嘉 義 縣 風 味 小 吃 文 宣 品 設 計 案 為 背 景, 探 討 美 食 文 宣 品 的 設 計, 包 括 企 劃 案
More informationMicrosoft PowerPoint - Eisenstein_ABET_Presentation_Beijing_Oct_2007-Chinese.ppt [兼容模式]
Bruce Eisenstein 博 士 是 Drexel 大 学 电 气 和 计 算 机 工 程 系 的 Arthur J. Rowland 教 授, 同 时 是 电 气 和 计 算 机 工 程 系 的 前 任 系 主 任 (1980-1995) 他 是 一 个 受 尊 敬 的 IEEE 的 领 导 者, 在 2000 年 担 任 IEEE 的 主 席 在 担 任 主 席 以 前,Eisenstein
More information,. 5 2003. , 1. 2. 3. 4. 2005 7 20 1993 2001 3 1 2005 7 20 2005 7 20 13 2005 7 20 : 2005 7 20 Let live a grateful life! 2005 7 20, ,, : , 1992 1998 , ,,, 20 20 ? ! ?
More informationMicrosoft Word - CX VMCO 3 easy step v1.doc
Abacus Fully Automated Process of VMCO on CX, KA, CPH & KAH 16 Nov 2009 To streamline the VMCO handling on CX, KA, CPH & KAH, Abacus is pleased to inform you that manual submission of VMCO to CX/KA/CPH/KAH
More informationMicrosoft PowerPoint _代工實例-1
4302 動態光散射儀 (Dynamic Light Scattering) 代工實例與結果解析 生醫暨非破壞性分析團隊 2016.10 updated Which Size to Measure? Diameter Many techniques make the useful and convenient assumption that every particle is a sphere. The
More informationBook1
經 辦 網 點 名 稱 網 點 位 址 第 一 支 行 營 業 室 廣 東 省 廣 州 市 越 秀 區 沿 江 中 路 193 號 第 二 支 行 營 業 室 廣 東 省 廣 州 市 沿 江 西 路 145 號 吉 祥 支 行 廣 東 省 廣 州 市 東 風 中 路 313 號 荔 灣 支 行 營 業 室 廣 東 省 廣 州 市 荔 灣 區 南 岸 路 63 號 三 樓 北 京 路 支 行 營 業
More informationuntitled
1 5 IBM Intel 1. IBM 第 1/175 页 第 2/175 页 第 3/175 页 80 第 4/175 页 2. IBM 第 5/175 页 3. (1) 第 6/175 页 第 7/175 页 第 8/175 页 = = 第 9/175 页 = = = = = 第 10/175 页 = = = = = = = = 3. (2) 第 11/175 页 第 12/175 页 第 13/175
More information第5章修改稿
(Programming Language), ok,, if then else,(), ()() 5.0 5.0.0, (Variable Declaration) var x : T x, T, x,,,, var x : T P = x, x' : T P P, () var x:t P,,, yz, var x : int x:=2. y := x+z = x, x' : int x' =2
More information2
1 2 3 4 PHY (RAN1) LTE/LTE-A 6.3 Enhanced Downlink Multiple Antenna Transmission 6.3.1 CSI RS 6.4 Uplink Multiple Antenna Transmission 6.4.1 Transmission modes and Signalling requirements for SU-MIMO 6.5
More information