APCS10510-4

APCS10510-4

10th Grade - University

5 Qs

Similar activities

scratch

scratch

11th - 12th Grade

10 Qs

C++ 變數/輸入/輸出

C++ 變數/輸入/輸出

11th Grade

10 Qs

2223_S4_ICT_T2_exam_exercise_1-10

2223_S4_ICT_T2_exam_exercise_1-10

9th - 12th Grade

10 Qs

Concept of Computer Network

Concept of Computer Network

University

10 Qs

Operation System

Operation System

10th - 12th Grade

10 Qs

GitHub

GitHub

University

5 Qs

基礎題目

基礎題目

10th Grade

10 Qs

Ch09-Main Memory_part1

Ch09-Main Memory_part1

University

10 Qs

APCS10510-4

APCS10510-4

Assessment

Quiz

Created by

劉怡萱 劉怡萱

Computers

10th Grade - University

1 plays

Hard

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

Media Image

k > 2

k > 1

k > 0

k > -1

3.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

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

Media Image

19. 下列程式碼是自動計算找零程式的一部分,程式碼中三個主要變數分別為Total(購買總額),Paid (實際支付金額),Change(找零金額)。但是此程式片段有冗餘的程式碼,請找出冗餘程式碼的區塊。

冗餘程式碼在 A 區

冗餘程式碼在 B 區

冗餘程式碼在 C 區

冗餘程式碼在 D 區

5.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Media Image

20. 右側程式執行後輸出為何?

0

10

25

50