30. 編寫了程式源碼後,根據解難程序,應執行下列哪項?
(1)概述問題的輸入和輸出的要求。
(2)以邊際個案來測試此程式。
(3)界定問題範圍。
2122 EXAM Paper 1A
Quiz
•
Computers
•
10th Grade
•
Medium
Ming Pui
Used 8+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
30. 編寫了程式源碼後,根據解難程序,應執行下列哪項?
(1)概述問題的輸入和輸出的要求。
(2)以邊際個案來測試此程式。
(3)界定問題範圍。
只有(1)
只有(1)和(3)
只有(2)
只有(2)和(3)
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
下列算法的輸出是什麼?
10
4
2
6
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
下列算法的輸出是什麼?
1001
110
10
101
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
age 是整數變量,而 IsStudent 是布爾變量。
下列哪些布爾算式,會產生相同結果?
(1) (age < 25) AND (IsStudent = TRUE)
(2) NOT((age >= 25) OR (IsStudent = FALSE))
(3) (age > 25) OR (IsStudent = TRUE)
(1)、(2)和(3)
只有(1)和(2)
只有(2)和(3)
只有(1)和(3)
5.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
N 是一個陣列,而N[1]、N[2]、N[3]和N[4] 分別儲存了 1,3,5,7。
下列算法的輸出是什麼?
5
6
4
7
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
細閱下列語句:
如果 NOT (X>30 OR (Y AND Z) )
則輸出 '***'
下列哪個 X、Y和Z值的組合,會使'***'顯示出來?
TRUE代表「真」,而 FALSE代表「假」。
X=40
Y=FALSE
Z=FALSE
X=50
Y=FALSE
Z=TRUE
X=30
Y=FALSE
Z=FALSE
X=20
Y=TRUE
Z=TRUE
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
A是一個陣列,
以A[1],A[2],...,A[N] 儲存N個非零的數值。
以下算法的目的是什麼?
當 K <= N-1 時,互換A[K]和A[K+1]的數值
將P的值增加1
移除A內第P個數值
計算A內數值的總和
20 questions
112年度一般人員資通安全通識教育訓練測驗
Quiz
•
9th - 12th Grade
24 questions
S01.1数据资讯知识
Quiz
•
6th Grade - University
20 questions
校園文化 三年級 Windows10電腦入門
Quiz
•
3rd Grade - University
19 questions
Computer Basics Quiz
Quiz
•
10th Grade
20 questions
11900程101-120
Quiz
•
9th - 12th Grade
16 questions
2020学年极客争霸赛-第三回合
Quiz
•
10th Grade
23 questions
HKDSE ICT 資訊處理簡介 CHP 1 - 3
Quiz
•
10th - 12th Grade
20 questions
11900系發01-20
Quiz
•
9th - 12th Grade
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology
Quiz
•
9th - 12th Grade
20 questions
Investing
Quiz
•
9th - 12th Grade