中山大學(後西醫)
111年
計算機概論與程式設計
111年中山大學(後西醫) — 計算機概論與程式設計
共 90 題 · 含 AI 詳解
-
#1
Which of the following is the binary representation of (6.625)10?
›
#2
If you have a disk that has a capacity of Petabyte (PB), that is equal to
›
#3
How many bits in length are used for IP address in IPv4?
›
#4
Which of the following statement about the Unicode is not true?
›
#5
Three security goals are ______.
›
#6
If the longest path in a binary tree contained exactly four nodes, what is the m…
›
#7
Which of the following data structures is static in the sense that it does not c…
›
#8
Which one of the following is NOT the characteristic of TCP protocol?
›
#9
Which of the following methods is suitable for preventing the falsification of m…
›
#10
The digital transformation of smart medical has always been a hot topic and paid…
›
#11
Which of the following is used to store the instruction currently being executed…
›
#12
x = 01001010, y = 11001100. What is the Hamming distance between x and y?
›
#13
Which one of the following is an unsupervised learning method?
›
#14
(a) System Program, (b) Application Program, (c) Operating System, and (d) CPU,…
›
#15
Which of the following statement about GPU is not true?
›
#16
If the function `int volume(int x = 1,int y = 1,int z = 1);` is called by the ex…
›
#17
If a=1.0, b=6.0 and c=4.0, then what is printed by `printf("%.2f", sqrt(a+b*c));…
›
#18
Which of the following C code is used to declare a two-dimensional array of inte…
›
#19
What is the output of the following statements? ```c int x = 3; switch(x+1) { ca…
›
#20
Which following is the correct way to create a dictionary in Python?
›
#21
What is the output of this code in Python? ```python list = ['a', 'b', 'c', 'd',…
›
#22
What does the following Python program fragment do? ```python s=0 for i in range…
›
#23
Which of the following statements about the format specifier for `printf()` func…
›
#24
Consider an array declaration `int data[5]={1,2,3,4,5};` in C. What is the value…
›
#25
Which of the following C code is used to declare two pointers of integer?
›
#26
Which of the following code could not be used to ignore all remaining characters…
›
#27
What is the output of the following program? ```c int a[10] = {3,2,3,4,5,4,7,1,3…
›
#28
What is the output of this code in python? ```python r = lambda q: q * 2 s = lam…
›
#29
What is the output of this code in C++? ```cpp #include<iostream> using namespac…
›
#30
Assuming that `t` is an array and `tPtr` is a pointer to that array, which expre…
›
#31
Which of the following network attacks is threatening integrity?
›
#32
Which of the following is NOT a necessary condition for deadlock?
›
#33
Which one of the following operations is not performed by ALU (Arithmetic/Logic…
›
#34
What is the smallest negative number using 1’s complement in a 64-bits computer?
›
#35
The widest range of free software licenses available under license terms approve…
›
#36
Which of the following is an appropriate statement about the Python language?
›
#37
Which of the following statement about recursive functions is true?
›
#38
Given a row-major array A(i,j) is defined as $-2 \le i \le 6, -6 \le j \le -2$,…
›
#39
According to Amdahl's Law, what is the speedup gain for an application that is 6…
›
#40
Given the relation below X: A B C 2 5 7 3 3 6 4 4 2 6 2 2 what values will be re…
›
#41
Which of the following bit patterns violates odd parity check?
›
#42
Which one of the following is a loopback address?
›
#43
Which one of the following is NOT considered as a basic concept in object-orient…
›
#44
An image can be represented in HSV color space. Here ‘V’ means
›
#45
In machine learning, when the result of testing error is significantly larger th…
›
#46
Which of the following statements is incorrect for the transport layer?
›
#47
Which of the following statements is incorrect for the Ransomware? (a) It is a t…
›
#48
Which of the following data structures is in LIFO (Last In First Out) order?
›
#49
If users including individuals, organizations, and enterprises can obtain comput…
›
#50
In application layer protocols including HTTP, SMTP, and FTP, what mechanism is…
›
#51
Assume the execution time of a running program is $50(\log n^2) + 8$, then what…
›
#52
According to the definition of the major topics of information ethics, "When can…
›
#53
Which of the following statement is not the responsibility of an operation syste…
›
#54
Which of the following data type conversion may result in data loss?
›
#55
Which of the following statement is true?
›
#56
Which of the following is NOT essential for a time-sharing operating system?
›
#57
Which of the following definition is not true?
›
#58
Which one of the following methods is NOT considered as a solution for preventin…
›
#59
Given a postfix expression is `abcde*-*fg/+=`, where b=2, c=3, d=4, e=5, f=6, an…
›
#60
Which of the following statement about sorting algorithm is not true?
›
#61
Which of the following is not a correct way to initialize an array?
›
#62
Polymorphism is implemented through:
›
#63
A copy constructor must receive its argument by reference instead of by value be…
›
#64
What will be the output of the following program? ```c #include <stdio.h> void s…
›
#65
Which of the following conditions correctly describes the output of this code in…
›
#66
The definition `char string1[] = "bird";` is equivalent to:
›
#67
Consider the following C code fragment: ```c int i=10; do { printf("%d ", i*=2.5…
›
#68
Call-by-reference can achieve the security of call-by-value when:
›
#69
`Student` is a base class and `TA` is a derived class, with a redefined non-`vir…
›
#70
The array subscript operator `[]`, when overloaded, cannot:
›
#71
Which of the following arithmetic is not allowed on pointers?
›
#72
What is the output of this code in Python? ```python L1 = [] L1.append([1, [2, 3…
›
#73
What expression should be in "AAA"?
›
#74
What expression should be in "BBB"?
›
#75
What expression should be in "CCC"?
›
#76
What will be the declaration of the following requirements? (i.) An array of 10…
›
#77
Which of the following gives the number of elements in the array `int a[]`?
›
#78
Consider the following function and code segment. ```cpp void me( int x, int & y…
›
#79
Assume this code fragment is embedded in an otherwise correct and complete progr…
›
#80
Consider the following C code fragment: ```c int x=38; int *p=&x; ``` Which of t…
›
#81
Which of the following C statements is incorrect?
›
#82
Suppose the output of the following C code fragment is 0xffff00003a04: ```c int…
›
#83
If the line: `friend class A;` appears in class B, and the line: `friend class B…
›
#84
Since the postfix increment operator returns objects by value and the prefix inc…
›
#85
`virtual` destructors must be used when:
›
#86
What should be filled in the following blanks if we want to print `{0: [90, 'Ali…
›
#87
What is the output of the following Python code? `print([(a,b) for a in range(3)…
›
#88
Consider the recursive function, ```cpp int fun1(int n) { if (1==n) return 1; el…
›
#89
Consider the following C code fragment: ```c char *str1="Hello"; char str2[]={'W…
›
#90
Consider the following C++ code fragment: ```cpp int &max(int &a, int &b) { if(a…
›