返回「112年 普考 資訊處理」題庫

112年 普考 資訊處理|歷屆考題全文(機器抽取)

112年公務人員高等考試三級考試暨普通考試資訊處理類科歷屆試題,含國文(作文與測驗)、法學知識與英文(包括中華民國憲法、法學緒論、英文)、資料處理概要等 6 科。

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

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

免費登記製作需求🚀 前往「112年 普考 資訊處理」下載頁所有公開題庫

國文(作文與測驗)

下載:題目 答案

代號:

40110-45410

頁次:

4 - 1

112 年公務人員普通考試試題

科:各類科

目:國文(作文與測驗)

考試時間:

2 小時

※注意:

 禁止使用電子計算器。

甲、作文部分:( 80 分)

彰化師大前副校長林明德教授近期發表一篇散文〈景美一對兄弟樹〉, 文前小標題-「天賦萬物權,大樓人樹相為伴,各有一片天」,內文節略 如下:

景美,舊名梘尾,日治改為景尾,後稱景美。明治三十年( 1897 ), 景美國小創立,毗鄰景美溪,靠近景美老街。

國小旁邊有兩棵茄苳,互相依靠,情同兄弟,老大有百年身分認證。 兩樹朝看小朋友上學,唱〈哥哥爸爸真偉大〉、吟〈春曉〉……;晚送 小朋友哼著〈放學歌〉,一路蹦跳走回家。年年歲歲聆聽溪水、鳥鳴、 叫賣、車流……交響聲,而左右上下鄰居的喜怒哀懼愛惡慾起心動念, 一概聽之不聞、視而不見,清淨自在。

兄弟樹的住家,原本是在景美衛生所的庭院,後來改建成為十七層 大樓。有了百年認證,成為土地記憶不可分割的一部分。為維護樹權, 大樓讓出一角兩面方位,樓樹共伴同存。兩樹住家在原地透天,根深柢 固,一面向小學,一邊對老街市場集應廟遙望仙跡巖。

樹、人與大樓結為一體,極其獨特稀有,成為美麗、動人的風景。 清晨鳥聲到好鄰居枕邊,黃昏一樹喧譁,倦鳥歸巢,日日譜寫自然旋律, 如天籟。

閱讀此文後,試以個人生活周遭環境所接觸,以及生命情景所感悟, 對於自然生態與人文風華的感思,以「我深受感動的人生風景」為題, 作文一篇,敘述闡論親身所見、所感與所思。

座號:

乙、測驗部分:( 20

分)

甲:請問「令千金」在何處高就?乙: 「小女子」目前在公家單位任職。

甲:感謝「賢伉儷」蒞臨我的畫展。乙:我與「外子」都很喜歡您的作品。

根據上文,下列選項何者最貼近本文主旨?

下列選項,何者最符合文意?

1401

4 - 3

根據上文,符合文意的是:

下列敘述,最符合作者論旨的是:

根據上文,下列選項何者最符合文意?

根據上文,下列選項何者正確?

 旅行應該輕裝上路行走世界

 如何收行李反映個人價值觀

根據上文,下列選項何者正確?

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

下載:題目 答案

代號:

4401

頁次: 4 - 1

112 年公務人員普通考試試題

科:各類科

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

考試時間:

1 小時

座號:

※注意:

 立法院

 特別預算雖得於年度總預算案外提出,但行政院仍必須在編列三個月前,提出於立法院

憲法、法律、行政命令、地方自治法規及條約,都屬於成文法源的範圍

代號:

頁次:

4

3

行政行為明確性原則

不當聯結禁止原則

信賴保護原則

 persuade  pursue  perceive  prohibit

 interact  inspire  interpret  interview

 conquer  consume  destroy  decrease

 quarreled  advised  opposed  puzzled

請依下文回答第 46 題至第 50 題:

Honey is usually described as a sweet food substance. Corbezzolo honey, however, is surprisingly bitter, with notes of leather, liquorice and smoke. Born in the mountains of the Italian island of Sardinia, this extremely rare honey has a history that dates back more than 2,000 years.

