wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

演算表的基本概念

Total questions: 20

Worksheet time: 11mins

Name
Class
Date
1.

演算法的主要目的是什麼?

a)

創建圖形

b)

解決問題

c)

存儲數據

d)

設計網站

2.

以下哪一項不是表示演算法的方法?

a)

虛擬代碼

b)

流程圖

c)

電子表格

d)

文字

3.

流程圖代表什麼?

a)

資料庫結構

b)

資料儲存

c)

解決方案的步驟和邏輯

d)

使用者介面設計

4.

哪一種結構按順序執行步驟?

a)

條件結構

b)

選擇結構

c)

重複結構

d)

順序結構

5.

選擇結構的範例是什麼?

a)

Do...while

b)

While loop

c)

If...then...else

d)

For loop

6.

在單選結構中,如果條件為假,會發生什麼?

a)

發生錯誤

b)

語句不執行

c)

語句執行

d)

程序停止

7.

雙重選擇結構的特徵是什麼?

a)

不檢查任何條件

b)

根據條件有兩個可能的結果

c)

同時檢查多個條件

d)

僅檢查一個條件

8.

多重選擇結構的作用是什麼?

a)

僅檢查一個條件

b)

按順序檢查多個條件

c)

重複單一動作

d)

結束程式

9.

What is an example of a multiple selection structure?

多重選擇結構的範例是什麼?

a)

If condition is true, execute statement

如果條件為真,則執行語句

b)

If it rains, stay home; else, go out

如果下雨,請待在家裡;否則,出去

c)

If the purchase amount exceeds 3,000, you can enjoy different discounts

如果購物金額滿3000以上可享不同折扣

d)

If score is below 60, show fail

如果分數低於60,則顯示失敗。

10.

What does a repetition structure do?

重複結構有什麼作用?

a)

執行一次語句

Executes a statement once

b)

重複動作直到滿足條件

Repeats actions until a condition is met

c)

立即結束程序

Ends the program immediately

d)

檢查條件而不執行

Checks conditions without executing

11.

In the context of buying tickets, what does the repetition structure imply?

在買票的背景下,重複結構意味著什麼?

a)

門票售完一次

Tickets are sold once

b)

門票售完為止

Tickets are sold until none are left

c)

門票隨機出售

Tickets are sold randomly

d)

門票以價格出售

Tickets are sold based on price

12.

下列哪一項是結構化程式設計的基本結構?

Which of the following is a basic structure in structured programming?

a)

抽象結構

Abstract structure

b)

結構複雜

Complex structure

c)

順序結構

Sequential structure

d)

隨機結構

Random structure

13.

使用結構化程式設計的目的是什麼?

What is the purpose of using structured programming?

a)

讓程式碼變得更複雜

To make code more complex

b)

減少程式碼行數

To reduce the number of lines of code

c)

消除對演算法的需要

To eliminate the need for algorithms

d)

提高程式碼清晰度和組織性

To improve code clarity and organization

14.

下列何者最能描述流程圖

Which of the following best describes a flowchart?

a)

一種程式語言

A type of programming language

b)

演算法的視覺化表示

A visual representation of an algorithm

c)

一種編寫程式碼的方法

A way to write code

d)

一種儲存資料的方法

A method for storing data

15.

結構化程式設計包含哪三個基本結構

a)

循序

b)

選擇

c)

重複

d)

由上而下

16.

演算法是由許多步驟所組成,這些步驟具有以下特性?

a)

輸入/輸出

b)

明確性

c)

有限性

d)

有效性

17.

下列哪一個是決策判斷符號?

a)

b)

c)

d)

18.

下列哪一個是迴圈符號?

a)

b)

c)

d)

19.

下列哪一個是輸入/輸出符號?

a)

b)

c)

d)

20.

下列哪一個是開始/結束符號?

a)

b)

c)

d)