阿摩線上測驗
登入
首頁
>
學士後西醫◆計算機概論與程式設計
>
111年 - 111 國立中山大學_學士後醫學系招生考試:計算機概論與程式設計#113521
> 試題詳解
28. What is the output of this code in python?
(A) 2
(B)
(C) 6
(D) 12
(E) 24
答案:
登入後查看
統計:
A(0), B(0), C(0), D(0), E(6) #3081358
詳解 (共 1 筆)
Jane Yen
B1 · 2025/03/21
#6341940
這段Python代碼涉及了lambda函...
(共 429 字,隱藏中)
前往觀看
0
0
其他試題
24. Consider an array declaration 「int data [5]=(1,2,3, 4,5) ; in C.What is the value of data[5]? (A) 0 (B) 5 (C) 6 (D) 12345 (E) None of the above
#3081354
25. Which of the following C code is used to declare two pointers of integer? (A) int *p,q; (B) int *p, *a; (C) int *(p,q) ; (D) (int *) p,g; (E) None of the above
#3081355
26. Which of the following code could not be used to ignore all remaining characters in the current input line? (A) do {scanf("%c", &ch);} while (ch !='ln'); (B) do {ch = getchar();} while (ch !=' (n') ; (C) while ((ch=getchar())!='In') ; (D) while (getchar()!=' In') ; (E) None of the above.
#3081356
27. What is the output of the following program? (A)3(B)1(C)2(D)4(E)5
#3081357
29. What is the output of this code in C++? (A)(B)(C) Derived's constructor called (D)Compile error(E) None of the above
#3081359
30. Assuming that t is an array and tptr is a pointer to that array, which expression refers to the address of element 5 of the array? (A) *(tPtr+5) (B) tptr[5] (C) t+5 (D) *(t+5) (E) &t[5]
#3081360
31. Which of the following network attacks is threatening integrity? (A) Man-in-the-middle (B) Denial of service (C) Packet sniffing (D) Keylogger (E) SYN Nlood attack
#3081361
32. Which of the following is NOT a necessary condition for deadlock? (A) Circular wait (B) Convey effect (C) Hold and wait (D) Mutual exclusion (E) No preemption
#3081362
33. Which one of the following operations is not performed by ALU (Arithmetic/Logic Unit) (A) AND (B) OR (C) Circular shift (D) Jump(E) Addition
#3081363
34. What is the smallest negative number using 1's complement in a 64-bits computer? (A)-263 (B)-(263-1) (C) -264 (D) -(264-1) (E) None of the above
#3081364