返回「102年 地方特考三等 資訊處理」題庫

102年 地方特考三等 資訊處理|歷屆考題全文(機器抽取)

102年特種考試地方政府公務人員考試資訊處理類科歷屆試題,含國文(作文、公文與測驗)、法學知識與英文(包括中華民國憲法、法學緒論、英文)、資料庫應用等 8 科。

共 8 份考卷|資料來源:依政府資料開放授權條款(OGDL)第 1 版利用,資料集:考選部歷屆試題(data.gov.tw dataset 170565),102 年。

本頁文字由 PDF 機器抽取,可能有辨識誤差,僅供搜尋參考,請以官方原始檔案為準。

免費登記製作需求🚀 前往「102年 地方特考三等 資訊處理」下載頁所有公開題庫

國文(作文、公文與測驗)

下載:題目 答案

30110

| 全一張 (正面)

102 年特種考試地方政府公務人員考試試題

代號 :

等 別: 三等考試

類 科: 各類科

科 目: 國文(作文、公文與測驗)

考試時間:

2 小時

座號:

※注意:

禁止使用電子計算器。

35610

甲、作文與公文部分:

困境能磨鍊人生、助人成功,關鍵在於要善用智慧、善盡努力。請以「走出困境」 為題,作文一篇,文長不限。

二、公文:( 20 分)

試擬○○縣政府致所轄各鄉鎮市公所函:為建構傳統市場優質新風貌,應整體 規劃改善轄區內各市場購物環境,並積極輔導各攤位提升行銷手法,發揚固有 之人情味、地區文化等特色,於 3 個月內將具體成果報府備查。

乙、測驗部分:( 20 分)

代號: 1301

102 年特種考試地方政府公務人員考試試題

等 別: 三等考試

類 科: 各類科

科 目: 國文(作文、公文與測驗)

代號 :

30110 全一張

| 35610 (背面)

閱讀下文,回答第  題至第  題

管仲有病,桓公問之,曰:「仲父之病病矣,可不謂,云至於大病,則寡人惡乎屬國而 可?」管仲曰:「公誰欲與?」公曰:「鮑叔牙。」曰:「不可。其為人絜廉善士也, 其於不己若者不比之,又一聞人之過,終身不忘。使之治國,上且鉤乎君,下且逆乎民。 其得罪於君也,將弗久矣!」公曰:「然則孰可?」對曰:「勿已,則隰朋可。其為人 也,上忘而下畔,愧不若黃帝而哀不己若者。以德分人謂之聖,以財分人謂之賢。以賢 臨人,未有得人者也;以賢下人,未有不得人者也。其於國有不聞也,其於家有不見也。 勿已,則隰朋可。」(《莊子‧徐無鬼》)

法學知識與英文(包括中華民國憲法、法學緒論、英文)

下載:題目 答案

代號:

2301

頁次:

4 - 1

102 年特種考試地方政府公務人員考試試題

等 別:三等考試

類 科:各類科

科 目:法學知識與英文(包括中華民國憲法、法學緒論、英文)

考試時間:

1 小時

※注意:

座號:

 本試題為單一選擇題,請選出一個正確或最適當的答案,複選作答者,該題不予計分。

 宣告該法律無效

 逕自拒絕適用該法律

 法定預算又稱措施性法律

 立法院內公聽會之發言

 蓄意傷人之肢體動作

監察院院長

總統

 地方自治條例

 各機關依其職掌就有關法規為釋示之行政規則

資訊公開制度

對甲生存權之限制

對甲遷徙自由之限制

對甲人格權之限制

生存權

 財產權保障原則

 裁定停止訴訟程序,聲請司法院解釋

 仍須依該法律判決

 考選部部長

 稅收

 社會國原則

 司法院大法官

法律不溯及既往原則

特別法優於普通法

受僱者於育嬰留職停薪期滿後,申請復職時,雇主若未能使受僱者復職,應於

30

日前通知,並發給資遣費

incur

 clench

 dominate

 engage

 humiliate

Animal studies confirm that the relief some of us get from eating sugar is not just psychological-it is an actual brain-chemistry reaction. In one experiment, Blass and colleagues studied two groups of baby mice who were separated from their mothers and left alone for six minutes. Their resulting 'isolation distress' was considered to be a kind of animal equivalent to our human version of depression. The depressed mice who were given sugar water cried only seventy-five times during their isolation-as compared to the more than three hundred cries that came from the mice left alone with no sweet treat to alleviate their emotional pain. Apparently, the young mice were literally 'medicating' their depression with sugar.

