熱門推薦罰單破解實戰交通警察名師 25 年經驗,親授警察臨檢、檢舉魔人、科技執法、車禍糾紛的執法邏輯看課程介紹
購物車我的課程我的書籤免費註冊
統計·99·資料處理1/5

統計 99資料處理考古題

5 題申論題資料來源:考選部下載 .txt
跨年同科91-115

題目為考試當年公告版本,實務標準請以現行規範為準。

試題5
99
1

請為下列數值進行轉換。(每小題5 分,共20 分) ㈠下列2 的補數,請以十進位基底表示? 1111 1111 1111 1111 1111 1111 1111 11002 ㈡下列十六進位數字轉換為以二進位基底表示法為何? eca8 6420hex ㈢下列二進位數字轉換為以十六進位基底表示法為何? 0001 0011 0101 0111 1001 1011 1101 11112 ㈣下列十進位數字轉換為以二進位基底表示法為何? 12.62510 表格B D E F a1 b2 c1 a3 b1 c2 b1 c2 a2 a1 b1 c1 表格A A B C a1 b1 c1 a2 b1 c2 a1 a2 b2 a3 b1 c2

99
2

試由下列表格中計算A∪B、A×B。(每小題10 分,共20 分)

99
3

請回答以下的問題:(每小題10 分,共20 分) ㈠你認為政府應當採取那些措施方能確保資訊系統的安全性? ㈡由於電腦犯罪案件不斷發生,資訊倫理逐漸受到重視,何謂資訊倫理?以及資訊 倫理的四大議題是甚麼? 99年特種考試地方政府公務人員考試試題 類 科: 統計 (請接第三頁) 全三頁 第二頁

99
4

請完成下列SQL 語法執行的結果。(每小題10 分,共20 分) stock 資料表 item_id descript price on_hand M01 PLUMS 1.00 100 M02 APPLES 2.00 200 M03 ORANGES 3.00 300 M04 PEARS 4.00 400 M05 BANANAS 5.00 500 M06 GRAPES 6.00 600 M07 KIWIS 7.00 700 orders 資料表 order_no cust_id item_id quantity 001 AAA M01 10 002 BBB M02 20 003 AAA M03 30 004 CCC M01 40 005 BBB M05 50 006 AAA M04 60 007 AAA M03 70 008 EEE M07 20 009 CCC M01 40 010 BBB M05 60 customers 資料表 cust_id cust_name region phone AAA Alice NE (02)2121-2325 BBB Bill W (04)2129-9825 CCC Cathy NE (03)633-1215 DDD Daren S (02)2621-3838 EEE Elly W (02)3321-1245 FFF Laura NE (04)6215-1245 ㈠select item_id, count(*), sum(quantity) from orders where cust_id in (’AAA’,’CCC’,’EEE’) group by item_id; ㈡select item_id from orders group by item_id having 10*sum(quantity)> (select on_hand from stock where orders.item_id = stock.item_id); 99年特種考試地方政府公務人員考試試題 類 科: 統計 全三頁 第三頁

(02)2121-2325 BBB Bill W
(04)2129-9825 CCC Cathy NE
(03)633-1215 DDD Daren S
(02)2621-3838 EEE Elly W
(02)3321-1245 FFF Laura NE
(04)6215-1245 ㈠select item_id, count(*), sum(quantity) from orders where cust_id in (’AAA’,’CCC’,’EEE’) group by item_id; ㈡select item_id from orders group by item_id having 10*sum(quantity)> (select on_hand from stock where orders.item_id = stock.item_id); 99年特種考試地方政府公務人員考試試題 類 科: 統計 全三頁 第三頁
99
5

請依下面的程式碼來回答以下的問題:(每小題10 分,共20 分) ㈠下列C 語言程式碼,若使用call-by-reference 呼叫副程式,請問最後印出的a 值 為何? main() { int a=1,b=2; p(a+b,&a,&a); printf("%d ",a); } int p(int x,int *y,int *z) { *y=*y+1; *z=x+x; } ㈡若使用call-by-value 呼叫副程式,請問最後印出的a 值為何? main() { int a=1,b=2; p(a+b,a,a); printf("%d ",a); } int p(int x,int y,int z) { y=y+1; z=x+x; }

同年其他科目99 · 16