阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
> 試題詳解
62. Polymorphism is implemented through:
(A) Non-const functions.
(B) Member functions.
(C) Non-virtual functions.
(D) virtual functions and dynamic binding.
(E) inline functions.
答案:
登入後查看
統計:
A(0), B(0), C(1), D(5), E(0) #3081392
詳解 (共 1 筆)
Jane Yen
B1 · 2023/06/11
#5843164
多型性是透過哪種方式實現的? (A) 非...
(共 347 字,隱藏中)
前往觀看
0
0
相關試題
63. A copy constructor must receive its argument by reference instead of by value because: (A) Otherwise the constructor will only make a copy of a pointer to an object. (B) The copy of the argument passed by value has function scope. (C) The pointer needs to know the address of the original data, not a temporary copy of it. (D) Otherwise infinite recursion occurs. (E) Otherwise the constructor will never be called.
#3081393
64.What will be the output of the following program? (A) i=1,j=2 (B)i=2, j=1 (C) i=1, j=1 (D) i=2, j=2 (E) i=0, j=0
#3081394
65. Which of the following conditions correctly describes the output of this code in Python? (A) first=[1,2,3,4,5],second=[1,2,3,4,5,6] (B) first=[1,2,3,4,5,6] ,second = [1,2,3,4,5] (C) first=[1,2,3,4,5] ,second = [1,2,3,4,5] (D) first=[1,2 ,3,4,5,6] , second = [1,2,3,4,5,6] (E) None of these
#3081395
66. The definition char stringl[] = "bird" ;is equivalent to: (A)(B)(C) (D) (E)
#3081396
67. Consider the following C code fragment: What output will be generated? (A) 25 62 (B) 25 62 155 (C) 2562.5 (D) 25 62.5 156.25 (E) None of the above
#3081397
68. Call-by-reference can achieve the security of call-by-value when: (A) A large argument is passed in order to improve performance. (B) A pointer to the argument is used. (C) The const qualifier is used. (D) The value being passed is small. (E) The argument is an array.
#3081398
69. student is a base class and TA is a derived class, with a redefined non-virtual coding function. Given the following statements, will the output of the two coding function calls be identical? (A) It depends on the implementation of the coding function. (B) It depends on the value of object t. (C) Yes. (D) Yes, if coding is a static function. (E) No.
#3081399
70. The array subscript operator [ ], when overloaded, cannot: (A) Be used with linked list classes. (B) Take multiple values inside (e.g. [4,8]). (C) Take a double as an operand. (D) Take user-defined objects as operands. (E) None of the above.
#3081400
71. Which of the following arithmetic is not allowed on pointers? (A) Adding an integer to a pointer. (B) Subtracting an integer from a pointer. (C) Subtracting one pointer from another. (D) Comparing pointers by using <. (E) None of the above.
#3081401
72. What is the output of this code in Python? (A) 3(B) 8(C)11(D) 38 (E) None of these
#3081402
相關試卷
114年 - 114 學士後醫學系招生考試試題:計算機概論與程式設計#137105
2025 年 · #137105
113年 - 113 學士後醫學系招生考試試題:計算機概論與程式設計#119574
2024 年 · #119574
112年 - 112 學士後醫學系招生考試試題:計算機概論與程式設計#137106
2023 年 · #137106
111年 - 111 學士後醫學系招生考試試題:計算機概論與程式設計#137107
2022 年 · #137107
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
2022 年 · #113521
111年 - 111 學士後醫學系招生考試:計算機概論與程式設計#107630
2022 年 · #107630
110年 - 110 學士後_醫學系︰計算機概論與程式設計#100246
2021 年 · #100246
109年 - 109 高雄醫學大學_學士後醫學系招生考試:計算機概論與程式設計#86938
2020 年 · #86938