Why did sugar have this remarkable effect? Researchers thought that perhaps the sweet food stimulated the release of extra beta-endorphin molecules. Since these molecules help us cope with physical and emotional pain, the sugar had a literally soothing effect. Researchers confirmed their theory by giving both groups of mice Naltrexone, a drug that blocks beta-endorphin receptors. If you take Naltrexone, it does not matter how many beta-endorphins you release-you will not get any relief from pain. Sure enough, when the sugar-fed mice were given Naltrexone, they lost all interest in the sweet substance, suggesting that their only reason for their sweet tooth had been to stimulate the release of beta-endorphins.

Numbed by Naltrexone, both groups of mice cried equally often. The poor baby mice were still depressed-but now even sugar could not make them feel better.

請依上文回答第 36 題至第 39 題

ad hoc

 yielding

 discernable

 vulnerable

We are taught not to judge a book by its cover. But studies of brain seem to suggest that this is exactly what we do in our everyday life; our default cognitive system is configured to choose novel things over the old ones and beautiful things over plain-looking ones.

Bianca Wittmann, a British neuroscientist, scanned the brains of 20 video game players while they played a game in which the goal was to accumulate money. In each trial of the game, four pictures were presented to the participants, with each featuring a different mountain view. The participants were then asked to choose one picture. After the game had gone on for a while, the participants would realize that one of the four pictures, if chosen, would grant the participants a cash payoff. Wittmann observed that every time the participants selected an image that would lead to a monetary reward, the neurons or brain cells in a region in their brain called 'the striatum'-known to process feelings of pleasure and reward-were activated in anticipation of their cash prize. At one point of the game, Wittmann added new pictures of similar mountain views to each trial. Interestingly, instead of choosing the 'old' images that would grant them the cash reward, the participants, including the known moneymakers, chose the novel images over the old ones nearly in all cases. Furthermore, the neurons in the striatum were activated as they chose the novel images.

According to Wittmann, this means that the participants treated these novel images with the same degree of excitement, suggesting that our desire to explore new experiences and things perks up the reward system of our brains. So, what is the implication of this finding for marketers of a given product? Well, marketers may be able to bolster the sales of the product simply by repackaging it. Wittmann also warned marketers that although novelty may temporarily boost the sales, they would go down once the customers learn that nothing but the packaging has changed.

請依上文回答第 48 題至第 50 題

資料庫應用

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別: 三等考試

類 科: 資訊處理

科 目: 資料庫應用

考試時間:

2 小時

※注意:

 禁止使用電子計算器。

有底線的屬性( Attribute )為該表格之主鍵( Primary Key );例如,修課表格之主 鍵為學號與課程編號兩個屬性的組合。修課表格有學號與課程編號兩個外來鍵 ( Foreign Key ),分別參照學生表格與課程表格的主鍵。修課表格中成績屬性的值 為介於 0 到 100 之間的整數。

針對下列三個查詢問題,請各寫出一個 SQL 指令來進行查詢。

座號:

電腦網路

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別: 三等考試

類 科: 資訊處理

科 目: 電腦網路

考試時間:

2 小時

※注意:

 禁止使用電子計算器。

 不必抄題,作答時請將試題題號及答案依照順序寫在試卷上,於本試題上作答者,不予計分。

假設現在路由器 D 送了下列路由資訊給路由器 A :(路由器 D 與路由器 A 距離一 個 hop )

請問在路由器 A 更新完其路由表後,該路由表內容會是什麼?( 20 分)

代號

34140

(正面)

座號:

102 年特種考試地方政府公務人員考試試題

等 別: 三等考試

類 科: 資訊處理

科 目: 電腦網路

代號

: 34140

(背面)

Network Hop Cost Next Router
123 8 B
234 5 C
345 6 C
789 10 D
Network Hop Cost
123 4
345 5
567 7
789 10

資訊管理與資通安全

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

資訊管理與資通安全

考試時間:

2 小時

※ 注意:

 禁止使用電子計算器。

試從資通安全觀點,說明上述六項的功能弱點特性。( 25 分)

座號:

程式語言

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

程式語言

考試時間:

2 小時

※ 注意:

 禁止使用電子計算器。

 不必抄題,作答時請將試題題號及答案依照順序寫在試卷上,於本試題上作答者,不予計分。

