10603-01 給定一個 1x8的 陣列 A,A = {0, 2, 4, 6, 8, 10, 12, 14} 。右側函式Search(x) 真正 目的是找到 A 之中大於 x的最小值。然而,這個 函式有 誤。 請問下列哪個函式呼叫可測出函式有誤?

小考五:陣列三(10603)

Quiz
•
Computers
•
10th Grade
•
Hard
yvonne liao
Used 1+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Search (-1)
Search (0)
Search (10)
Search (16)
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
10603-05 若 A 是一個 可儲存 n筆整數的陣列,且資料儲存於A[0]~A[n-1] 。 經過右側程式碼運算後,以下何者敘述不一定正確?
p 是 A 陣列資料中的最大值
q 是 A 陣列資料中的最小值
q < p
A[0] <= p
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
10603-06 若 A[][] 是一個 MxN的整數陣列,右側程式片段用以計算 A陣列每一列的總和,以下敘述何者正確?
第一列總和是正確,但其他列總和不一定正確
程式片段在執行時 會產生 錯誤 (run-time error)
程式片段中 有語法 上的 錯誤
程式片段會完成執行並正確印出每一列的總和
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
10603-09 右側 F() 函式執行時,若輸入依序為整數 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,請問 X[] 陣列的元素值依順序為何?
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
2, 0, 2, 0, 2, 0, 2, 0, 2, 0
9, 0, 1, 2, 3, 4, 5, 6, 7, 8
8, 9, 0, 1, 2, 3, 4, 5, 6, 7
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
10603-11 若 A[1] 、 A[2],和 A[3] 分別為陣列 A[]的三個元素 (element),下列那個程式片段可以將 A[1]和 A[2] 的內容交換?
A[1] = A[2];
A[2] = A[1];
A[3] = A[1];
A[1] = A[2];
A[2] = A[3];
A[2] = A[1];
A[3] = A[2];
A[1] = A[3];
以上皆可
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
10603-19 右側程式擬找出陣列 A[] 中的最大值和最小值。不過,這段程式碼有誤,請問 A[] 初始值如何設定就可以測出程式有誤?
{90, 80, 100}
{80, 90, 100}
{100, 90, 80}
{90, 100, 80}
Similar Resources on Quizizz
10 questions
顺序结构复习

Quiz
•
10th Grade
10 questions
0610-Microbit

Quiz
•
9th - 12th Grade
10 questions
3-1資料處理

Quiz
•
7th Grade - University
10 questions
雲端從業人員Module 6 知識點檢查

Quiz
•
9th - 12th Grade
10 questions
Arduino LCD I2C模組使用教學

Quiz
•
9th - 12th Grade
10 questions
2223_S4_ICT_T2_exam_exercise_11-20

Quiz
•
9th - 12th Grade
10 questions
台中市三年級資訊2-02數位學習高手-01主動學習樂

Quiz
•
3rd - 12th Grade
10 questions
每日一ICT 14/11/2022-27/11/2022

Quiz
•
10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade