所屬科目:研究所、轉學考(插大)、學士後-計算機概論
1. (10%) What are the purposes of the Internet Protocol (IP) addresses?
2. (10%) Write C/C++ or Java code to swap two integer numbers.
3. (10%) What is man-in-the-middle attack?
4. (10%) What are the purposes of firewall?
5. (10%) Please draw the von Neumann Architecture and describe the Von Neumann bottleneck.
6. (10%) Convert decimal number 111 and -90 into binary.
7. (20%) The sequence of Fibonacci numbers can be defined by the recurrence relation \[ F_n = F_{n-1} + F_{n-1}, \] where \( F_0 = 0, F_1 = 1, \) and \( n \ge 2 \) Please write C/C++ or JAVA code that can compute the sequence of Fibonacci numbers under any argument of n.
8. (20%) Please use “for loop“ to implement a function that can print the following shape.