一、 A 君寫了以下的物件導向程式碼:

class employee : public listcontainer { public: string getName(); Address GetAddress(); PhoneNumber getWorkPhone() ; bool isZipCodeValid(Addrss address); // given an address, this function check if the address's zip // code is valid or not bool isPhonenumberValid(PhoneNumber phone); // given a phone number, this function check if the phone no. // is valid or not. public: static string _name ; static Address addr ; static PhoneNumber phoneno ; }

A 君寫程式的思維是這樣子的,他想要用 linked list 來儲存姓名、住址以及電話 。尤其是住址的部分,由於需要切割住址內容然後儲存到 linked list 中,所以 他繼承了 listcontainer (系統提供的 list library )。另外 A 君實做了幾 個 method 來幫忙判定住址與電話號碼的格式是否合法。

請問上述的物件導向程式碼,犯了那一些違反物件導向原則的錯誤?( 25 分)

int main() { int x, y, *result ; x = 100 ; y = 50 ; result= SwapAndAdd(......); // 請填寫參數 x,y 應如何傳遞來使用 SwapAndAdd printf('%d %d %d', x, y,(*result)); }

在這個 main() 中,我們會將 x,y 變數作為參數傳到 SwapAndAdd() 。如果 SwapAndAdd() 實作正確,這個 main() 會印出

50 100 150

請以 C 語言完成 SwapAndAdd() 的程式碼,並且將 main() 當中的呼叫參數填入。( 25 分)

代號

34160

(正面)

座號:

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

程式語言

string → string + string

| string - string

| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9

 SOAP ( 7 分)

代號 : 34160 全一張 (背面)

系統分析與設計

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

系統分析與設計

考試時間:

2 小時

※ 注意:

 禁止使用電子計算器。

 不必抄題,作答時請將試題題號及答案依照順序寫在試卷上,於本試題上作答者,不予計分。

系統規劃

系統維運

系統設計

系統

分析

系統

建置

代號 :

座號:

資料結構

下載:題目

官方不公布申論答案

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

資料結構

考試時間:

2 小時

※ 注意:

 禁止使用電子計算器。

 不必抄題,作答時請將試題題號及答案依照順序寫在試卷上,於本試題上作答者,不予計分。

一、請參考圖 1 :

圖 1 一個有向圖( a directed graph )

a

p

b

d

c

x

q

k

l

j

g

e

f

m

n

r

h

二、定義如下的函數 F :

如果 x 是偶數,則 F(x) = x/2;

否則 F(x) = F(F(3x + 1))

代號 : 34180 全三頁 第一頁

座號:

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

資料結構

圖 2 最短路徑

a

b

c

d

e

f

g

h

k

16

11

12

13

17

23

27

21

41

10

26

49

4

5

3

7

35

14

圖 3    Activity-on-edge 網路

a

22

21

11

11

21

12

12

21

13

13

19

27

23

23

5

14

b

c

d

e

f

g

h

k

3

7

(請接第三頁)

代號

34180

102 年特種考試地方政府公務人員考試試題

等 別:

三等考試

類 科:

資訊處理

科 目:

資料結構

六、在一個二元樹裡有許多節點( nodes )。假設每一個節點的資料結構如下圖:

其中 DATA 欄位為該節點的資料。 LEFT 欄位為指向左方子樹的指標變數。 RIGHT 欄位為指向右方子樹的指標變數。

如果節點 p 沒有左方子樹,其 LEFT 欄位為空指標( null pointer )。同理,如果節 點 p 沒有右方子樹,其 RIGHT 欄位為空指標( null pointer )。

如果 LEFT 欄位代表一般的節點指標,則 LTAG = 0 。如果 LEFT 欄位代表引線指標, 則 LTAG = 1 。同理,如果 RIGHT 欄位代表一般的節點指標,則 RTAG = 0 。如果 RIGHT 欄位代表引線指標,則 RTAG = 1 。

請將下圖的二元樹加上適當的引線指標,讓它變成引線樹,並請繪圖標出 A 到 I 共 9 個節點中所有引線指標指向的節點。( 10 分)

A

B

C

D

E

F

G

H

I

代號

: 34180

全三頁

第三頁

index 0 1 2 3 4 5 6 7 8 9
pattern a b b a b c a b b a
failure
LEFT DATA RIGHT
LTAG LEFT DATA RIGHT RTAG
免費登記製作需求前往「102年 地方特考三等 資訊處理」下載完整檔案 →