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內數值的總和
15 questions
ELE A 數據庫 CH01
Quiz
•
10th - 12th Grade
15 questions
quiz1
Quiz
•
10th Grade
19 questions
S09.1+09.2 电子商务的定义+模式
Quiz
•
10th Grade
20 questions
11900系發101-120
Quiz
•
9th - 12th Grade
20 questions
數概(2)-Ch11(課本+習作)
Quiz
•
10th Grade
20 questions
11900程41-60
Quiz
•
9th - 12th Grade
20 questions
系统单元
Quiz
•
9th - 12th Grade
22 questions
ICT 2122單元一 電腦時代︰電腦的發展史
Quiz
•
9th - 12th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
25 questions
Spanish preterite verbs (irregular/changed)
Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance
Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1
Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope
Quiz
•
10th Grade
20 questions
Figurative Language Review
Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes
Quiz
•
9th - 12th Grade