16. 右列程式片段中,假設a,a_ptr 和 a_ptrptr 這三個變數都有
被正確宣告,且呼叫 G()函式時的參數為 a_ptr 及 a_ptrptr。
G()函式的兩個參數型態該如何宣告?
APCS10510-4
Quiz
•
Computers
•
10th Grade - University
•
Hard
劉怡萱 劉怡萱
Used 1+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
16. 右列程式片段中,假設a,a_ptr 和 a_ptrptr 這三個變數都有
被正確宣告,且呼叫 G()函式時的參數為 a_ptr 及 a_ptrptr。
G()函式的兩個參數型態該如何宣告?
(a) *int
(b) *int
(a) *int
(b) **int
(a) int*
(b) int*
(a) int*
(b) int**
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
k > 2
k > 1
k > 0
k > -1
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
18. 給定右側G()函式,執行G(1)後所輸出的值為何?
1 2 3
1 2 3 2 1
1 2 3 3 2 1
以上皆非
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
19. 下列程式碼是自動計算找零程式的一部分,程式碼中三個主要變數分別為Total(購買總額),Paid (實際支付金額),Change(找零金額)。但是此程式片段有冗餘的程式碼,請找出冗餘程式碼的區塊。
冗餘程式碼在 A 區
冗餘程式碼在 B 區
冗餘程式碼在 C 區
冗餘程式碼在 D 區
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
20. 右側程式執行後輸出為何?
0
10
25
50
10 questions
0610-Microbit
Quiz
•
9th - 12th Grade
10 questions
3-1資料處理
Quiz
•
7th Grade - University
10 questions
0610- Python
Quiz
•
9th - 10th Grade
10 questions
控制工程實驗---1
Quiz
•
University
10 questions
C Programing --- chapter 4---1
Quiz
•
University
10 questions
Arduino LCD I2C模組使用教學
Quiz
•
9th - 12th Grade
10 questions
Py02
Quiz
•
10th Grade
10 questions
11202_曙光女中_資訊科技
Quiz
•
10th 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
67 questions
Course Recap Ptho May25
Quiz
•
University
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
6 questions
Railroad Operations and Classifications Quiz
Quiz
•
University