所屬科目:研究所、轉學考(插大)、學士後-計算機概論
(a) (2%) Universal gates
(b) (2%) Virtual memory
(c) (2%) File Control Block (FCB)
(d) (2%) DHCP
(e) (2%) Virtual IP
(a) (5%) Convert \( (\nabla \odot 5\oplus)_7 \) into the decimal system (10-based)
(b) (5%) Convert \( (1226)_{10} \) into the above 7-based system
3. (10%) Suppose that a list \( L \) of 8 integers 12, 5, 13, 7, 9, 14, 4, 8 are given. Please design a computing method (or algorithm) that determines if an integer \( k \) exists in \( L \). Return the position of \( k \) if it is found in \( L \) and -1 otherwise. State your algorithm in pseudocode or C/C++/Java.
4. (10%) Let \( A{mn} \) and \( B{nm} \) be two matrixes. Please write a pseudocode to compute \( A_{mn} \times B_{nm} \).
(a) (5%) What is an instruction cycle?
(b) (5%) Describe how a machine instruction is executed in a Von Neumann computer (hints: use CPU, MAR, MDR, PC, memory)
(a) (2%) &x
(b) (2%) &xPtr
(c) (2%) *xPtr
(d) (2%) &*xPtr
(e) (2%) *x
7. (10%) What is call-by-value? What is call-by-reference? What are the differences between them?
8. (10%) What is the content of the variable "number" after executing the following C program?
9. (10%) The IP protocol identifies and classifies the machines connected to the Internet. Please state how "class C" IP's are defined?
10. (10%) What is netmask? How does netmask operate in an IP-based network?