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

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

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

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

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

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

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

下載:題目 答案

代號:

40110-46410

頁次:

2 - 1

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

科:各類科

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

考試時間:

2 小時

※注意:禁止使用電子計算器。

甲、 申 論 部 分 : (

60

分)

甲、作文與公文部分:

 請以藍、黑色鋼筆或原子筆在申論試卷上由左至右橫式作答,於本試題上作答者,不予計分。  不得於試卷上書寫姓名或入場證號。

一、作文:( 60 分)

古往今來人們莫不崇尚知識,韓愈說: 「人生處萬類,知識為最賢」, 英國 16 、 17 世紀之際的哲學家培根所說的:「知識就是力量」尤為 經典名言。韓愈、培根所說的「知識」,與現今網路年代所謂「知識 爆炸」的「知識」,定義是否相同?請以「『知識』的定義」為題, 作文一篇,予以闡述,文中必須對上述兩類「知識」的意義及其作用, 加以討論說明。

二、公文:( 20 分)

乙、測驗部分:( 20

分) 代號:

1401

 放懷自在

 放逐自我

 野放自然

座號:

依據上文,下列選項敘述正確的是:

下列選項最符合引文內容的是:

根據上文,無名子更改挽詞,旨意為何?

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

下載:題目 答案

代號:

4401

頁次:

4 - 1

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

科: 各類科

科 目:

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

考試時間:

1 小時

※注意:

座號:

 制定憲法之國民大會  立法院

 行政院

 司法院大法官

對於未肇事拒絕接受酒測之職業駕駛人,吊銷其持有各級車類之駕駛執照,且

3

年內不得考領

針對經主管機關限期整理之人民團體,依據督導各級人民團體實施辦法,停止其理監事之職權

行政規則

 法律

 自治條例

 解釋憲法

 地方制度法

 實質上幾近完全剝奪行政院之人事決定權

公司法與證券交易法

刑法與陸海空軍刑法

 司法院院長

頁次:

4

3

 如涉及公共利益或實現人民基本權利之保障等重大事項者,原則上仍適用法律保留原則

stepped in

presumably

considerately

desperate

check

scarcely

unlikely

請依下文回答第 41 題至第 45 題:

Whether it's a beach getaway or a camping trip, animal encounters - some potentially dangerous - can happen on any vacation. According to the experts, the secret to 41 a dangerous animal encounter, like one with a shark, bear or rattlesnake, is to not panic. 'Easier said than done, and sounds obvious, but seriously, try and keep your cool,' Ms. Levin said. The best thing to do during such an encounter is to 42 yourself slowly from the scene if you can.

If you come face-to-face with a bear, mountain lion or coyote, do your best to look 43 . Stand tall, huddle together, open your coats, and raise your backpack overhead. In addition, do not feed wild animals; the more you feed them, the more they grow 44 humans, and stick around people - which leads to people treating them like 45 and trying to poison, trap, or kill them. In general, it's better if wild animals retain a healthy fear of (and distance from) humans in densely populated places.

 surviving

 solving

 distinguish

 erase

 impatient

 inefficient

 reliable on

 cooperative with

 pests

 peers

Wherever you go in France, the country's artistic heritage is very much in evidence. France does have her share of ugly urban sprawl and unlovely out-of-town hypermarkets, but these are eclipsed by her wealth of beautifully restored and maintained historic buildings which, together with striking new architecture and works of art, are part of the fabric of everyday life.

France has had an important role throughout the history of western art which began with the cave painters of the Dordogne, long before their land became a nation. From the Renaissance onwards French kings invited the finest European painters to decorate their palaces, and Paris became the center of nearly all important artistic developments, whether the artists concerned were French or not.

It was only in the nineteenth century that French painters formed a distinctively French movement that was far more influential than the Flemish, German and Italian schools of previous centuries. The impressionists and their successors radically altered the direction of European art, attracting even more foreign artists to Paris.

Since the seventeenth century, when the Academies of painting and sculpture, and architecture were founded, architecture and the visual arts have been a central concern of the French state. Today, the Ministry of Culture is housed in the elegant seventeenth-century Palais-Royal, alongside two of the nation's highest institutions, the Conseil Constitutionnel and the Conseil d'Etat, exemplifying the belief of Catherine Trautmann, the culture minister from 1997 to 2000, that 'culture is at the heart of our democratic system.' This sentiment echoes the aims of her predecessors who include de Gaulle's post-war minister Andre Malraux and Mitterrand's innovative and daring minister, Jack Lang, both of whom wanted to enrich the lives of ordinary citizens.