Corbezzolo honey is obtained from the flowering of the broadleaf corbezzolo shrub, known in English as the strawberry tree for its reddish-orange, strawberry-sized fruits. Despite the bitterness, it is often added to coffee to enhance the drink's bitter aromas. The special taste also makes the honey pair perfectly with seadas, a typical Sardinian dessert, and pecorino sardo, a sweet sheep's milk cheese. What makes the bitter honey even more special is that it is actually packed with nutrients. Rich in vitamins and minerals, it has been prized by many generations in Sardinia, known for the notably long lifespans of its inhabitants, many of whom live to more than 100 years old. It has been used in traditional medicine to suppress coughing and bring on sleep. What's more, a 2019 study found that the honey might reduce growth of cancer cells.

The corbezzolo's fruits ripen slowly and the flowers' petals unfold slowly, a delicate process that a heavy rain can easily bring to a halt. And because the flowering takes place in late autumn when the weather can be cold, rainy and windy, the bees sometimes have to struggle to make it out of their hives to collect that precious nectar. The flowers produce about half as much nectar as other flowers, so the bees have to work extra hard to collect enough. These factors make corbezzolo honey so precious that it's hard to find outside Sardinia.

Its making process.

Sweet and expensive.

Reddish-orange and thick.

 Plants.  Sizes.  Forms.  Smells.

 Pesticide.  Weather.  Human activity.  Mountain height.

It is an iconic food eaten on a daily basis.

資料處理概要

下載:題目

官方不公布申論答案

代號:

41430 、 44630

頁次: 2 - 1

112 年公務人員普通考試試題

科:統計、資訊處理

目:資料處理概要

考試時間:

1 小時 30 分

※注意:

 禁止使用電子計算器。

座號:

頁次:

ID Product Price Origin
1 banana 10 Tainan
2 apple 50 Taichung
3 papaya 45 Tainan
4 grape 120 Taichung
5 lemon 20 Taipei
6 orange 30 Taichung
7 pineapple 40 Kaohsiung
8 watermelon 100 Kaohsiung
9 guava 60 Tainan
10 tomato 70 Kaohsiung
水果 價格
apple 50
pineapple 40
產地 數量
Kaohsiung 3
Taichung 3
Tainan 3
Taipei 1
產地 均價
Tainan 38.33
Taichung 66.67
Kaohsiung 70

資訊管理與資通安全概要

下載:題目

官方不公布申論答案

代號:

44620

頁次:

1 - 1

112 年公務人員普通考試試題

科:資訊處理

目:資訊管理與資通安全概要

考試時間:

1 小時 30 分

※注意:

 禁止使用電子計算器。

座號:

程式設計概要

下載:題目

官方不公布申論答案

代號:

44650

頁次:

3

1

112 年公務人員普通考試試題

科:資訊處理

目:程式設計概要

考試時間:

1 小時 30 分

※注意:

 禁止使用電子計算器。

一、根據以下 C 程式碼,回答下列問題:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include <stdio.h> void g(int *x, int *y) { *x = *y - 1; *y = *y - 2; printf("*x = %d, *y = %d\n", *x, *y); } void f(int *z, int *w) { int n = 13; g(w, &n); printf("*z = %d, *w = %d, n = %d\n", *z, *w, n); } int main() { int i = 21; int j = 5; int n = 137; f(&i, &j); printf("print 1: i = %d, j = %d, n = %d\n", i, j, n); g(&n, &n); printf("print 2: i = %d, j = %d, n = %d\n", i, j, n); return 0; }

座號:

二、根據以下 C 程式碼,回答下列問題:

1 2 3 4 5 6 7 8 9 10 11 12 #include <stdio.h> int f(int a, int b){ if (b==1) return a; else { int value = a + f(a, b-1); return value; } } int main() { printf("%d\n", f(5, 3)); printf("%d\n", f(0, 0)); }

三、關於搜尋法程式:

01 public class BinarySearch{ 02 public int faultyBinarySearch(int[] arr, int x){ 03 int l=0, r=arr.length-1; 04 int m=(l+r)/2; 05 while(l<=r){ 06 m=(l+r)/2; 07 if(arr[m]==x) return m; 08 if(arr[m]>x) l=m+1; 09 if(arr[m]<x) r=m-1; 10 } 11 return -1; 12 } 13 }

四、請依據以下 Java 程式碼回答下列問題:

01 import java.util.Scanner; 02 public class MyJavaCode { 03 public static void main(String[] args) { 04 Scanner in = new Scanner(System.in); 05 int a = in.nextInt(); 06 Animal dog = new Dog(); 07 dog.run(a); 08 dog.run(); 09 } 10 } 11 12 class Dog extends Animal { 13 public void run(int units){ 14 System.out.println("Dog's running speed is " + units); 15 } 16 public void run(){ 17 System.out.println("Dog's default running speed is 20"); 18 } 19 }

計算機概要

下載:題目 答案

代號:

6446

頁次:

4 - 1

112 年公務人員普通考試試題

科:資訊處理

目:計算機概要

考試時間:

1 小時

座號:

※注意:

頁次:

4 - 1

 25 ns

 12.5 ns

 1.25 ns

 0.25 ns

 唯讀磁帶

 可讀寫磁頭

 有限狀態控制機

 可讀寫磁帶

 立即定址法( immediate addressing )

 暫存器定址法( register addressing )

 基底或位移定址法( base or displacement addressing )

 PC 相對定址法( PC-relative addressing )

 編譯程式語言

 提供使用者操作介面

 檔案管理

 在不同運算環境中都具有較佳效率

 問題規模趨近無限大時,比其他較高複雜度演算法所需步驟數目較少

 可以解決 NP-hard 的問題

 可以提供最佳結果( optimized solution )

 每個單元( cell )的儲存密度越來越高

 區塊能容忍的抹除次數越來越低

儲存每位元的成本越來越便宜

 設計目的追求的是存取速度而非單位面積的儲存容量

 暫存器

 快取記憶體

 主記憶體

 硬碟

 可以減少每個指令的執行時間

 可以降低中央處理單元中線路的大小

 允許指令以任意次序執行

 指令從擷取至完成所需的時間平均變得更長

 快取記憶體( Cache Memory )的存取速度比隨機存取記憶體( RandomAccess Memory )快

 快閃記憶體( Flash Memory )可用於電腦基本輸入輸出系統( BIOS )的存放

 在隨機存取記憶體( RandomAccess Memory )中,讀取任一位址資料的所需時間都是一致的  暫存器( Register )透過數值類型的記憶體位址以進行存取

 CLOCK 由 0→1 的邊緣

 CLOCK = 1 的週期

 CLOCK 由 1→0 的邊緣

 能表現負數

 相對於 1 補數( 1's complement ) ,減少表現一個「 0 」

 能防止溢位( overflow )

 系統毋需具備減法的迴路設計

 C = 1 、 D = 1  C = 1 、 D = 0  C = 0 、 D = 1  C = 0 、 D = 0

 JAVA 的原生字元編碼採用 UTF-8

 使用者可以在自己的目錄內,依專題需求建立不同次目錄,以擺放不同用途的檔案  檔案依專題需求擺放在不同目錄,所以可以快速找到自己所需要的檔案  在不同目錄內的檔案名稱可以相同,它們不會有衝突  每個使用者的目錄可以讓別人使用,無須打開目錄或檔案的存取權限

 三者中只有 UTF-32 採取固定寬度編碼

 三者中僅 UTF-8 反向相容於 ASCII 編碼

4

3

 控制結構測試( Control structure testing )

 徹底測試( Exhaustive testing )

 隨機測試( Random testing )

 邊界值測試( Boundary-value testing )

var1 = 10

var2 = 5

var3 = 7

var4 = 12

var5 = var1 >= var2 and var3 != var4

var6 = var1 == var2 or var3 < var4

print ( var5, var6 )

 True True

 True False

 False True

 Java Threads 只可以在核心層次( Kernel )執行

 執行完畢

 完成輸入輸出( I/O )

 容易在不同平台上運作

 簡單查詢時運作執行速度快

 容易尋求管理維護人力

 得到 CPU 使用權

 要求載入主記憶體

 False False

 CPU 會花較多的時間在執行本文切換( context switch )

 CPU 實際花在執行應用程式的時間會變短

 增加每一次中斷處理所需的時間

 對批次處理( batch processing )的工作效率會降低

 Go language

 HTML ( Hyper Text Markup Language )

免費登記製作需求前往「112年 普考 資訊處理」下載完整檔案 →