資料處理概要

下載:題目

官方不公布申論答案

代號:

41630

44530

頁次:

1 - 1

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

科:統計、資訊處理

目:資料處理概要

考試時間:

1 小時 30 分

※注意:

 禁止使用電子計算器。

SELECT Name, Address, PhoneNumber

FROM Student

WHERE ClassYear IN

( SELECT ClassYear

FROM Student

WHERE Name = ' 王小明 ' AND PhoneNumber = '0123-456789' ) ;

座號:

計算機概要

下載:題目 答案

代號:

6445

頁次:

4 - 1

科: 資訊處理

科 目:

計算機概要

考試時間:

1 小時

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

科 目:

計算機概要

考試時間:

1 小時

座號:

※注意:

 控制危障( control hazard )

14 假設以 16 個位元和 2 的補數( 2's complement )表示法來表示數字,則所能表示的整數範圍為?  -32767 到 32767  -32768 到 32768  -32768 到 32767  -32767 到 32768 15 若欲以 2-input NAND 閘來製作一個 2-input OR 閘的功能時,至少需要幾個 2-input NAND 閘?  2  3  4  5 16 在摩爾模型( Moore Model )的有限狀態機中,目前輸出的值與下列何者有關?  目前的輸入值  目前的狀態  目前的輸入值與上一次的狀態  目前的輸入值與目前的狀態 17 布林函數式 (x+y)(x+z) 經化簡後,相當於下列那一項?  x+yz  xy+xz+yz  x+y'z'+yz  x'+yz 18 下列敘述何者錯誤?  多工器( multiplexer )是一種組合( combinational )邏輯電路  正反器( flip-flop )是一種雙穩態( bi-stable )的邏輯電路  計數器( counter )電路中所有的正反器都必須接相同的觸發訊號( triggering signal )  利用 8 對 1 多工器可以實現 3 個變數的任意布林函數 19 已知「 C 」的 ASCII 碼以十六進位表示為 43 ,則「 X 」的 ASCII 碼以八進位表示為何?  110  120  130  140 20 下列 C 程式執行後的輸出為何? #include <stdio.h> void fun(int *a, int b) { *a = *a + b; b++; } int main(void) { int a, b; a = b = 1; fun(&a, b); printf("%d, %d", a, b); return 0; }  1, 1  1, 2  2, 1  2, 2 21 下列是使用 C++ 語言撰寫的程式: #include <iostream> using namespace std; class Employee { public: void display(void) {} string name; }; class HourlyEmployee: private Employee { public: void display(void) {} private: double hours; }; int main(void) { // 程式加入點 return 0; } 下列那一個程式片段在加入 main 函式之後,編譯時會產生錯誤?  Employee p1; p1.display();  Employee p1; p1.name = "";  HourlyEmployee p1; p1.display();  HourlyEmployee p1; p1.name = "";

頁次:

4 - 3

def function(num):

print(num)

num = 5

print(num)

print(num)

function(num)

print(num)

 合併排序法( merge sort )最差狀況的時間複雜度是 θ (n 2 )

 插入排序法( insertion sort )平均狀況的時間複雜度是 θ (n log n)

 快速排序法( quick sort )最差狀況的時間複雜度是 θ (n 2 )

 堆積排序法( heap sort )最差狀況的時間複雜度是 θ (n 2 )

 用來指定程式中的每段程式碼及資料區域會放在記憶體中的那個地址

35

#include <sys/types.h> #include <stdio.h> #include <unistd.h> int i,j; main() { j=1; i=fork(); if (i<0) { printf("Error!\n"); } if (i) { j++; } else { j--; } printf("i=%d, j=%d\n",i,j); }

i=516, j=2 i=0, j=0

i=517, j=2 i=0, j=0

使用者介面殼層(

shell

 工作排程器( scheduler )

 檔案系統( file system )

 驅動程式( device drivers )

associative memory

關聯式記憶體(

)和一般隨機存取記憶體(

RAM

),最主要的差異是下列何者?

程式設計概要

下載:題目

官方不公布申論答案

代號:

44550

頁次:

4 - 1

科:資訊處理

目:程式設計概要

考試時間:

1 小時 30 分

※注意:

 禁止使用電子計算器。

1 2 public class PreStars 3 { 4 public static void main(String[] args) 5 { 6 for (int i=1; i<=5; i++) { 7 for (int j=1; j<=i; j++) 8 System.out.print('*'); 9 System.out.println(); 10 } 11 } 12 } ********** ********* ******** ******* ****** ***** **** *** ** *

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

座號:

二、下列為 Reverse class 的程式規範與其執行結果,試以遞迴( recursive ) 的方式完成副程式 reverse(int[] arr, int x) ,撰寫時,必須使用相同的參數 名稱與資料型態。 reverse(int[] arr, int x) 會回傳一個倒過來擺置的整數 串: arr[n-1], arr[n-2], … arr[x+1], arr[x] ,假設 arr 內共有 n 個元素,而 且 x <= n 。 ( 25 分) 2 public class Reverse 3 { 4 public static String reverse(int[] arr, int x) 5 { 6 7 } 8 9 public static void main(String[] args) 10 { 11 int[] intArr = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; 12 String results = reverse(intArr, 2); 13 System.out.println(results); 14 System.out.println(reverse(intArr, 7)); 15 } 16 } 10 9 8 7 6 5 4 3 10 9 8 三、下列 Python 程式的執行結果為何?( 15 分) list = [2,2,3,7,7,7,9,9,10,10] count = 1 current = list[0] for i in list: if i > current : list[count] = i count += 1 current = i last = len(list) if last > count: for i in range(count, last): list.pop() print("count = ", count) print("list = ", list)

四、數學中複數是實數的延伸,複數通常表示為 a+bi 或 (a, b) ,其中 a, b 為實 數,分別稱為複數的實部與虛部, i 為虛數單位,且 i 2 =-1 。複數的加、 減、乘、除運算定義如下: (a+bi)+(c+di) = (a+c)+(b+d)i (a+bi)-(c+di) = (a-c)+(b-d)i (a+bi)*(c+di) = (ac-bd)+(ad+bc)i (a+bi)/(c+di) = ((ac+bd)/(c 2 +d 2 ))+((bc-ad)/(c 2 +d 2 )) 試參考以下程式回答問題: ( 35 分)  此程式的列印結果為何?  利用 add() ,在 ComplexTest.java 中加入一行程式以印出 'x + y = (3.0, 3.0)'  於 Complex.java 中撰寫 public Complex division ( Complex right ) 回傳資料型態與參數命名必須分別為 Complex 與 right 。  利用 division() ,在 ComplexTest.java 中算出 y=(2, 2) 的倒數 (如果 y'*y=1 則稱 y' 為 y 的倒數) ,並列印出有意義的訊息。  撰寫 public String standardForm() 以印出複數的另一表示法 a+bi 。注意 0.0+bi 要表示為 bi ; a+0.0i 要表示為 a ; a+1.0i 要表示為 a+i 。 2 public class Complex 3 { 4 private double real; 5 private double imaginary; 6 7 public Complex() 8 { 9 this(0.0, 0.0); 10 } 11 public Complex(double r, double i) 12 { 13 real = r; 14 imaginary = i; 15 } 16 public Complex add(Complex right) 17 { 18 return new Complex(real + right.real, 19 imaginary + right.imaginary);

20 } 21 public Complex subtract(Complex right) 22 { 23 return new Complex(real - right.real, 24 imaginary - right.imaginary); 25 } 26 public String toString() 27 { 28 return String.format("(%.1f, %.1f)", real, imaginary); 29 } 30 } // end class Complex 2 public class ComplexTest 3 { 4 public static void main(String[] args) 5 { 6 Complex x = new Complex(1, 1); 7 Complex y = new Complex(2, 2); 8 9 System.out.printf("x = %s%n", x.toString()); 10 System.out.printf("y = %s%n", y); 11 } 12 } // end class ComplexTest

資訊管理與資通安全概要

下載:題目

官方不公布申論答案

代號:

44520

頁次:

1 - 1

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

科:資訊處理

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

考試時間:

1 小時 30 分

座號:

※注意:

 禁止使用電子計算器。

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